9 constraint 'a = [>`container]
11 method circulate : Tags.direction_type -> bool
12 method set : widget option -> unit
13 method set_hadjustment : GData.adjustment option -> unit
14 method set_vadjustment : GData.adjustment option -> unit
21 constraint 'a = [>`container|`widget]
23 method add : widget -> unit
24 method children : widget list
25 method remove : widget -> unit
27 method set_border_width : int -> unit
30 class container_signals :
33 inherit widget_signals
34 constraint 'a = [>`container|`widget]
36 method add : callback:(widget -> unit) -> GtkSignal.id
37 method remove : callback:(widget -> unit) -> GtkSignal.id
40 class container_full :
44 constraint 'a = [>`container|`widget]
46 method connect : container_signals
49 val cast_container : widget -> container_full
50 (* may raise [Gtk.Cannot_cast "GtkContainer"] *)
52 class virtual ['a] item_container :
55 constraint 'a = < as_item : [>`widget] obj; .. >
56 constraint 'c = [>`container|`widget]
59 method add : 'a -> unit
60 method append : 'a -> unit
61 method children : 'a list
62 method virtual insert : 'a -> pos:int -> unit
63 method prepend : 'a -> unit
64 method remove : 'a -> unit
66 method set_border_width : int -> unit
67 method private virtual wrap : Gtk.widget obj -> 'a
73 inherit container_signals
74 constraint 'a = [>`container|`item|`widget]
76 method deselect : callback:(unit -> unit) -> GtkSignal.id
77 method select : callback:(unit -> unit) -> GtkSignal.id
78 method toggle : callback:(unit -> unit) -> GtkSignal.id