Class ToolBar

Summary

#
  This class is a {Panel} which may have {Component}s added to it
  in the normal way.  However, the {Component}s within it will produce
  tooltip labels when the mouse cursor is held over them for a short
  period of time.   The tooltip strings may be set using the {set_tooltip}
  method of {Component}.

Superclasses:
Panel

Package:
(main)
File:
toolbar.icn
Methods:
display, finally, firstly, handle_event, hide_label, set_start_end_delays, show_label, tick

Methods inherited from Component:
accepts_tab_focus, attrib, clear_accepts_tab_focus, clear_draw_border, clear_is_shaded, clear_no_updates, do_shading, error, get_cbwin_reference, get_cwin_reference, get_h_reference, get_parent_Dialog, get_parent_buffer_win, get_parent_win, get_visible_reference, get_w_reference, get_x_reference, get_y_reference, got_focus, handle_notify, is_hidden, is_shaded, is_unhidden, is_unshaded, lost_focus, parse_pos, redisplay, set_abs_coords, set_abs_size, set_accepts_tab_focus, set_align, set_attribs, set_attribs_list, set_draw_border, set_is_shaded, set_no_updates, set_parent_Dialog, set_pos, set_size, set_tooltip, toggle_draw_border, toggle_is_shaded, unique_end, unique_start

Methods inherited from MetaComponent:
set_fields

Methods inherited from Ticker:
is_ticking, retime_ticker, set_ticker, stop_ticker

Methods inherited from VisibleContainer:
add, final_setup, generate_all_components, generate_components, get_components, in_region, resize, set_components

Fields:
end_delay, end_time, last_obj, start_delay, start_time, state, temp_h, temp_w, temp_win, temp_x, temp_y

Source code.

Details
Constructor

ToolBar(argv)

Methods:

display(buffer_flag)

This method overrides display in class Panel

finally()

This method overrides finally in class VisibleContainer

firstly()

This method overrides firstly in class VisibleContainer

handle_event(e)

This method overrides handle_event in class Panel

hide_label()


set_start_end_delays(x, y)

#
  Configure the delays used in making the tooltips appear.
  @param x   The starting delay, ie the period before a tooltip appears.
  @param y   The end delay, namely how long the tooltip stays visible.


show_label(x, y, label)


tick()

This method overrides tick in class Ticker
Fields:
end_delay

end_time

last_obj

start_delay

start_time

state

temp_h

temp_w

temp_win

temp_x

temp_y


This page produced by UniDoc on 2021/04/15 @ 23:59:54.