lablgtk3

OCaml interface to GTK+3
IN THIS PACKAGE
Module GButton

GtkButton

class button_skel : 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkButton

class button_signals : 'b Gtk.obj -> object ... end

@gtkdoc gtk GtkButton

class button : Gtk.button Gtk.obj -> object ... end

A widget that creates a signal when clicked on @gtkdoc gtk GtkButton

val button : ?label:string -> ?use_mnemonic:bool -> ?stock:GtkStock.id -> ?relief:Gtk.Tags.relief_style -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> button

@gtkdoc gtk GtkButton

GtkToggleButton & GtkRadioButton
class toggle_button_signals : 'b Gtk.obj -> object ... end

@gtkdoc gtk GtkToggleButton

class toggle_button : 'a Gtk.obj -> object ... end

Create buttons which retain their state @gtkdoc gtk GtkToggleButton

val toggle_button : ?label:string -> ?use_mnemonic:bool -> ?stock:GtkStock.id -> ?relief:Gtk.Tags.relief_style -> ?active:bool -> ?draw_indicator:bool -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> toggle_button

@gtkdoc gtk GtkToggleButton

val check_button : ?label:string -> ?use_mnemonic:bool -> ?stock:GtkStock.id -> ?relief:Gtk.Tags.relief_style -> ?active:bool -> ?draw_indicator:bool -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> toggle_button

@gtkdoc gtk GtkCheckButton

class radio_button : Gtk.radio_button Gtk.obj -> object ... end

A choice from multiple check buttons @gtkdoc gtk GtkRadioButton

val radio_button : ?group:Gtk.radio_button Gtk.group -> ?label:string -> ?use_mnemonic:bool -> ?stock:GtkStock.id -> ?relief:Gtk.Tags.relief_style -> ?active:bool -> ?draw_indicator:bool -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> radio_button

@gtkdoc gtk GtkRadioButton

GtkColorButton & GtkFontButton
class color_button_signals : [> Gtk.color_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkColorButton

class color_button : [> Gtk.color_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkColorButton

val color_button : ?color:Gdk.color -> ?rgba:Gdk.rgba -> ?title:string -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> color_button

A button to launch a color selection dialog @gtkdoc gtk GtkColorButton

  • since GTK 2.4
class font_button_signals : [> Gtk.font_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkFontButton

class font_button : [> Gtk.font_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkFontButton

val font_button : ?font_name:string -> ?title:string -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> font_button

A button to launch a font selection dialog @gtkdoc gtk GtkFontButton

  • since GTK 2.4

GtkToolbar

class type tool_item_o = object ... end
class toolbar_signals : [> Gtk.toolbar ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolbar

class toolbar : Gtk.toolbar Gtk.obj -> object ... end

Create bars of buttons and other widgets @gtkdoc gtk GtkToolbar

val toolbar : ?orientation:Gtk.Tags.orientation -> ?style:Gtk.Tags.toolbar_style -> ?border_width:int -> ?width:int -> ?height:int -> ?packing:( GObj.widget -> unit ) -> ?show:bool -> unit -> toolbar

@gtkdoc gtk GtkToolbar

ToolItems for the new toolbar API
class tool_item_skel : [> Gtk.tool_item ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolItem

class tool_item : [> Gtk.tool_item ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolItem

val tool_item : ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> tool_item

@gtkdoc gtk GtkToolItem

  • since GTK 2.4
class separator_tool_item : [> Gtk.separator_tool_item ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkSeparatorToolItem

val separator_tool_item : ?draw:bool -> ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> separator_tool_item

@gtkdoc gtk GtkSeparatorToolItem

  • since GTK 2.4
class tool_button_signals : [> Gtk.tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolButton

class tool_button_skel : [> Gtk.tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolButton

class tool_button : [> Gtk.tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToolButton

val tool_button : ?label:string -> ?stock:GtkStock.id -> ?use_underline:bool -> ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> tool_button

@gtkdoc gtk GtkToolButton

  • since GTK 2.4
class toggle_tool_button_signals : [> Gtk.toggle_tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToggleToolButton

class toggle_tool_button : [> Gtk.toggle_tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkToggleToolButton

val toggle_tool_button : ?active:bool -> ?label:string -> ?stock:GtkStock.id -> ?use_underline:bool -> ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> toggle_tool_button

@gtkdoc gtk GtkToggleToolButton

  • since GTK 2.4
class radio_tool_button : [> Gtk.radio_tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkRadioToolButton

val radio_tool_button : ?group:radio_tool_button -> ?active:bool -> ?label:string -> ?stock:GtkStock.id -> ?use_underline:bool -> ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> radio_tool_button

@gtkdoc gtk GtkRadioToolButton

  • since GTK 2.4
class menu_tool_button : [> Gtk.menu_tool_button ] as 'a Gtk.obj -> object ... end

@gtkdoc gtk GtkMenuToolButton

val menu_tool_button : ?menu:< as_menu : Gtk.menu Gtk.obj.. > -> ?label:string -> ?stock:GtkStock.id -> ?use_underline:bool -> ?homogeneous:bool -> ?expand:bool -> ?packing:( tool_item_o -> unit ) -> ?show:bool -> unit -> menu_tool_button

@gtkdoc gtk GtkMenuToolButton

  • since GTK 2.6

@gtkdoc gtk GtkLinkButton

@gtkdoc gtk GtkLinkButton

A button for URL @gtkdoc gtk GtkLinkButton

  • since GTK 2.10