module GMenu: sig
.. end
Menus
Menus
class menu_shell_signals : [> Gtk.menu_shell ] Gtk.obj ->
object
.. end
class menu_item_signals : [> Gtk.menu_item ] Gtk.obj ->
object
.. end
class menu_item_skel : [> Gtk.menu_item ] Gtk.obj ->
object
.. end
class menu_item : [> Gtk.menu_item ] Gtk.obj ->
object
.. end
The widget used for item in menus
class menu : Gtk.menu Gtk.obj ->
object
.. end
A drop down menu widget
val menu : ?accel_path:string ->
?border_width:int ->
?packing:(menu -> unit) -> ?show:bool -> unit -> menu
val menu_item : ?use_mnemonic:bool ->
?label:string ->
?right_justified:bool ->
?packing:(menu_item -> unit) -> ?show:bool -> unit -> menu_item
val tearoff_item : ?packing:(menu_item -> unit) -> ?show:bool -> unit -> menu_item
val separator_item : ?packing:(menu_item -> unit) -> ?show:bool -> unit -> menu_item
class image_menu_item : Gtk.image_menu_item Gtk.obj ->
object
.. end
A menu item with an icon
val image_menu_item : ?image:#GObj.widget ->
?label:string ->
?use_mnemonic:bool ->
?stock:GtkStock.id ->
?right_justified:bool ->
?packing:(menu_item -> unit) ->
?show:bool -> unit -> image_menu_item
class check_menu_item_signals : [> Gtk.check_menu_item ] Gtk.obj ->
object
.. end
class check_menu_item : [> Gtk.check_menu_item ] Gtk.obj ->
object
.. end
A menu item with a check box
val check_menu_item : ?label:string ->
?use_mnemonic:bool ->
?active:bool ->
?show_toggle:bool ->
?right_justified:bool ->
?packing:(menu_item -> unit) ->
?show:bool -> unit -> check_menu_item
class radio_menu_item : Gtk.radio_menu_item Gtk.obj ->
object
.. end
A choice from multiple check menu items
val radio_menu_item : ?group:Gtk.radio_menu_item Gtk.group ->
?label:string ->
?use_mnemonic:bool ->
?active:bool ->
?show_toggle:bool ->
?right_justified:bool ->
?packing:(menu_item -> unit) ->
?show:bool -> unit -> radio_menu_item
class menu_shell : [> Gtk.menu_shell ] Gtk.obj ->
object
.. end
val menu_bar : ?border_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> menu_shell
class option_menu : [> Gtk.option_menu ] Gtk.obj ->
object
.. end
A widget used to choose from a list of valid choices
val option_menu : ?menu:#menu ->
?border_width:int ->
?width:int ->
?height:int ->
?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> option_menu
class [#menu_shell]
factory : ?accel_group:Gtk.accel_group -> ?accel_path:string -> ?accel_modi:Gdk.Tags.modifier list -> ?accel_flags:Gtk.Tags.accel_flag list -> #menu_shell as 'a ->
object
.. end
A factory for menus