Class EditList
- Superclasses :
-
gui::DropDown
- Package :
- gui
This component functions in the same way as List above, but
the item selected may be edited by the user. An extra
method is therefore supplied to get the content, as it may
not correspond to an element of the list.
A SELECTION_CHANGED_EVENT is generated when an item in the
list is selected. Also, the embedded textfield's
CONTENT_CHANGED and ACTION_EVENT events are forwarded
as though they were from this component itself.
- Source
Methods inherited from gui::Component |
accepts_focus()
add(c, i)
all_valid()
can_drag(ev)
can_drop(d)
child_validated(c)
clear_accepts_focus()
clear_allow_drag()
clear_allow_drop()
clear_draw_border()
clear_is_shaded()
compute_absolutes()
create_event_and_fire(type, param)
do_handle_event(e)
do_shading(W)
drag_event(d)
drag_reset()
end_drag(d, c)
fatal(s)
finally()
fire_icon_events_on_mouse(p, e)
generate_components()
get_accel()
get_cbwin_reference()
get_children()
get_cwin_reference()
get_h_reference()
get_parent()
get_parent_buffer_win()
get_parent_dialog()
get_parent_dialog_reference()
get_parent_win()
get_w_reference()
get_x_reference()
get_y_reference()
got_focus(e)
handle_accel(e)
handle_event(e)
in_region()
init()
invalidate()
invoke_can_drag(ev)
invoke_can_drop(d)
invoke_drag_event(d)
invoke_drag_reset()
invoke_end_drag(d, c)
is_attrib(s)
is_dialog_open()
is_hidden()
is_shaded()
is_ticking()
is_unhidden()
is_unshaded()
keeps(e)
lost_focus(e)
parse_pos(total, s)
remove(c)
retime_ticker(n)
set_abs_coords(x, y)
set_abs_size(w, h)
set_accel(k)
set_accepts_focus()
set_align(x_align, y_align)
set_allow_drag()
set_allow_drop()
set_attribs(x[])
set_attribs_list(l)
set_draw_border()
set_is_shaded()
set_parent(c)
set_parent_dialog(c)
set_pos(x_spec, y_spec)
set_size(w_spec, h_spec)
set_ticker(n, d)
set_tooltip(x)
stop_ticker()
tick()
toggle_draw_border()
toggle_is_shaded()
unique_end(x)
unique_start()
validate()
|
Methods inherited from util::SetFields |
as_attrib(attr, val)
attrib(a[])
cset_val(attr, val)
field_error(s)
int_val(attr, val)
int_vals(attr, val, n)
numeric_val(attr, val)
numeric_vals(attr, val, n)
set_fields(l)
string_val(attr, val)
string_vals(attr, val, n)
test_flag(attr, val)
|
Variables inherited from util::Connectable |
listeners
|
apply_selection()
- Overrides apply_selection() in gui::DropDown
-
- Source
display(buffer_flag)
- Overrides display(buffer_flag) in gui::Component
-
- Source
find_accel(e)
- Overrides find_accel(e) in gui::Component
-
- Source
find_focus()
- Overrides find_focus() in gui::Component
-
Manage our own focus/accelerator handling so that the textfield always gets the focus.
- Source
firstly()
- Overrides firstly() in gui::Component
-
- Source
get_contents()
-
Return the contents of the selected item (which may have
been edited).
- Source
initially()
- Overrides initially() in util::Connectable
-
on_textfield(ev)
-
- Source
resize()
- Overrides resize() in gui::Component
-
- Source
set_contents(x)
-
Set the initial contents of the text to the given string.
- Source
set_filter(c)
-
Set the text field's filter (see TextField for details).
- Parameters :
- c - The filter
- Source
set_one(attr, val)
- Overrides set_one(attr, val) in util::SetFields
-
- Source
no_default
-
tf
-