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/Link_button/index.html
Module Wrappers.Link_button
type t =
[ `link_button | `button | `widget | `initially_unowned | `object_ ]
Gobject.objval new_ : string -> tCreate a new LinkButton
val new_with_label : string -> string option -> tCreate a new LinkButton
val set_visited : t -> bool -> unitSets the “visited” state of the `GtkLinkButton`.
See method@Gtk.LinkButton.get_visited for more details.
val set_uri : t -> string -> unitSets @uri as the URI where the `GtkLinkButton` points.
As a side-effect this unsets the “visited” state of the button.
val get_visited : t -> boolRetrieves the “visited” state of the `GtkLinkButton`.
The button becomes visited when it is clicked. If the URI is changed on the button, the “visited” state is unset again.
The state may also be changed using method@Gtk.LinkButton.set_visited.
val get_uri : t -> stringRetrieves the URI of the `GtkLinkButton`.
val on_activate_link :
?after:bool ->
t ->
callback:(unit -> bool) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>