package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Statusbar/index.html
Module Wrappers.Statusbar
type t = [ `statusbar | `widget | `initially_unowned | `object_ ] Gobject.objval new_ : unit -> tCreate a new Statusbar
val remove_all : t -> int -> unitForces the removal of all messages from a statusbar's stack with the exact @context_id.
val remove : t -> int -> int -> unitForces the removal of a message from a statusbar’s stack. The exact @context_id and @message_id must be specified.
val push : t -> int -> string -> intPushes a new message onto a statusbar’s stack.
val pop : t -> int -> unitRemoves the first message in the `GtkStatusbar`’s stack with the given context id.
Note that this may not change the displayed message, if the message at the top of the stack has a different context id.
val get_context_id : t -> string -> intReturns a new context identifier, given a description of the actual context.
Note that the description is not shown in the UI.
val on_text_popped :
?after:bool ->
t ->
callback:(context_id:int -> text:string -> unit) ->
Gobject.Signal.handler_idval on_text_pushed :
?after:bool ->
t ->
callback:(context_id:int -> text:string -> unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>