144
144
is not really dependent from its argument, but it is a simple costant function. *)
145
145
method generator : (string Environment.string_env -> string list) = generator
148
148
is set at the creation. The value of the pair (key,value) will be the selected value of the widget, of course. *)
149
149
method key : string = key
151
151
(** A secondary function to call at any change of the selected item. This represent an additional callback.
153
153
method callback : (string -> unit) = match callback with None -> (fun x->()) | Some f -> f
155
155
(** The function to call to attach self somewhere. For instance :
156
156
{[ packing = dialog#table#attach ~left:1 ~top:2 ~right:3 ]}
157
Every time the comboTextTree is rebuilded, the old box is destroyed, rebuilded and finally repackaged
158
158
with this packing function. *)
159
159
method packing : (GObj.widget -> unit) = match packing with None -> (fun x->()) | Some f -> f