package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Scrollable/index.html
Module Wrappers.Scrollable
type t = [ `scrollable ] Gobject.objval from_gobject : 'a Gobject.obj -> tval set_vscroll_policy : t -> Gtk_enums.scrollablepolicy -> unitSets the `GtkScrollablePolicy`.
The policy determines whether vertical scrolling should start below the minimum height or below the natural height.
val set_vadjustment :
t ->
[ `adjustment | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the vertical adjustment of the `GtkScrollable`.
val set_hscroll_policy : t -> Gtk_enums.scrollablepolicy -> unitSets the `GtkScrollablePolicy`.
The policy determines whether horizontal scrolling should start below the minimum width or below the natural width.
val set_hadjustment :
t ->
[ `adjustment | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the horizontal adjustment of the `GtkScrollable`.
val get_vscroll_policy : t -> Gtk_enums.scrollablepolicyGets the vertical `GtkScrollablePolicy`.
val get_vadjustment :
t ->
[ `adjustment | `initially_unowned | `object_ ] Gobject.obj optionRetrieves the `GtkAdjustment` used for vertical scrolling.
val get_hscroll_policy : t -> Gtk_enums.scrollablepolicyGets the horizontal `GtkScrollablePolicy`.
val get_hadjustment :
t ->
[ `adjustment | `initially_unowned | `object_ ] Gobject.obj optionRetrieves the `GtkAdjustment` used for horizontal scrolling.
val get_border : t -> bool * [ `border ] Gobject.objReturns the size of a non-scrolling border around the outside of the scrollable.
An example for this would be treeview headers. GTK can use this information to display overlaid graphics, like the overshoot indication, at the right position.