6 class editable_signals : 'a obj ->
9 constraint 'a = [>`editable|`widget]
11 method activate : callback:(unit -> unit) -> GtkSignal.id
12 method changed : callback:(unit -> unit) -> GtkSignal.id
14 callback:(start:int -> stop:int -> unit) -> GtkSignal.id
16 callback:(string -> pos:int -> unit) -> GtkSignal.id
19 class editable : 'a obj ->
22 constraint 'a = [>`editable|`widget]
24 method connect : editable_signals
25 method copy_clipboard : unit -> unit
26 method cut_clipboard : unit -> unit
27 method delete_selection : unit -> unit
28 method delete_text : start:int -> stop:int -> unit
29 method get_chars : start:int -> stop:int -> string
30 method insert_text : string -> pos:int -> int
31 method paste_clipboard : unit -> unit
33 method select_region : start:int -> stop:int -> unit
34 method selection : (int * int) option
35 method set_editable : bool -> unit
36 method set_position : int -> unit
39 class entry : 'a obj ->
42 constraint 'a = [>`entry|`editable|`widget]
44 method event : event_ops
45 method append_text : string -> unit
46 method prepend_text : string -> unit
47 method set_max_length : int -> unit
48 method set_text : string -> unit
49 method set_visibility : bool -> unit
51 method text_length : int
60 ?packing:(widget -> unit) -> ?show:bool -> unit -> entry
62 class spin_button : Gtk.spin_button obj ->
65 val obj : Gtk.spin_button obj
66 method adjustment : GData.adjustment
67 method set_adjustment : GData.adjustment -> unit
68 method set_digits : int -> unit
69 method set_numeric : bool -> unit
70 method set_shadow_type : Tags.shadow_type -> unit
71 method set_snap_to_ticks : bool -> unit
72 method set_update_policy : [`ALWAYS|`IF_VALID] -> unit
73 method set_value : float -> unit
74 method set_wrap : bool -> unit
75 method spin : Tags.spin_type -> unit
78 method value_as_int : int
81 ?adjustment:GData.adjustment ->
85 ?update_policy:[`ALWAYS|`IF_VALID] ->
88 ?shadow_type:Tags.shadow_type ->
89 ?snap_to_ticks:bool ->
92 ?packing:(widget -> unit) -> ?show:bool -> unit -> spin_button
94 class combo : Gtk.combo obj ->
97 val obj : Gtk.combo obj
98 method disable_activate : unit -> unit
100 method list : GList.liste
101 method set_case_sensitive : bool -> unit
102 method set_item_string : GList.list_item -> string -> unit
103 method set_popdown_strings : string list -> unit
104 method set_use_arrows : [`NEVER|`DEFAULT|`ALWAYS] -> unit
105 method set_value_in_list :
106 ?required:bool -> ?ok_if_empty:bool -> unit -> unit
109 ?popdown_strings:string list ->
110 ?use_arrows:[`NEVER|`DEFAULT|`ALWAYS] ->
111 ?case_sensitive:bool ->
112 ?value_in_list:bool ->
117 ?packing:(widget -> unit) -> ?show:bool -> unit -> combo
119 class text : Gtk.text obj ->
122 val obj : Gtk.text obj
123 method event : event_ops
124 method freeze : unit -> unit
125 method hadjustment : GData.adjustment
128 ?foreground:GDraw.color -> ?background:GDraw.color -> string -> unit
131 method set_hadjustment : GData.adjustment -> unit
132 method set_point : int -> unit
133 method set_vadjustment : GData.adjustment -> unit
134 method set_word_wrap : bool -> unit
135 method set_line_wrap : bool -> unit
136 method thaw : unit -> unit
137 method vadjustment : GData.adjustment
140 ?hadjustment:GData.adjustment ->
141 ?vadjustment:GData.adjustment ->
146 ?height:int -> ?packing:(widget -> unit) -> ?show:bool -> unit -> text