package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Cell_editable/index.html
Module Wrappers.Cell_editable
type t = [ `cell_editable ] Gobject.objval from_gobject : 'a Gobject.obj -> tval start_editing : t -> Ocgtk_gdk.Gdk.Wrappers.Event.t option -> unitBegins editing on a @cell_editable.
The `GtkCellRenderer` for the cell creates and returns a `GtkCellEditable` from gtk_cell_renderer_start_editing(), configured for the `GtkCellRenderer` type.
gtk_cell_editable_start_editing() can then set up @cell_editable suitably for editing a cell, e.g. making the Esc key emit `GtkCellEditable::editing-done`.
Note that the @cell_editable is created on-demand for the current edit; its lifetime is temporary and does not persist across other edits and/or cells.
val remove_widget : t -> unitEmits the `GtkCellEditable::remove-widget` signal.
val editing_done : t -> unitEmits the `GtkCellEditable::editing-done` signal.
val get_editing_canceled : t -> boolGet property: editing-canceled
val set_editing_canceled : t -> bool -> unitSet property: editing-canceled
val on_editing_done :
?after:bool ->
t ->
callback:(unit -> unit) ->
Gobject.Signal.handler_idval on_remove_widget :
?after:bool ->
t ->
callback:(unit -> unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>