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/Window/class-window/index.html

Class Window.window

inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
inherit Ocgtk_gtk__.GNative.native_t
inherit Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.root_t
inherit Ocgtk_gtk__.GShortcut_manager.shortcut_manager_t
method on_activate_default : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_activate_focus : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_close_request : ?after:bool -> callback:(unit -> bool) -> unit -> Gobject.Signal.handler_id
method on_enable_debugging : ?after:bool -> callback:(toggle:bool -> bool) -> unit -> Gobject.Signal.handler_id
method on_keys_changed : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method close : unit -> unit
method destroy : unit -> unit
method fullscreen : unit -> unit
method fullscreen_on_monitor : Ocgtk_gdk.Gdk.Monitor.monitor_t -> unit
method get_application : unit -> Ocgtk_gtk__.GApplication_and__window_and__window_group.application_t option
method get_child : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_decorated : unit -> bool
method get_default_widget : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_deletable : unit -> bool
method get_destroy_with_parent : unit -> bool
method get_focus_visible : unit -> bool
method get_group : unit -> Ocgtk_gtk__.GApplication_and__window_and__window_group.window_group_t
method get_handle_menubar_accel : unit -> bool
method get_hide_on_close : unit -> bool
method get_icon_name : unit -> string option
method get_mnemonics_visible : unit -> bool
method get_modal : unit -> bool
method get_resizable : unit -> bool
method get_title : unit -> string option
method get_titlebar : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_transient_for : unit -> Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t option
method has_group : unit -> bool
method is_active : unit -> bool
method is_fullscreen : unit -> bool
method is_maximized : unit -> bool
method is_suspended : unit -> bool
method maximize : unit -> unit
method minimize : unit -> unit
method present : unit -> unit
method present_with_time : UInt32.t -> unit
method set_application : Ocgtk_gtk__.GApplication_and__window_and__window_group.application_t option -> unit
method set_child : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method set_decorated : bool -> unit
method set_default_size : int -> int -> unit
method set_default_widget : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method set_deletable : bool -> unit
method set_destroy_with_parent : bool -> unit
method set_display : Ocgtk_gdk.Gdk.Display.display_t -> unit
method set_focus_visible : bool -> unit
method set_handle_menubar_accel : bool -> unit
method set_hide_on_close : bool -> unit
method set_icon_name : string option -> unit
method set_mnemonics_visible : bool -> unit
method set_modal : bool -> unit
method set_resizable : bool -> unit
method set_startup_id : string -> unit
method set_title : string option -> unit
method set_titlebar : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method set_transient_for : Ocgtk_gtk__.GApplication_and__window_and__window_group.window_t option -> unit
method unfullscreen : unit -> unit
method unmaximize : unit -> unit
method unminimize : unit -> unit
method default_height : int
method set_default_height : int -> unit
method default_width : int
method set_default_width : int -> unit
method focus_widget : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t
method set_focus_widget : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> unit
method fullscreened : bool
method set_fullscreened : bool -> unit
method maximized : bool
method set_maximized : bool -> unit
method suspended : bool
method as_window : Ocgtk_gtk__.Application_and__window_and__window_group.Window.t