11 constraint 'a = [>`widget|`button|`container]
13 method clicked : unit -> unit
14 method grab_default : unit -> unit
16 class button_signals :
19 inherit container_signals
20 constraint 'b = [>`button|`container|`widget]
22 method clicked : callback:(unit -> unit) -> GtkSignal.id
23 method enter : callback:(unit -> unit) -> GtkSignal.id
24 method leave : callback:(unit -> unit) -> GtkSignal.id
25 method pressed : callback:(unit -> unit) -> GtkSignal.id
26 method released : callback:(unit -> unit) -> GtkSignal.id
33 val obj : Gtk.button obj
34 method event : event_ops
35 method connect : button_signals
42 ?packing:(widget -> unit) -> ?show:bool -> unit -> button
44 class toggle_button_signals :
47 inherit button_signals
48 constraint 'b = [>`toggle|`button|`container|`widget]
50 method toggled : callback:(unit -> unit) -> GtkSignal.id
57 constraint 'a = [>`toggle|`button|`container|`widget]
60 method connect : toggle_button_signals
61 method set_active : bool -> unit
62 method set_draw_indicator : bool -> unit
67 ?draw_indicator:bool ->
71 ?packing:(widget -> unit) -> ?show:bool -> unit -> toggle_button
75 ?draw_indicator:bool ->
79 ?packing:(widget -> unit) -> ?show:bool -> unit -> toggle_button
82 Gtk.radio_button obj ->
85 val obj : Gtk.radio_button obj
86 method group : Gtk.radio_button group
87 method set_group : Gtk.radio_button group -> unit
90 ?group:Gtk.radio_button group ->
93 ?draw_indicator:bool ->
97 ?packing:(widget -> unit) -> ?show:bool -> unit -> radio_button
102 inherit container_full
103 val obj : Gtk.toolbar obj
104 method button_relief : Tags.relief_style
105 method insert_button :
108 ?tooltip_private:string ->
110 ?pos:int -> ?callback:(unit -> unit) -> unit -> button
111 method insert_radio_button :
114 ?tooltip_private:string ->
116 ?pos:int -> ?callback:(unit -> unit) -> unit -> radio_button
117 method insert_space : ?pos:int -> unit -> unit
118 method insert_toggle_button :
121 ?tooltip_private:string ->
123 ?pos:int -> ?callback:(unit -> unit) -> unit -> toggle_button
124 method insert_widget :
126 ?tooltip_private:string -> ?pos:int -> widget -> unit
127 method set_button_relief : Tags.relief_style -> unit
128 method set_orientation : Tags.orientation -> unit
129 method set_space_size : int -> unit
130 method set_space_style : [`EMPTY|`LINE] -> unit
131 method set_style : Tags.toolbar_style -> unit
132 method set_tooltips : bool -> unit
135 ?orientation:Tags.orientation ->
136 ?style:Tags.toolbar_style ->
138 ?space_style:[`EMPTY|`LINE] ->
140 ?button_relief:Tags.relief_style ->
144 ?packing:(widget -> unit) -> ?show:bool -> unit -> toolbar