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/Application/class-application/index.html

Class Application.application

inherit Ocgtk_gio.Gio.Application.application_t
method on_query_end : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_window_added : ?after:bool -> callback: (window:Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t -> unit) -> unit -> Gobject.Signal.handler_id
method on_window_removed : ?after:bool -> callback: (window:Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t -> unit) -> unit -> Gobject.Signal.handler_id
method add_window : Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t -> unit
method get_accels_for_action : string -> string array
method get_actions_for_accel : string -> string array
method get_active_window : unit -> Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t option
method get_menu_by_id : string -> Ocgtk_gio.Gio.Menu.menu_t option
method get_menubar : unit -> Ocgtk_gio.Gio.Menu_model.menu_model_t option
method get_window_by_id : int -> Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t option
method get_windows : unit -> Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t list
method inhibit : Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t option -> Ocgtk_gtk__.Gtk_enums.applicationinhibitflags -> string option -> int
method list_action_descriptions : unit -> string array
method remove_window : Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t -> unit
method set_accels_for_action : string -> string array -> unit
method set_menubar : Ocgtk_gio.Gio.Menu_model.menu_model_t option -> unit
method uninhibit : int -> unit
method register_session : bool
method set_register_session : bool -> unit
method screensaver_active : bool