libt3widget
|
Classes | |
struct | implementation_t |
Public Member Functions | |
void | change_dir (const std::string *dir) |
void | refresh_view (void) |
virtual void | reset (void) |
virtual int | set_file (const char *file) |
void | set_options_widget (widget_t *options) |
virtual bool | set_size (optint height, optint width) |
T3_WIDGET_SIGNAL (file_selected, void, const std::string *) | |
![]() | |
virtual void | hide (void) |
virtual bool | process_key (key_t key) |
virtual void | show (void) |
T3_WIDGET_SIGNAL (closed, void) | |
Signal emitted when the dialog is closed by calling close. | |
virtual void | update_contents (void) |
![]() | |
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 | set_focus (focus_t focus) |
virtual void | set_position (optint top, optint left) |
virtual | ~dialog_base_t () |
Destroy this dialog. | |
![]() | |
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. |
Protected Member Functions | |
file_dialog_t (int height, int width, const char *_title) | |
widget_t * | get_anchor_widget (void) |
virtual const std::string * | get_filter (void)=0 |
void | insert_extras (widget_t *widget) |
void | ok_callback (void) |
void | ok_callback (const std::string *file) |
![]() | |
virtual void | close (void) |
Close the dialog. | |
dialog_t (int height, int width, const char *_title) | |
Create a new dialog with height and width , and with title _title . | |
virtual bool | is_child (window_component_t *widget) |
Determine whether a window_compnent_t is a child of the container_t. | |
virtual void | set_child_focus (window_component_t *target) |
Set the focus to a specific window component. | |
![]() | |
dialog_base_t (int height, int width, bool has_shadow) | |
Create a new dialog with height and width , and with title _title . | |
void | focus_next (void) |
Focus the previous widget, wrapping around if necessary. | |
void | focus_previous (void) |
Focus the next widget, wrapping around if necessary. | |
void | push_back (widget_t *widget) |
Add a widget to this dialog. | |
![]() | |
virtual bool | set_widget_parent (window_component_t *widget) |
Make widget a child window of this container_t, by setting its parent window. | |
virtual void | unset_widget_parent (window_component_t *widget) |
Unset the parent window for a widget . |
Additional Inherited Members | |
![]() | |
enum | focus_t { FOCUS_OUT, FOCUS_SET, FOCUS_IN_FWD, FOCUS_IN_BCK, FOCUS_REVERT } |
![]() | |
static void | force_redraw_all (void) |
Call #force_redraw on all dialogs. | |
![]() | |
const char * | title |
The title of this dialog. |