libt3widget
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
List of all members | Public Member Functions
t3_widget::edit_window_t::autocomplete_panel_t Class Reference
Inheritance diagram for t3_widget::edit_window_t::autocomplete_panel_t:
t3_widget::popup_t t3_widget::dialog_base_t t3_widget::mouse_target_t t3_widget::window_component_t t3_widget::container_t t3_widget::window_component_t t3_widget::window_component_t

Public Member Functions

 autocomplete_panel_t (edit_window_t *parent)
void connect_activate (const sigc::slot< void > &slot)
size_t get_selected_idx (void) const
virtual bool process_key (key_t key)
void set_completions (string_list_base_t *completions)
virtual void set_position (optint top, optint left)
virtual bool set_size (optint height, optint width)
- Public Member Functions inherited from t3_widget::popup_t
virtual void hide (void)
bool is_shown (void)
virtual bool process_mouse_event (mouse_event_t event)
virtual void show (void)
virtual void update_contents (void)
- Public Member Functions inherited from t3_widget::dialog_base_t
virtual void center_over (window_component_t *center)
 Set the position and anchoring for this dialog such that it is centered over a window_component_t.
virtual void force_redraw (void)
virtual void hide (void)
virtual void set_focus (focus_t focus)
virtual void set_position (optint top, optint left)
virtual bool set_size (optint height, optint width)
virtual void show (void)
virtual void update_contents (void)
virtual ~dialog_base_t ()
 Destroy this dialog.
- Public Member Functions inherited from t3_widget::window_component_t
virtual void force_redraw (void)=0
 Request that this window_component_t be completely redrawn.
virtual t3_window_t * get_base_window (void)
 Retrieve the t3_window_t for this window_component_t.
virtual void hide (void)=0
 Hide the window_component_t.
virtual bool process_key (key_t key)=0
 Handle a key press by the user.
virtual void set_focus (focus_t focus)=0
 Set whether this window_component_t has the input focus.
virtual void set_position (optint top, optint left)=0
 Move the window_component_t to a specified position.
virtual bool set_size (optint height, optint width)=0
 Set the size of this window_component_t.
virtual void show (void)=0
 Display the window_component_t.
virtual void update_contents (void)=0
 Update the contents of the window.
 window_component_t (void)
 Base constructor.
virtual ~window_component_t (void)
 Base destructor.
- Public Member Functions inherited from t3_widget::mouse_target_t
void grab_mouse (void)
 Grab all future mouse events.
virtual bool process_mouse_event (mouse_event_t event)=0
 Process a mouse event.
void register_mouse_target (t3_window_t *target)
 Register a window to receive mouse events.
void release_mouse_grab (void)
 Release a previous mouse grab.
void unregister_mouse_target (t3_window_t *target)
 Unregister a window to receive mouse events.

Additional Inherited Members

- Public Types inherited from t3_widget::window_component_t
enum  focus_t {
  FOCUS_OUT, FOCUS_SET, FOCUS_IN_FWD, FOCUS_IN_BCK,
  FOCUS_REVERT
}
- Static Public Member Functions inherited from t3_widget::dialog_base_t
static void force_redraw_all (void)
 Call #force_redraw on all dialogs.
- Static Public Member Functions inherited from t3_widget::mouse_target_t
static bool handle_mouse_event (mouse_event_t event)
- Protected Member Functions inherited from t3_widget::popup_t
 popup_t (int height, int width, bool shadow=true, bool _draw=true)
 Base class for dialogs.
- Protected Attributes inherited from t3_widget::dialog_base_t
widgets_t::iterator current_widget
 Iterator indicating the widget that has the input focus.
bool redraw
 Boolean indicating whether redrawing is necessary.
cleanup_t3_window_ptr shadow_window
 t3_window_t used to draw the shadow under a dialog.
widgets_t widgets
 List of widgets on this dialog.