package lablgtk3
OCaml interface to GTK+3
Install
dune-project
Dependency
Authors
Maintainers
Sources
lablgtk3-3.1.5.tbz
sha256=d4821cdbecf3ae374f20317d63e43fe58030c3ba9657b51a2e83e652197e8eac
sha512=83f0be38a1e21737de93f88b0adac15cdcc50cf712d773720b9bc1e8d8ffdb2c660d35840f25d326a42a9d4e6537e6cef466099bf72494196b2cc79977e703e3
doc/lablgtk3/GEdit/index.html
Module GEdit
Source
Editable Widgets
GtkEditable
@gtkdoc gtk GtkEditable
Interface for text-editing widgets @gtkdoc gtk GtkEditable
GtkEntry & GtkEntryCompletion
Source
class entry_completion : ([> `entrycompletion | `celllayout ] as 'a) Gtk.obj -> object ... end
@gtkdoc gtk GtkEntry
A single line text entry field @gtkdoc gtk GtkEntry
Source
val entry :
?text:string ->
?visibility:bool ->
?max_length:int ->
?activates_default:bool ->
?editable:bool ->
?has_frame:bool ->
?width_chars:int ->
?xalign:float ->
?placeholder_text:string ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
entry
@gtkdoc gtk GtkEntry
Source
val entry_completion :
?model:GTree.model ->
?minimum_key_length:int ->
?entry:entry ->
unit ->
entry_completion
@gtkdoc gtk GtkEntryCompletion
GtkSpinButton
@gtkdoc gtk GtkSpinButton
Retrieve an integer or floating-point number from the user @gtkdoc gtk GtkSpinButton
Source
val spin_button :
?adjustment:GData.adjustment ->
?rate:float ->
?digits:int ->
?numeric:bool ->
?snap_to_ticks:bool ->
?update_policy:[ `ALWAYS | `IF_VALID ] ->
?value:float ->
?wrap:bool ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
spin_button
@gtkdoc gtk GtkSpinButton
GtkComboBox
Source
val combo_box :
?model:GTree.model ->
?active:int ->
?add_tearoffs:bool ->
?focus_on_click:bool ->
?entry_text_column:int ->
?has_entry:bool ->
?has_frame:bool ->
?wrap_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
combo_box
@gtkdoc gtk GtkComboBox
Convenience API simulating Gtk+ 2
Source
val combo_box_entry :
?model:GTree.model ->
?text_column:string GTree.column ->
?active:int ->
?add_tearoffs:bool ->
?focus_on_click:bool ->
?has_frame:bool ->
?wrap_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
combo_box_entry
Convenience API for text-only ComboBoxes
Source
val combo_box_text :
?strings:string list ->
?use_markup:bool ->
?active:int ->
?add_tearoffs:bool ->
?focus_on_click:bool ->
?entry_text_column:int ->
?has_entry:bool ->
?has_frame:bool ->
?wrap_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
combo_box text_combo
A convenience function for creating simple GEdit.combo_box
. Creates a simple GTree.list_store
with a single text column, adds strings
in it, creates a GTree.cell_renderer_text
and connects it with the model.
@gtkdoc gtk GtkComboBox
Source
val combo_box_entry_text :
?strings:string list ->
?active:int ->
?add_tearoffs:bool ->
?focus_on_click:bool ->
?has_frame:bool ->
?wrap_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
combo_box_entry text_combo
A convenience function. See GEdit.combo_box_text
@gtkdoc gtk GtkComboBoxEntry
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page