Module GAction

GtkAction

class action_signals : [> Gtk.action ] as 'b Gobject.obj -> object ... end
class action_skel : [> Gtk.action ] as 'a Gobject.obj -> object ... end
class action : [> Gtk.action ] as 'a Gobject.obj -> object ... end
val action : name:string -> unit -> action
since
GTK 2.4

@gtkdoc gtk GtkAction

class toggle_action_signals : [> Gtk.toggle_action ] as 'b Gobject.obj -> object ... end
class toggle_action_skel : [> Gtk.toggle_action ] as 'a Gobject.obj -> object ... end
class toggle_action : [> Gtk.toggle_action ] as 'a Gobject.obj -> object ... end
val toggle_action : name:string -> unit -> toggle_action
since
GTK 2.4

@gtkdoc gtk GtkToggleAction

class radio_action_signals : [> Gtk.radio_action ] as 'b Gobject.obj -> object ... end
class radio_action : [> Gtk.radio_action ] as 'a Gobject.obj -> object ... end
val radio_action : ?⁠group:radio_action -> name:string -> value:int -> unit -> radio_action
since
GTK 2.4

@gtkdoc gtk GtkRadioAction

GtkActionGroup

class action_group_signals : [> Gtk.action_group ] as 'b Gobject.obj -> object ... end
class action_group : [> Gtk.action_group ] as 'a Gobject.obj -> object ... end
val action_group : name:string -> unit -> action_group
since
GTK 2.4

@gtkdoc gtk GtkActionGroup

type 'a entry = action_group -> 'a
val add_action : string -> ?⁠callback:(action -> unit) -> ?⁠stock:GtkStock.id -> ?⁠label:string -> ?⁠accel:string -> ?⁠tooltip:string -> unit entry
val add_toggle_action : string -> ?⁠active:bool -> ?⁠callback:(toggle_action -> unit) -> ?⁠stock:GtkStock.id -> ?⁠label:string -> ?⁠accel:string -> ?⁠tooltip:string -> unit entry
val add_radio_action : string -> int -> ?⁠stock:GtkStock.id -> ?⁠label:string -> ?⁠accel:string -> ?⁠tooltip:string -> radio_action entry
val group_radio_actions : ?⁠init_value:int -> ?⁠callback:(int -> unit) -> radio_action entry list -> unit entry
val add_actions : action_group -> unit entry list -> unit

GtkUIManager

class ui_manager_signals : [> Gtk.ui_manager ] as 'b Gtk.obj -> object ... end
type ui_id
val invalid_id : ui_id
class ui_manager : [> Gtk.ui_manager ] as 'a Gtk.obj -> object ... end
val ui_manager : unit -> ui_manager
since
GTK 2.4

@gtkdoc gtk GtkUIManager