package ocgtk
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Revealer/index.html
Module Wrappers.Revealer
type t = [ `revealer | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : unit -> tCreate a new Revealer
val set_transition_type : t -> Gtk_enums.revealertransitiontype -> unitSets the type of animation that will be used for transitions in @revealer.
Available types include various kinds of fades and slides.
val set_transition_duration : t -> int -> unitSets the duration that transitions will take.
val set_reveal_child : t -> bool -> unitTells the `GtkRevealer` to reveal or conceal its child.
The transition will be animated with the current transition type of @revealer.
val set_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj option ->
unitSets the child widget of @revealer.
val get_transition_type : t -> Gtk_enums.revealertransitiontypeGets the type of animation that will be used for transitions in @revealer.
val get_transition_duration : t -> intReturns the amount of time (in milliseconds) that transitions will take.
val get_reveal_child : t -> boolReturns whether the child is currently revealed.
This function returns %TRUE as soon as the transition is to the revealed state is started. To learn whether the child is fully revealed (ie the transition is completed), use method@Gtk.Revealer.get_child_revealed.
val get_child_revealed : t -> boolReturns whether the child is fully revealed.
In other words, this returns whether the transition to the revealed state is completed.
val get_child :
t ->
[ `widget | `initially_unowned | `object_ ] Gobject.obj optionGets the child widget of @revealer.