package ocgtk

  1. Overview
  2. Docs
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/Switch/class-switch/index.html

Class Switch.switch

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
inherit Ocgtk_gtk__.GActionable.actionable_t
method on_activate : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_state_set : ?after:bool -> callback:(state:bool -> bool) -> unit -> Gobject.Signal.handler_id
method get_active : unit -> bool
method get_state : unit -> bool
method set_active : bool -> unit
method set_state : bool -> unit
method as_switch : Ocgtk_gtk__.Switch.t