package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Cell_view/index.html
Module Wrappers.Cell_view
type t = [ `cell_view | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : unit -> tCreate a new CellView
val new_with_context :
[ `cell_area | `initially_unowned | `object_ ] Gobject.obj ->
[ `cell_area_context | `object_ ] Gobject.obj ->
tCreate a new CellView
val new_with_markup : string -> tCreate a new CellView
val new_with_text : string -> tCreate a new CellView
val new_with_texture : Ocgtk_gdk.Gdk.Wrappers.Texture.t -> tCreate a new CellView
val set_model : t -> [ `tree_model ] Gobject.obj option -> unitSets the model for @cell_view. If @cell_view already has a model set, it will remove it before setting the new model. If @model is %NULL, then it will unset the old model.
val set_fit_model : t -> bool -> unitSets whether @cell_view should request space to fit the entire `GtkTreeModel`.
This is used by `GtkComboBox` to ensure that the cell view displayed on the combo box’s button always gets enough space and does not resize when selection changes.
val set_draw_sensitive : t -> bool -> unitSets whether @cell_view should draw all of its cells in a sensitive state, this is used by `GtkComboBox` menus to ensure that rows with insensitive cells that contain children appear sensitive in the parent menu item.
val set_displayed_row : t -> [ `tree_path ] Gobject.obj option -> unitSets the row of the model that is currently displayed by the `GtkCellView`. If the path is unset, then the contents of the cellview “stick” at their last value; this is not normally a desired result, but may be a needed intermediate state if say, the model for the `GtkCellView` becomes temporarily empty.
val get_model : t -> [ `tree_model ] Gobject.obj optionReturns the model for @cell_view. If no model is used %NULL is returned.
val get_fit_model : t -> boolGets whether @cell_view is configured to request space to fit the entire `GtkTreeModel`.
val get_draw_sensitive : t -> boolGets whether @cell_view is configured to draw all of its cells in a sensitive state.
val get_displayed_row : t -> [ `tree_path ] Gobject.obj optionReturns a `GtkTreePath` referring to the currently displayed row. If no row is currently displayed, %NULL is returned.
val get_cell_area :
t ->
[ `cell_area | `initially_unowned | `object_ ] Gobject.objGet property: cell-area
val get_cell_area_context : t -> [ `cell_area_context | `object_ ] Gobject.objGet property: cell-area-context