Class MenuBar
- Superclasses :
-
gui::Component
- Package :
- gui
This class is the base from which menu systems are created,
other than popup menus.
Menu items are added to this class; they are not separate
components added to the dialog itself.
The default position is (0, 0); the default size is 100% of
the width of the screen and a reasonable height based on the
font specified.
- Source
Methods inherited from gui::Component |
accepts_focus()
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)
find_accel(e)
find_focus()
fire_icon_events_on_mouse(p, e)
firstly()
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)
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_one(attr, val)
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)
set_one(attr, val)
string_val(attr, val)
string_vals(attr, val, n)
test_flag(attr, val)
|
Variables inherited from util::Connectable |
listeners
|
add(c)
- Overrides add(c, i) in gui::Component
-
Add the Menu c to the MenuBar. This will be one drop down
menu. Items are then added to the Menu.
- Parameters :
- c - The Menu to add.
- Source
display(buffer_flag)
- Overrides display(buffer_flag) in gui::Component
-
- Source
finally()
- Overrides finally() in gui::Component
-
- Source
find_key(k)
-
- Source
go_left()
-
- Source
go_right()
-
- Source
handle_default(e)
-
- Source
handle_drag(e)
-
- Source
handle_event(e)
- Overrides handle_event(e) in gui::Component
-
- Source
handle_key_do(e)
-
- Source
handle_key_down(e)
-
- Source
handle_key_escape(e)
-
- Source
handle_key_left(e)
-
- Source
handle_key_right(e)
-
- Source
handle_press(e)
-
- Source
handle_release(e)
-
- Source
initially()
- Overrides initially() in util::Connectable
-
make_partial()
-
- Source
resize()
- Overrides resize() in gui::Component
-
- Source
set_which_highlight(x)
- Private method, not intended for client invocation
set_which_open(x)
- Private method, not intended for client invocation
which_button()
- Private method, not intended for client invocation
menus
-
which_highlight
-
which_open
-