package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Tree_selection/index.html
Module Wrappers.Tree_selection
type t = [ `tree_selection | `object_ ] Gobject.objval unselect_range :
t ->
[ `tree_path ] Gobject.obj ->
[ `tree_path ] Gobject.obj ->
unitUnselects a range of nodes, determined by @start_path and @end_path inclusive.
val unselect_path : t -> [ `tree_path ] Gobject.obj -> unitUnselects the row at @path.
val unselect_iter : t -> [ `tree_iter ] Gobject.obj -> unitUnselects the specified iterator.
val unselect_all : t -> unitUnselects all the nodes.
val set_mode : t -> Gtk_enums.selectionmode -> unitSets the selection mode of the @selection. If the previous type was %GTK_SELECTION_MULTIPLE, then the anchor is kept selected, if it was previously selected.
val select_range :
t ->
[ `tree_path ] Gobject.obj ->
[ `tree_path ] Gobject.obj ->
unitSelects a range of nodes, determined by @start_path and @end_path inclusive. @selection must be set to %GTK_SELECTION_MULTIPLE mode.
val select_path : t -> [ `tree_path ] Gobject.obj -> unitSelect the row at @path.
val select_iter : t -> [ `tree_iter ] Gobject.obj -> unitSelects the specified iterator.
val select_all : t -> unitSelects all the nodes. @selection must be set to %GTK_SELECTION_MULTIPLE mode.
val path_is_selected : t -> [ `tree_path ] Gobject.obj -> boolReturns %TRUE if the row pointed to by @path is currently selected. If @path does not point to a valid location, %FALSE is returned
val iter_is_selected : t -> [ `tree_iter ] Gobject.obj -> boolReturns %TRUE if the row at @iter is currently selected.
val get_tree_view :
t ->
[ `tree_view | `widget | `initially_unowned | `object_ ] Gobject.objReturns the tree view associated with @selection.
val get_mode : t -> Gtk_enums.selectionmodeGets the selection mode for @selection. See gtk_tree_selection_set_mode().
val count_selected_rows : t -> intReturns the number of rows that have been selected in @tree.
val on_changed :
?after:bool ->
t ->
callback:(unit -> unit) ->
Gobject.Signal.handler_id