| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
class type detachable_signals = |
| 12 |
object |
| 13 |
inherit GContainer.container_signals |
| 14 |
method attached : callback:(GObj.widget -> unit) -> unit |
| 15 |
method detached : callback:(GObj.widget -> unit) -> unit |
| 16 |
end |
| 17 |
|
| 18 |
class detachable : [> Gtk.box] Gobject.obj -> |
| 19 |
object |
| 20 |
inherit GPack.box_skel |
| 21 |
val obj : Gtk.box Gobject.obj |
| 22 |
method connect : detachable_signals |
| 23 |
method child : GObj.widget |
| 24 |
method show : unit |
| 25 |
method hide : unit |
| 26 |
method visible : bool |
| 27 |
method title : string |
| 28 |
method set_title : string -> unit |
| 29 |
method button : GButton.button |
| 30 |
method close_button : GButton.button |
| 31 |
method win : GWindow.window |
| 32 |
method frame : GBin.frame |
| 33 |
method detach : unit -> unit |
| 34 |
method attach : unit -> unit |
| 35 |
end |
| 36 |
|
| 37 |
val detachable : |
| 38 |
?title:string -> |
| 39 |
?homogeneous:bool -> |
| 40 |
?spacing:int -> |
| 41 |
?border_width:int -> |
| 42 |
?width:int -> |
| 43 |
?height:int -> |
| 44 |
?packing:(GObj.widget -> unit) -> ?show:bool -> unit -> detachable |