#include <omgui/common/textwidget.h>
Inherits omgui::common::Widget, and omgui::api::TextWidget.
Inherited by omgui::cocoa::TextWidget [virtual]
, omgui::common::EntryBox [virtual]
, omgui::common::SecureEntryBox [virtual]
, omgui::common::TextBox [virtual]
, and omgui::win32::TextWidget [virtual]
.
Public Types | |
typedef omgui::initializer::TextWidgetData | data_type |
Initialization data used for TextWidgets. | |
typedef omgui::initializer::WidgetData | data_type |
Initialization data used for Widgets. | |
typedef omgui::TextWidget | wrapper_type |
typedef omgui::Widget | wrapper_type |
Public Member Functions | |
virtual void | delete_range (const omgui::TextRange &range)=0 |
virtual void | destroy ()=0 |
virtual void | enable (bool e)=0 |
virtual void * | get_handle () const =0 |
virtual omgui::text_range_t | get_insertion_point () const =0 |
virtual omgui::text_range_t | get_length () const =0 |
virtual omgui::Size | get_max_size () const =0 |
virtual omgui::Size | get_min_size () const =0 |
virtual omgui::Size | get_natural_size () const =0 |
virtual Pointer< omgui::Panel > | get_parent () const =0 |
virtual Pointer< omgui::Window > | get_parent_window () const =0 |
virtual omgui::Point | get_position () const =0 |
virtual omgui::Rect | get_rect () const =0 |
virtual bool | get_selection_bounds (omgui::TextRange &range) const =0 |
virtual omgui::TextRange | get_selection_range () const =0 |
virtual omgui::Size | get_size () const =0 |
virtual string | get_text (const omgui::TextRange &range) const =0 |
virtual string | get_text () const =0 |
template<typename T> | |
T * | get_wrapper () |
template<typename T> | |
const T * | get_wrapper () const |
omgui::Widget * | get_wrapper () |
const omgui::Widget * | get_wrapper () const |
omgui::object_id | get_wrapper_id () const |
virtual omgui::text_range_t | insert_text (const string &str)=0 |
virtual omgui::text_range_t | insert_text (const string &str, omgui::text_range_t pos)=0 |
virtual bool | is_enabled () const =0 |
virtual bool | is_hidden () const =0 |
virtual bool | is_read_only () const =0 |
virtual bool | is_shown () const =0 |
virtual void | set_insertion_point (omgui::text_range_t pos)=0 |
virtual void | set_max_length (omgui::text_range_t len)=0 |
virtual void | set_max_size (const omgui::Size &)=0 |
virtual void | set_min_size (const omgui::Size &)=0 |
virtual void | set_natural_size (const omgui::Size &)=0 |
virtual void | set_position (const omgui::Point &)=0 |
virtual void | set_read_only (bool b)=0 |
virtual void | set_rect (const omgui::Rect &)=0 |
virtual void | set_selection_bounds (const omgui::TextRange &range)=0 |
virtual void | set_selection_range (const omgui::TextRange &range)=0 |
virtual void | set_size (const omgui::Size &)=0 |
virtual void | set_text (const string &s)=0 |
virtual void | show (bool show, bool focus)=0 |
typedef omgui::initializer::TextWidgetData omgui::api::TextWidget::data_type [inherited] |
Initialization data used for TextWidgets.
Reimplemented from omgui::api::Widget.
Reimplemented in omgui::api::EntryBox, omgui::api::SecureEntryBox, and omgui::api::TextBox.
typedef omgui::initializer::WidgetData omgui::api::Widget::data_type [inherited] |
Initialization data used for Widgets.
Reimplemented in omgui::api::Button, omgui::api::ComboBox, omgui::api::EntryBox, omgui::api::Notebook, omgui::api::Panel, omgui::api::SecureEntryBox, omgui::api::TableLayout, omgui::api::TextBox, omgui::api::TextWidget, and omgui::api::Window.
typedef omgui::TextWidget omgui::api::TextWidget::wrapper_type [inherited] |
Reimplemented from omgui::api::Widget.
Reimplemented in omgui::api::EntryBox, omgui::api::SecureEntryBox, and omgui::api::TextBox.
typedef omgui::Widget omgui::api::Widget::wrapper_type [inherited] |
virtual void omgui::api::TextWidget::delete_range | ( | const omgui::TextRange & | range | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::destroy | ( | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::enable | ( | bool | e | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void* omgui::api::Widget::get_handle | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual omgui::text_range_t omgui::api::TextWidget::get_insertion_point | ( | ) | const [pure virtual, inherited] |
virtual omgui::text_range_t omgui::api::TextWidget::get_length | ( | ) | const [pure virtual, inherited] |
virtual omgui::Size omgui::api::Widget::get_max_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual omgui::Size omgui::api::Widget::get_min_size | ( | ) | const [pure virtual, inherited] |
virtual omgui::Size omgui::api::Widget::get_natural_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual Pointer<omgui::Panel> omgui::api::Widget::get_parent | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Panel, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual Pointer<omgui::Window> omgui::api::Widget::get_parent_window | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual omgui::Point omgui::api::Widget::get_position | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual omgui::Rect omgui::api::Widget::get_rect | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual bool omgui::api::TextWidget::get_selection_bounds | ( | omgui::TextRange & | range | ) | const [pure virtual, inherited] |
virtual omgui::TextRange omgui::api::TextWidget::get_selection_range | ( | ) | const [pure virtual, inherited] |
virtual omgui::Size omgui::api::Widget::get_size | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual string omgui::api::TextWidget::get_text | ( | const omgui::TextRange & | range | ) | const [pure virtual, inherited] |
virtual string omgui::api::TextWidget::get_text | ( | ) | const [pure virtual, inherited] |
T* omgui::common::Widget::get_wrapper | ( | ) | [inline, inherited] |
const T* omgui::common::Widget::get_wrapper | ( | ) | const [inline, inherited] |
omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | [inline, inherited] |
const omgui::Widget* omgui::common::Widget::get_wrapper | ( | ) | const [inline, inherited] |
omgui::object_id omgui::common::Widget::get_wrapper_id | ( | ) | const [inherited] |
virtual omgui::text_range_t omgui::api::TextWidget::insert_text | ( | const string & | str | ) | [pure virtual, inherited] |
virtual omgui::text_range_t omgui::api::TextWidget::insert_text | ( | const string & | str, | |
omgui::text_range_t | pos | |||
) | [pure virtual, inherited] |
virtual bool omgui::api::Widget::is_enabled | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual bool omgui::api::Widget::is_hidden | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, and omgui::win32::Widget.
virtual bool omgui::api::TextWidget::is_read_only | ( | ) | const [pure virtual, inherited] |
virtual bool omgui::api::Widget::is_shown | ( | ) | const [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::TextWidget::set_insertion_point | ( | omgui::text_range_t | pos | ) | [pure virtual, inherited] |
virtual void omgui::api::TextWidget::set_max_length | ( | omgui::text_range_t | len | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::set_max_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_min_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Panel, omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_natural_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::Widget::set_position | ( | const omgui::Point & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Widget, omgui::cocoa::Window, omgui::gtk2::Panel, omgui::gtk2::Widget, omgui::gtk2::Window, and omgui::win32::Widget.
virtual void omgui::api::TextWidget::set_read_only | ( | bool | b | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::set_rect | ( | const omgui::Rect & | ) | [pure virtual, inherited] |
Implemented in omgui::cocoa::Notebook, omgui::cocoa::TableLayout, omgui::cocoa::Widget, omgui::gtk2::Widget, and omgui::win32::Widget.
virtual void omgui::api::TextWidget::set_selection_bounds | ( | const omgui::TextRange & | range | ) | [pure virtual, inherited] |
virtual void omgui::api::TextWidget::set_selection_range | ( | const omgui::TextRange & | range | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::set_size | ( | const omgui::Size & | ) | [pure virtual, inherited] |
virtual void omgui::api::TextWidget::set_text | ( | const string & | s | ) | [pure virtual, inherited] |
virtual void omgui::api::Widget::show | ( | bool | show, | |
bool | focus | |||
) | [pure virtual, inherited] |