package lablgtk3
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=d4821cdbecf3ae374f20317d63e43fe58030c3ba9657b51a2e83e652197e8eac
sha512=83f0be38a1e21737de93f88b0adac15cdcc50cf712d773720b9bc1e8d8ffdb2c660d35840f25d326a42a9d4e6537e6cef466099bf72494196b2cc79977e703e3
doc/lablgtk3/GTree/index.html
Module GTree
Source
Tree and list widgets @gtkdoc gtk TreeWidget
New GtkTreeView/Model framework
Models
@gtkdoc gtk GtkTreeModel
class tree_sortable_signals : ([> `treesortable | `treemodel ] as 'a) Gtk.obj -> object ... end
@gtkdoc gtk GtkTreeSortable
@gtkdoc gtk GtkTreeSortable
Special value for the #set_sort_column_id
method of GTree.tree_sortable
.
@gtkdoc gtk GtkTreeStore
@gtkdoc gtk GtkTreeStore
@gtkdoc gtk GtkListStore
@gtkdoc gtk GtkListStore
Convenience function to map a caml list into a GTree.list_store
with a single column
@gtkdoc gtk GtkTreeModelSort
@gtkdoc gtk GtkTreeModelSort
@gtkdoc gtk GtkTreeModelFilter
Selection
@gtkdoc gtk GtkTreeSelection
The selection object for GTree.view
@gtkdoc gtk GtkTreeSelection
Views
@gtkdoc gtk GtkTreeViewColumn
A visible column in a GTree.view
widget @gtkdoc gtk GtkTreeViewColumn
val view_column :
?title:string ->
?renderer:(cell_renderer * (string * 'a column) list) ->
unit ->
view_column
@gtkdoc gtk GtkTreeViewColumn
@gtkdoc gtk GtkTreeView
A widget for displaying both trees and lists @gtkdoc gtk GtkTreeView
val view :
?model:model ->
?hadjustment:GData.adjustment ->
?vadjustment:GData.adjustment ->
?enable_search:bool ->
?fixed_height_mode:bool ->
?headers_clickable:bool ->
?headers_visible:bool ->
?reorderable:bool ->
?rules_hint:bool ->
?search_column:int ->
?tooltip_column:int ->
?border_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
view
@gtkdoc gtk GtkTreeView
Cell Renderers
type cell_properties = [
| `CELL_BACKGROUND of string
| `CELL_BACKGROUND_GDK of Gdk.color
| `CELL_BACKGROUND_SET of bool
| `HEIGHT of int
| `IS_EXPANDED of bool
| `IS_EXPANDER of bool
| `MODE of Gtk.Tags.cell_renderer_mode
| `VISIBLE of bool
| `WIDTH of int
| `XALIGN of float
| `XPAD of int
| `YALIGN of float
| `YPAD of int
]
type cell_properties_pixbuf = [
| cell_properties
| `PIXBUF of GdkPixbuf.pixbuf
| `PIXBUF_EXPANDER_CLOSED of GdkPixbuf.pixbuf
| `PIXBUF_EXPANDER_OPEN of GdkPixbuf.pixbuf
| `STOCK_DETAIL of string
| `STOCK_ID of string
| `STOCK_SIZE of Gtk.Tags.icon_size
]
type cell_properties_text = [
| cell_properties
| `BACKGROUND of string
| `BACKGROUND_GDK of Gdk.color
| `BACKGROUND_SET of bool
| `EDITABLE of bool
| `FAMILY of string
| `FONT of string
| `FONT_DESC of Pango.font_description
| `FOREGROUND of string
| `FOREGROUND_GDK of Gdk.color
| `FOREGROUND_SET of bool
| `MARKUP of string
| `RISE of int
| `SCALE of Pango.Tags.scale
| `SINGLE_PARAGRAPH_MODE of bool
| `SIZE of int
| `SIZE_POINTS of float
| `STRETCH of Pango.Tags.stretch
| `STRIKETHROUGH of bool
| `STYLE of Pango.Tags.style
| `TEXT of string
| `UNDERLINE of Pango.Tags.underline
| `VARIANT of Pango.Tags.variant
| `WEIGHT of Pango.Tags.weight
| `WRAP_MODE of Pango.Tags.wrap_mode
| `WRAP_WIDTH of int
]
type cell_properties_toggle = [
| cell_properties
| `ACTIVATABLE of bool
| `ACTIVE of bool
| `INCONSISTENT of bool
| `RADIO of bool
]
type cell_properties_combo = [
| cell_properties_text
| `MODEL of model option
| `TEXT_COLUMN of string column
| `HAS_ENTRY of bool
]
type cell_properties_accel = [
| cell_properties_text
| `KEY of Gdk.keysym
| `ACCEL_MODE of GtkEnums.cell_renderer_accel_mode
| `MODS of GdkEnums.modifier list
| `KEYCODE of int
]
@gtkdoc gtk GtkCellRenderer
class virtual ['a, 'b] cell_renderer_impl : ([> Gtk.cell_renderer ] as 'a) Gtk.obj -> object ... end
@gtkdoc gtk GtkCellRenderer
@gtkdoc gtk GtkCellRendererPixbuf
class cell_renderer_text_signals : ([> Gtk.cell_renderer_text ] as 'a) Gtk.obj -> object ... end
@gtkdoc gtk GtkCellRendererText
@gtkdoc gtk GtkCellRendererText
@gtkdoc gtk GtkCellRendererToggle
@gtkdoc gtk GtkCellRendererToggle
class cell_renderer_combo_signals : ([> Gtk.cell_renderer_combo ] as 'a) Gtk.obj -> object ... end
@gtkdoc gtk GtkCellRendererPixbuf
@gtkdoc gtk GtkCellRendererText
@gtkdoc gtk GtkCellRendererToggle
@gtkdoc gtk GtkCellRendererProgress
@gtkdoc gtk GtkCellRendererCombo
@gtkdoc gtk GtkCellRendererAccel
GtkIconView
@gtkdoc gtk GtkIconView
A widget which displays a list of icons in a grid @gtkdoc gtk GtkIconView
val icon_view :
?model:model ->
?columns:int ->
?orientation:GtkEnums.orientation ->
?selection_mode:GtkEnums.selection_mode ->
?border_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) ->
?show:bool ->
unit ->
icon_view
A widget which displays a list of icons in a grid @gtkdoc gtk GtkIconView
class virtual ['row, 'a, 'b, 'c] custom_tree_model : column_list -> [Gtk.tree_model_custom, 'row, 'a, 'b, 'c]
custom_tree_model_type
A base class to inherit from to make a custom tree model.