package ocgtk

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Class Widget.widget

inherit Ocgtk_gtk__.GAt_context_and__accessible.accessible_t
inherit Ocgtk_gtk__.GBuildable.buildable_t
inherit Ocgtk_gtk__.GConstraint_target.constraint_target_t
method on_destroy : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_direction_changed : ?after:bool -> callback:(previous_direction:Ocgtk_gtk__.Gtk_enums.textdirection -> unit) -> unit -> Gobject.Signal.handler_id
method on_hide : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_keynav_failed : ?after:bool -> callback:(direction:Ocgtk_gtk__.Gtk_enums.directiontype -> bool) -> unit -> Gobject.Signal.handler_id
method on_map : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_mnemonic_activate : ?after:bool -> callback:(group_cycling:bool -> bool) -> unit -> Gobject.Signal.handler_id
method on_move_focus : ?after:bool -> callback:(direction:Ocgtk_gtk__.Gtk_enums.directiontype -> unit) -> unit -> Gobject.Signal.handler_id
method on_query_tooltip : ?after:bool -> callback: (x:int -> y:int -> keyboard_mode:bool -> tooltip: Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.tooltip_t -> bool) -> unit -> Gobject.Signal.handler_id
method on_realize : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_show : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_state_flags_changed : ?after:bool -> callback:(flags:Ocgtk_gtk__.Gtk_enums.stateflags -> unit) -> unit -> Gobject.Signal.handler_id
method on_unmap : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_unrealize : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method action_set_enabled : string -> bool -> unit
method activate : unit -> bool
method activate_action_variant : string -> Gvariant.t option -> bool
method activate_default : unit -> unit
method add_controller : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.event_controller_t -> unit
method add_css_class : string -> unit
method add_mnemonic_label : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> unit
method allocate : int -> int -> int -> Ocgtk_gsk.Gsk.Transform.transform_t option -> unit
method child_focus : Ocgtk_gtk__.Gtk_enums.directiontype -> bool
method compute_expand : Ocgtk_gtk__.Gtk_enums.orientation -> bool
method contains : float -> float -> bool
method create_pango_context : unit -> Ocgtk_pango.Pango.Context.context_t
method create_pango_layout : string option -> Ocgtk_pango.Pango.Layout.layout_t
method dispose_template : Gobject.Type.t -> unit
method drag_check_threshold : int -> int -> int -> int -> bool
method error_bell : unit -> unit
method get_allocated_baseline : unit -> int
method get_allocated_height : unit -> int
method get_allocated_width : unit -> int
method get_ancestor : Gobject.Type.t -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_baseline : unit -> int
method get_can_focus : unit -> bool
method get_can_target : unit -> bool
method get_child_visible : unit -> bool
method get_clipboard : unit -> Ocgtk_gdk.Gdk.Clipboard.clipboard_t
method get_css_classes : unit -> string array
method get_css_name : unit -> string
method get_cursor : unit -> Ocgtk_gdk.Gdk.Cursor.cursor_t option
method get_direction : unit -> Ocgtk_gtk__.Gtk_enums.textdirection
method get_display : unit -> Ocgtk_gdk.Gdk.Display.display_t
method get_first_child : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_focus_child : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_focus_on_click : unit -> bool
method get_focusable : unit -> bool
method get_font_map : unit -> Ocgtk_pango.Pango.Font_map.font_map_t option
method get_font_options : unit -> Ocgtk_cairo.Cairo.Font_options.font_options_t option
method get_frame_clock : unit -> Ocgtk_gdk.Gdk.Frame_clock.frame_clock_t option
method get_halign : unit -> Ocgtk_gtk__.Gtk_enums.align
method get_has_tooltip : unit -> bool
method get_height : unit -> int
method get_hexpand : unit -> bool
method get_hexpand_set : unit -> bool
method get_last_child : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_layout_manager : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.layout_manager_t option
method get_mapped : unit -> bool
method get_margin_bottom : unit -> int
method get_margin_end : unit -> int
method get_margin_start : unit -> int
method get_margin_top : unit -> int
method get_name : unit -> string
method get_native : unit -> Ocgtk_gtk__.GNative.native_t option
method get_next_sibling : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_opacity : unit -> float
method get_overflow : unit -> Ocgtk_gtk__.Gtk_enums.overflow
method get_pango_context : unit -> Ocgtk_pango.Pango.Context.context_t
method get_parent : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_prev_sibling : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method get_primary_clipboard : unit -> Ocgtk_gdk.Gdk.Clipboard.clipboard_t
method get_realized : unit -> bool
method get_receives_default : unit -> bool
method get_request_mode : unit -> Ocgtk_gtk__.Gtk_enums.sizerequestmode
method get_root : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.root_t option
method get_scale_factor : unit -> int
method get_sensitive : unit -> bool
method get_settings : unit -> Ocgtk_gtk__.GSettings.settings_t
method get_size : Ocgtk_gtk__.Gtk_enums.orientation -> int
method get_state_flags : unit -> Ocgtk_gtk__.Gtk_enums.stateflags
method get_style_context : unit -> Ocgtk_gtk__.GStyle_context.style_context_t
method get_template_child : Gobject.Type.t -> string -> [ `object_ ] Gobject.obj
method get_tooltip_markup : unit -> string option
method get_tooltip_text : unit -> string option
method get_valign : unit -> Ocgtk_gtk__.Gtk_enums.align
method get_vexpand : unit -> bool
method get_vexpand_set : unit -> bool
method get_visible : unit -> bool
method get_width : unit -> int
method grab_focus : unit -> bool
method has_css_class : string -> bool
method has_default : unit -> bool
method has_focus : unit -> bool
method has_visible_focus : unit -> bool
method hide : unit -> unit
method in_destruction : unit -> bool
method init_template : unit -> unit
method insert_action_group : string -> Ocgtk_gio.Gio.Action_group.action_group_t option -> unit
method insert_after : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method insert_before : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method is_ancestor : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> bool
method is_drawable : unit -> bool
method is_focus : unit -> bool
method is_sensitive : unit -> bool
method is_visible : unit -> bool
method keynav_failed : Ocgtk_gtk__.Gtk_enums.directiontype -> bool
method list_mnemonic_labels : unit -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t list
method map : unit -> unit
method mnemonic_activate : bool -> bool
method observe_children : unit -> Ocgtk_gio.Gio.List_model.list_model_t
method observe_controllers : unit -> Ocgtk_gio.Gio.List_model.list_model_t
method pick : float -> float -> Ocgtk_gtk__.Gtk_enums.pickflags -> Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option
method queue_allocate : unit -> unit
method queue_draw : unit -> unit
method queue_resize : unit -> unit
method realize : unit -> unit
method remove_controller : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.event_controller_t -> unit
method remove_css_class : string -> unit
method remove_mnemonic_label : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> unit
method remove_tick_callback : int -> unit
method set_can_focus : bool -> unit
method set_can_target : bool -> unit
method set_child_visible : bool -> unit
method set_css_classes : string array -> unit
method set_cursor : Ocgtk_gdk.Gdk.Cursor.cursor_t option -> unit
method set_cursor_from_name : string option -> unit
method set_direction : Ocgtk_gtk__.Gtk_enums.textdirection -> unit
method set_focus_child : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t option -> unit
method set_focus_on_click : bool -> unit
method set_focusable : bool -> unit
method set_font_map : Ocgtk_pango.Pango.Font_map.font_map_t option -> unit
method set_font_options : Ocgtk_cairo.Cairo.Font_options.font_options_t option -> unit
method set_halign : Ocgtk_gtk__.Gtk_enums.align -> unit
method set_has_tooltip : bool -> unit
method set_hexpand : bool -> unit
method set_hexpand_set : bool -> unit
method set_layout_manager : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.layout_manager_t option -> unit
method set_margin_bottom : int -> unit
method set_margin_end : int -> unit
method set_margin_start : int -> unit
method set_margin_top : int -> unit
method set_name : string -> unit
method set_opacity : float -> unit
method set_overflow : Ocgtk_gtk__.Gtk_enums.overflow -> unit
method set_parent : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> unit
method set_receives_default : bool -> unit
method set_sensitive : bool -> unit
method set_size_request : int -> int -> unit
method set_state_flags : Ocgtk_gtk__.Gtk_enums.stateflags -> bool -> unit
method set_tooltip_markup : string option -> unit
method set_tooltip_text : string option -> unit
method set_valign : Ocgtk_gtk__.Gtk_enums.align -> unit
method set_vexpand : bool -> unit
method set_vexpand_set : bool -> unit
method set_visible : bool -> unit
method should_layout : unit -> bool
method show : unit -> unit
method snapshot_child : Ocgtk_gtk__.GEvent_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.widget_t -> Ocgtk_gtk__.GSnapshot.snapshot_t -> unit
method trigger_tooltip_query : unit -> unit
method unmap : unit -> unit
method unparent : unit -> unit
method unrealize : unit -> unit
method unset_state_flags : Ocgtk_gtk__.Gtk_enums.stateflags -> unit
method height_request : int
method set_height_request : int -> unit
method width_request : int
method set_width_request : int -> unit
method as_widget : Ocgtk_gtk__.Event_controller_and__layout_child_and__layout_manager_and__root_and__tooltip_and__widget.Widget.t