clanGUI Components

Classes

class  clan::BrowseFolderDialog
 BrowseFolderDialog component. More...
 
class  clan::CheckBox
 Check box component. More...
 
class  clan::ComboBox
 Combo box component. More...
 
class  clan::DragBox
 Drag box component. More...
 
class  clan::Frame
 Frame component. More...
 
class  clan::GroupBox
 Group box component. More...
 
class  clan::ImageView
 Frame component. More...
 
class  clan::Label
 Check box component. More...
 
class  clan::LineEdit
 Single line edit component. More...
 
class  clan::ListView
 List view component. More...
 
class  clan::ListViewColumnData
 ListView column data. More...
 
class  clan::ListViewColumnHeader
 ListView column header class. More...
 
class  clan::ListViewHeader
 ListViewHeader component. More...
 
class  clan::ListViewIcon
 ListView icon. More...
 
class  clan::ListViewIconList
 ListView icon list. More...
 
class  clan::ListViewItem
 ListView item. More...
 
class  clan::ListViewItemUserData
 
class  clan::ListViewSelectedItem
 ListView selected item. More...
 
class  clan::ListViewSelection
 ListView selection. More...
 
class  clan::MenuBar
 Menu bar component. More...
 
class  clan::OpenFileDialog
 OpenFileDialog component. More...
 
class  clan::PopupMenu
 Pop-up menu. More...
 
class  clan::PopupMenuItem
 Popup menu item. More...
 
class  clan::ProgressBar
 Progress bar component. More...
 
class  clan::PushButton
 Push button component. More...
 
class  clan::RadioButton
 Radio button component. More...
 
class  clan::SaveFileDialog
 SaveFileDialog component. More...
 
class  clan::ScrollBar
 Scroll bar component. More...
 
class  clan::Slider
 Track bar component. More...
 
class  clan::Spin
 Spin component. More...
 
class  clan::StatusBar
 Status bar component. More...
 
class  clan::Tab
 Tab component. More...
 
class  clan::TabPage
 Tab component. More...
 
class  clan::TextEdit
 Text edit component. More...
 
class  clan::ToolBar
 Tool bar component. More...
 
class  clan::ToolBarItem
 Toolbar menu item. More...
 
class  clan::ToolTip
 Tool tip component. More...
 
class  clan::Window
 Window component. More...
 

Enumerations

enum  clan::MessageBoxButtons { clan::mb_buttons_yes_no, clan::mb_buttons_yes_no_cancel, clan::mb_buttons_ok, clan::mb_buttons_ok_cancel }
 
enum  clan::MessageBoxIcon {
  clan::mb_icon_none, clan::mb_icon_warning, clan::mb_icon_info, clan::mb_icon_error,
  clan::mb_icon_question
}
 
enum  clan::MessageBoxResult { clan::mb_result_yes, clan::mb_result_no, clan::mb_result_cancel, clan::mb_result_ok }
 

Functions

virtual clan::ListViewItemUserData::~ListViewItemUserData ()
 
MessageBoxResult clan::message_box (GUIComponent *owner, std::string title, std::string detail_text, MessageBoxButtons buttons, MessageBoxIcon icon)
 
MessageBoxResult clan::message_box (GUIManager *gui_manager, std::string title, std::string detail_text, MessageBoxButtons buttons, MessageBoxIcon icon)
 

Construction

 clan::CheckBox::CheckBox (GUIComponent *parent)
 Constructs a CheckBox. More...
 
virtual clan::CheckBox::~CheckBox ()
 

Attributes

static CheckBoxclan::CheckBox::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child CheckBox with the specified component ID name. More...
 
bool clan::CheckBox::is_indeterminated () const
 Is Indeterminated. More...
 
bool clan::CheckBox::is_checked () const
 Is Checked. More...
 
bool clan::CheckBox::is_3state () const
 Is 3state. More...
 
const std::string & clan::CheckBox::get_text () const
 

Operations

void clan::CheckBox::set_indeterminated ()
 Set indeterminated. More...
 
void clan::CheckBox::set_checked (bool enable)
 Set checked. More...
 
void clan::CheckBox::set_3state (bool enable)
 Set 3state. More...
 
void clan::CheckBox::set_text (const std::string &text)
 Set text. More...
 

Events

Callback_v0clan::CheckBox::func_checked ()
 Func checked. More...
 
Callback_v0clan::CheckBox::func_unchecked ()
 Func unchecked. More...
 
Callback_v0clan::CheckBox::func_indeterminated ()
 Func indeterminated. More...
 
Callback_v0clan::CheckBox::func_state_changed ()
 Func state changed. More...
 

Construction

 clan::ComboBox::ComboBox (GUIComponent *parent)
 Constructs a ComboBox. More...
 
virtual clan::ComboBox::~ComboBox ()
 

Attributes

static ComboBoxclan::ComboBox::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ComboBox with the specified component ID name. More...
 
bool clan::ComboBox::is_editable () const
 Is Editable. More...
 
int clan::ComboBox::get_dropdown_height () const
 Get Dropdown height. More...
 
int clan::ComboBox::get_selected_item () const
 Get Selected item. More...
 
std::string clan::ComboBox::get_text () const
 Get Text. More...
 
std::string clan::ComboBox::get_item (int index) const
 Get item. More...
 

Operations

void clan::ComboBox::set_editable (bool enable=true)
 Set editable. More...
 
void clan::ComboBox::set_dropdown_height (int height)
 Set dropdown height. More...
 
void clan::ComboBox::set_dropdown_minimum_width (int min_width)
 Set dropdown minimum width. More...
 
void clan::ComboBox::set_text (const std::string &text)
 Set text. More...
 
void clan::ComboBox::set_selected_item (int index)
 Set selected item. More...
 
void clan::ComboBox::set_popup_menu (PopupMenu &menu)
 Set popup menu. More...
 

Events

Callback_v0clan::ComboBox::func_dropdown_opened ()
 Func dropdown opened. More...
 
Callback_v0clan::ComboBox::func_dropdown_closed ()
 Func dropdown closed. More...
 
Callback_v0clan::ComboBox::func_enter_pressed ()
 Func enter pressed. More...
 
Callback_v0clan::ComboBox::func_before_edit_changed ()
 Func before edit changed. More...
 
Callback_v0clan::ComboBox::func_after_edit_changed ()
 Func after edit changed. More...
 
Callback_v1< int > & clan::ComboBox::func_item_selected ()
 Func after item selected. More...
 
Callback_v1< int > & clan::ComboBox::func_selection_changed ()
 Func after selection changed. More...
 

Construction

 clan::DragBox::DragBox (GUIComponent *parent)
 Constructs a DragBox. More...
 
 clan::DragBox::DragBox (GUIManager *manager, const GUITopLevelDescription &description)
 Constructs a DragBox. More...
 
virtual clan::DragBox::~DragBox ()
 

Attributes

static DragBoxclan::DragBox::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child DragBox with the specified component ID name. More...
 

Construction

 clan::BrowseFolderDialog::BrowseFolderDialog (GUIComponent *owner)
 Constructs an browse folder dialog. More...
 
virtual clan::BrowseFolderDialog::~BrowseFolderDialog ()
 

Attributes

std::string clan::BrowseFolderDialog::get_selected_path () const
 Get the full path of the directory selected. More...
 

Operations

void clan::BrowseFolderDialog::set_initial_directory (const std::string &path)
 Sets the initial directory that is displayed. More...
 
void clan::BrowseFolderDialog::set_title (const std::string &title)
 Sets the text that appears in the title bar. More...
 
bool clan::BrowseFolderDialog::show ()
 Shows the file dialog. More...
 

Construction

 clan::Frame::Frame (GUIComponent *parent)
 Constructs a Frame. More...
 
virtual clan::Frame::~Frame ()
 

Attributes

static Frameclan::Frame::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child Frame with the specified component ID name. More...
 
Sprite clan::Frame::get_header_icon () const
 Get Header icon. More...
 
std::string clan::Frame::get_header_text () const
 Get Header text. More...
 

Operations

void clan::Frame::set_header_icon (const Sprite &icon)
 Set header icon. More...
 
void clan::Frame::set_header_text (const std::string &text)
 Set header text. More...
 

Construction

 clan::GroupBox::GroupBox (GUIComponent *parent)
 Constructs a GroupBox. More...
 
virtual clan::GroupBox::~GroupBox ()
 

Attributes

static GroupBoxclan::GroupBox::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child GroupBox with the specified component ID name. More...
 

Construction

 clan::ImageView::ImageView (GUIComponent *parent)
 Constructs a ImageView. More...
 
virtual clan::ImageView::~ImageView ()
 

Attributes

static ImageViewclan::ImageView::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ImageView with the specified component ID name. More...
 
Sprite clan::ImageView::get_sprite () const
 Get Sprite. More...
 
Image clan::ImageView::get_image () const
 Get Image. More...
 

Operations

void clan::ImageView::set_sprite (const Sprite &image)
 Set sprite. More...
 
void clan::ImageView::set_image (const Image &image)
 Set image. More...
 
void clan::ImageView::set_image (const PixelBuffer &image)
 Set image. More...
 
void clan::ImageView::set_scale_to_fit (bool enable)
 Set scale to fit. More...
 
void clan::ImageView::set_scale (float x, float y)
 Set scale. More...
 
float clan::ImageView::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::ImageView::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Construction

 clan::Label::Label (GUIComponent *parent)
 Constructs a Label. More...
 
virtual clan::Label::~Label ()
 

Attributes

enum  clan::Label::Alignment { clan::Label::align_left, clan::Label::align_center, clan::Label::align_right, clan::Label::align_justify }
 
static Labelclan::Label::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child Label with the specified component ID name. More...
 
Alignment clan::Label::get_alignment () const
 Get Alignment. More...
 
const std::string & clan::Label::get_text () const
 Get Text. More...
 
float clan::Label::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::Label::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Operations

void clan::Label::set_text (const std::string &text)
 Set text. More...
 
void clan::Label::set_text_color (const Colorf color)
 
void clan::Label::set_alignment (Alignment alignment)
 Set alignment. More...
 

Construction

 clan::LineEdit::LineEdit (GUIComponent *parent)
 Constructs a LineEdit. More...
 
virtual clan::LineEdit::~LineEdit ()
 

Attributes

enum  clan::LineEdit::Alignment { clan::LineEdit::align_left, clan::LineEdit::align_center, clan::LineEdit::align_right }
 
static LineEditclan::LineEdit::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child LineEdit with the specified component ID name. More...
 
Alignment clan::LineEdit::get_alignment () const
 Get Alignment. More...
 
bool clan::LineEdit::is_read_only () const
 Is Read only. More...
 
bool clan::LineEdit::is_lowercase () const
 Is Lowercase. More...
 
bool clan::LineEdit::is_uppercase () const
 Is Uppercase. More...
 
bool clan::LineEdit::is_password_mode () const
 Is Password mode. More...
 
int clan::LineEdit::get_max_length () const
 Get Max length. More...
 
std::string clan::LineEdit::get_text () const
 Get Text. More...
 
int clan::LineEdit::get_text_int () const
 Returns the text converted to integer. More...
 
float clan::LineEdit::get_text_float () const
 Returns the text converted to float. More...
 
std::string clan::LineEdit::get_selection () const
 Get Selection. More...
 
int clan::LineEdit::get_selection_start () const
 Get Selection start. More...
 
int clan::LineEdit::get_selection_length () const
 Get Selection length. More...
 
int clan::LineEdit::get_cursor_pos () const
 Get Cursor pos. More...
 
Size clan::LineEdit::get_text_size ()
 Returns the size (pixels) of the text in the lineedit, or of the string given as parameter. More...
 
Size clan::LineEdit::get_text_size (const std::string &str)
 Get text size. More...
 
float clan::LineEdit::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::LineEdit::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Operations

void clan::LineEdit::set_select_all_on_focus_gain (bool enable)
 
void clan::LineEdit::select_all ()
 Select all. More...
 
void clan::LineEdit::set_alignment (Alignment alignment)
 Set alignment. More...
 
void clan::LineEdit::set_read_only (bool enable=true)
 Set read only. More...
 
void clan::LineEdit::set_lowercase (bool enable=true)
 Set lowercase. More...
 
void clan::LineEdit::set_uppercase (bool enable=true)
 Set uppercase. More...
 
void clan::LineEdit::set_password_mode (bool enable=true)
 Set password mode. More...
 
void clan::LineEdit::set_numeric_mode (bool enable=true, bool decimals=false)
 Set numeric mode. More...
 
void clan::LineEdit::set_max_length (int length)
 Set max length. More...
 
void clan::LineEdit::set_text (const std::string &text)
 Set text. More...
 
void clan::LineEdit::set_text (int number)
 Set text. More...
 
void clan::LineEdit::set_text (float number, int num_decimal_places=6)
 Set text. More...
 
void clan::LineEdit::set_selection (int pos, int length)
 Set selection. More...
 
void clan::LineEdit::clear_selection ()
 Clear selection. More...
 
void clan::LineEdit::set_cursor_pos (int pos)
 Set cursor pos. More...
 
void clan::LineEdit::delete_selected_text ()
 Delete selected text. More...
 
void clan::LineEdit::resize_to_fit (int max_width)
 Resize the components width so that its whole text becomes visible. More...
 
void clan::LineEdit::set_input_mask (const std::string &mask)
 Use mask to restrict accepted input. More...
 
void clan::LineEdit::set_decimal_character (const std::string &decimal_char)
 Set decimal character. More...
 
void clan::LineEdit::set_cursor_drawing_enabled (bool enable)
 Set cursor drawing enabled/disabled. More...
 

Events

Callback_v1< InputEvent & > & clan::LineEdit::func_before_edit_changed ()
 
Callback_v1< InputEvent & > & clan::LineEdit::func_after_edit_changed ()
 
Callback_v0clan::LineEdit::func_selection_changed ()
 Func selection changed. More...
 
Callback_v0clan::LineEdit::func_focus_gained ()
 Callback invoked after the lineedit gained focus. More...
 
Callback_v0clan::LineEdit::func_focus_lost ()
 Callback invoked when the lineedit is about to lose focus. More...
 
Callback_v0clan::LineEdit::func_enter_pressed ()
 Func enter pressed. More...
 

Construction

 clan::ListView::ListView (GUIComponent *parent)
 Constructs a ListView. More...
 
virtual clan::ListView::~ListView ()
 

Attributes

static ListViewclan::ListView::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ListView with the specified component ID name. More...
 
int clan::ListView::get_scroll_position ()
 Get current listview scrollbar position. More...
 
int clan::ListView::get_scroll_max_position ()
 Get maximal listview scrollbar position. More...
 
ListViewHeaderclan::ListView::get_header () const
 Get Header. More...
 
ListViewItem clan::ListView::get_document_item () const
 Get Document item. More...
 
bool clan::ListView::get_select_whole_row () const
 Get Select whole row. More...
 
ListViewIconList clan::ListView::get_icon_list () const
 Get Icon list. More...
 
ListViewSelection clan::ListView::get_selected_items () const
 Returns a container class holding the selected items in a linked list structure. More...
 
ListViewItem clan::ListView::get_selected_item ()
 Returns the currently selected item in single selection mode. More...
 
Size clan::ListView::get_css_size () const
 Returns the preferred size of the component, as defined in its CSS file. More...
 
ListViewDisplayMode clan::ListView::get_display_mode () const
 Get Display mode. More...
 

Operations

ListViewItem clan::ListView::create_item ()
 Create item. More...
 
void clan::ListView::set_scroll_position (int pos)
 Set listview scrollbar position. More...
 
void clan::ListView::on_process_message (std::shared_ptr< GUIMessage > &msg)
 On process message. More...
 
void clan::ListView::set_select_whole_row (bool value)
 When true, the whole row is drawn selected, as opposed to only the first column. More...
 
void clan::ListView::set_multi_select (bool value)
 When true, multiple items can be selected. More...
 
void clan::ListView::set_display_mode (ListViewDisplayMode mode)
 Set display mode. More...
 
void clan::ListView::show_detail_icon (bool enable=true)
 Set if icons are shown in the detail display mode. More...
 
void clan::ListView::show_detail_opener (bool enable=true)
 Set if node opener is shown in the detail display mode. More...
 
void clan::ListView::clear ()
 Remove all items. More...
 
void clan::ListView::clear_selection ()
 Unselect all selected items. More...
 
void clan::ListView::set_selected (ListViewItem &item, bool selected=true)
 Set selected. More...
 
ListViewItem clan::ListView::find (const std::string &col_id, const std::string &str, bool recursive=true)
 Returns a ListViewItem with the string 'str' in the column 'col_id' or a NULL item if none found. More...
 
ListViewItem clan::ListView::find (int id, bool recursive=true)
 Returns the first ListViewItem with the specified ID, or a NULL item if none found. More...
 
ListViewItem clan::ListView::find (std::shared_ptr< ListViewItemUserData > userdata, bool recursive=true)
 Returns a ListViewItem with the userdata 'ptr', or a NULL item if none found. More...
 

Events

Callback_v1< ListViewSelection > & clan::ListView::func_selection_changed ()
 Selected items are returned as children of the returned item. More...
 
Callback_v1< const ListViewItem & > & clan::ListView::func_item_doubleclick ()
 Invoked on double clicking a listview item. More...
 
Callback_2< bool, ListViewItem, std::string & > & clan::ListView::func_item_edited ()
 Invoked when enter is pressed in the ListViews built-in LineEdit control. The caller may change the passed string. Returning false from the callback cancels the edit. More...
 
Callback_v1< InputEvent & > & clan::ListView::func_key_pressed ()
 
Callback_v1< InputEvent & > & clan::ListView::func_key_released ()
 
Callback_v1< Point > & clan::ListView::func_mouse_right_up ()
 Callback called when the right mouse button is released (a click). Use this callback for listview context menus. Click position sent as parameter. More...
 
Callback_v1< const ListViewItem & > & clan::ListView::func_item_opened ()
 Callback called when an item node is opened. More...
 
Callback_v1< const ListViewItem & > & clan::ListView::func_item_closed ()
 Callback called when an item node is closed. More...
 
Callback_v0clan::ListView::func_begin_drag ()
 Callback called when the user begins a drag'n'drop action. More...
 

Implementation

class clan::ListView::ListViewRenderer
 

Construction

 clan::ListViewColumnData::ListViewColumnData ()
 
 clan::ListViewColumnData::~ListViewColumnData ()
 

Attributes

std::string clan::ListViewColumnData::get_text () const
 Get Text. More...
 
std::string clan::ListViewColumnData::get_column_id () const
 Get Column id. More...
 

Operations

void clan::ListViewColumnData::set_text (const std::string &text)
 Set text. More...
 
void clan::ListViewColumnData::set_column_id (const std::string &column_id)
 Set column id. More...
 

Construction

 clan::ListViewColumnHeader::ListViewColumnHeader ()
 
 clan::ListViewColumnHeader::~ListViewColumnHeader ()
 

Attributes

enum  clan::ListViewColumnHeader::TextAlignment { clan::ListViewColumnHeader::align_left, clan::ListViewColumnHeader::align_right, clan::ListViewColumnHeader::align_center }
 
bool clan::ListViewColumnHeader::is_null () const
 Returns true if this object is invalid. More...
 
void clan::ListViewColumnHeader::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
std::string clan::ListViewColumnHeader::get_column_id () const
 Get Column id. More...
 
std::string clan::ListViewColumnHeader::get_caption () const
 Get Caption. More...
 
int clan::ListViewColumnHeader::get_width ()
 Get Width. More...
 
int clan::ListViewColumnHeader::get_used_width ()
 Returns the used width (last column expanded to the rest of the list view) More...
 
ListViewColumnHeader::TextAlignment clan::ListViewColumnHeader::get_alignment ()
 
ListViewColumnHeader clan::ListViewColumnHeader::get_next_sibling ()
 Get Next sibling. More...
 
ListViewColumnHeader clan::ListViewColumnHeader::get_prev_sibling ()
 Get Prev sibling. More...
 

Operations

void clan::ListViewColumnHeader::set_alignment (ListViewColumnHeader::TextAlignment align)
 Set alignment. More...
 
void clan::ListViewColumnHeader::set_width (int width)
 Set width. More...
 
void clan::ListViewColumnHeader::set_caption (const std::string &str)
 Set caption. More...
 
void clan::ListViewColumnHeader::set_column_id (const std::string &str)
 Set column id. More...
 

Events

Callback_v1< ListViewColumnHeader > & clan::ListViewColumnHeader::func_size_changed ()
 

Implementation

class clan::ListViewColumnHeader::ListView_Impl
 
class clan::ListViewColumnHeader::ListViewHeader
 
class clan::ListViewColumnHeader::ListViewHeader_Impl
 

Construction

 clan::ListViewHeader::ListViewHeader (GUIComponent *parent)
 Constructs a ListViewHeader. More...
 
 clan::ListViewHeader::~ListViewHeader ()
 

Attributes

ListViewColumnHeader clan::ListViewHeader::get_first_column ()
 Get First column. More...
 
ListViewColumnHeader clan::ListViewHeader::get_column (const std::string &column_id)
 Get column. More...
 
bool clan::ListViewHeader::get_visible () const
 Get Visible. More...
 
virtual Size clan::ListViewHeader::get_css_size () const
 Get Preferred size. More...
 

Operations

ListViewColumnHeader clan::ListViewHeader::create_column (const std::string &column_id, const std::string &caption)
 Create column. More...
 
ListViewColumnHeader clan::ListViewHeader::append (ListViewColumnHeader column)
 Append. More...
 
ListViewColumnHeader clan::ListViewHeader::remove (const std::string &column_id)
 Remove. More...
 
ListViewColumnHeader clan::ListViewHeader::insert_after (const std::string &column_id, ListViewColumnHeader new_column)
 Insert after. More...
 
ListViewColumnHeader clan::ListViewHeader::insert_before (const std::string &column_id, ListViewColumnHeader new_column)
 Insert before. More...
 
void clan::ListViewHeader::set_display_mode (ListViewDisplayMode mode)
 Set display mode. More...
 

Events

Callback_v1< ListViewColumnHeader > & clan::ListViewHeader::func_column_added ()
 
Callback_v1< ListViewColumnHeader > & clan::ListViewHeader::func_column_removed ()
 
Callback_v1< ListViewColumnHeader > & clan::ListViewHeader::func_column_size_changed ()
 

Implementation

class clan::ListViewHeader::ListView_Impl
 

Construction

 clan::ListViewIcon::ListViewIcon ()
 
 clan::ListViewIcon::~ListViewIcon ()
 

Attributes

Sprite clan::ListViewIcon::get_sprite (ListViewDisplayMode mode)
 Get sprite. More...
 
PixelBuffer clan::ListViewIcon::get_pixel_buffer (ListViewDisplayMode mode)
 Get pixel buffer. More...
 
Point clan::ListViewIcon::get_offset (ListViewDisplayMode mode)
 Get offset. More...
 
bool clan::ListViewIcon::is_scalable () const
 Is Scalable. More...
 

Operations

void clan::ListViewIcon::set_sprite (const Sprite &sprite, ListViewDisplayMode mode)
 Set sprite. More...
 
void clan::ListViewIcon::set_offset (const Point &offset, ListViewDisplayMode mode)
 
void clan::ListViewIcon::set_pixel_buffer (PixelBuffer &pbuf, ListViewDisplayMode mode)
 Set pixel buffer. More...
 
void clan::ListViewIcon::draw (Canvas &canvas, const Rect &rect, ListViewDisplayMode mode, const Colorf &color)
 Draw. More...
 
void clan::ListViewIcon::set_scalable (bool value)
 Set scalable. More...
 

Construction

 clan::ListViewIconList::ListViewIconList ()
 
 clan::ListViewIconList::~ListViewIconList ()
 

Attributes

ListViewIcon clan::ListViewIconList::get_icon (int index)
 Get icon. More...
 
Colorf clan::ListViewIconList::get_color ()
 Get Color. More...
 
Colorf clan::ListViewIconList::get_selected_color ()
 Get Selected color. More...
 
Colorf clan::ListViewIconList::get_color_overlay ()
 Get Color overlay. More...
 
Colorf clan::ListViewIconList::get_selected_color_overlay ()
 Get Selected color overlay. More...
 

Operations

void clan::ListViewIconList::clear ()
 Clear the icon list. More...
 
void clan::ListViewIconList::erase (int index)
 Erase the icon at the specified index. More...
 
void clan::ListViewIconList::set_icon (int index, const ListViewIcon &icon)
 Set the icon at the specified index. More...
 
void clan::ListViewIconList::set_color (const Colorf &color)
 Set color. More...
 
void clan::ListViewIconList::set_selected_color (const Colorf &color)
 Set selected color. More...
 
void clan::ListViewIconList::set_color_overlay (const Colorf &color)
 Set color overlay. More...
 
void clan::ListViewIconList::set_selected_color_overlay (const Colorf &color)
 Set selected color overlay. More...
 

Construction

 clan::ListViewItem::ListViewItem ()
 Construct a null instance. More...
 
 clan::ListViewItem::~ListViewItem ()
 

Attributes

bool clan::ListViewItem::is_null () const
 Returns true if this object is invalid. More...
 
void clan::ListViewItem::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
bool clan::ListViewItem::is_item () const
 Is Item. More...
 
ListViewColumnData clan::ListViewItem::get_column (const std::string &column_id)
 Get column. More...
 
ListViewItem clan::ListViewItem::get_parent ()
 Get Parent. More...
 
ListViewItem clan::ListViewItem::get_next_sibling ()
 Get Next sibling. More...
 
ListViewItem clan::ListViewItem::get_prev_sibling ()
 Get Prev sibling. More...
 
ListViewItem clan::ListViewItem::get_first_child ()
 Get First child. More...
 
ListViewItem clan::ListViewItem::get_last_child ()
 Get Last child. More...
 
ListViewItem clan::ListViewItem::get_document_item ()
 Get Document item. More...
 
int clan::ListViewItem::get_parent_count ()
 Get Parent count. More...
 
int clan::ListViewItem::get_child_count (bool recursive=false, bool recurse_only_into_open_items=false)
 Get child count. More...
 
bool clan::ListViewItem::has_children () const
 Has children. More...
 
bool clan::ListViewItem::is_open () const
 Is Open. More...
 
bool clan::ListViewItem::is_selected () const
 Is Selected. More...
 
bool clan::ListViewItem::is_editable () const
 Is Editable. More...
 
int clan::ListViewItem::get_icon () const
 Get the item icon id. Defaults to 0 if unset. More...
 
int clan::ListViewItem::get_id () const
 Get the item id. Defaults to 0 if unset. More...
 
std::shared_ptr< ListViewItemUserDataclan::ListViewItem::get_userdata () const
 Get Userdata. More...
 
bool clan::ListViewItem::operator== (ListViewItem &other) const
 
bool clan::ListViewItem::operator!= (ListViewItem &other) const
 
std::vector< int > clan::ListViewItem::get_overlay_icons ()
 

Operations

ListViewItem clan::ListViewItem::append_child (ListViewItem &item)
 Append child. More...
 
ListViewItem clan::ListViewItem::remove ()
 Removes this item from the item tree. More...
 
void clan::ListViewItem::remove_children ()
 Remove all children of this item. More...
 
void clan::ListViewItem::set_column_text (const std::string &column_id, const std::string &text)
 Set column text. More...
 
void clan::ListViewItem::set_open (bool open)
 Set open. More...
 
void clan::ListViewItem::set_icon (int icon_index)
 Set icon. More...
 
void clan::ListViewItem::set_id (int id)
 Set the item id. Defaults to 0 if unset. More...
 
void clan::ListViewItem::add_overlay_icon (int icon_index)
 Add overlay icon. More...
 
void clan::ListViewItem::remove_overlay_icon (int icon_index)
 Remove overlay icon. More...
 
void clan::ListViewItem::set_editable (bool editable)
 Set editable. More...
 
void clan::ListViewItem::set_userdata (std::shared_ptr< ListViewItemUserData > ptr)
 Set userdata. More...
 

Events

Callback_v1< Rect > & clan::ListViewItem::func_render_icon ()
 

Implementation

class clan::ListViewItem::ListView
 
class clan::ListViewItem::ListView_Impl
 
class clan::ListViewItem::ListViewSelection
 
class clan::ListViewItem::ListViewLayout
 

Construction

 clan::ListViewSelectedItem::ListViewSelectedItem ()
 Contruct a null instance. More...
 
 clan::ListViewSelectedItem::ListViewSelectedItem (const ListViewItem &item)
 Constructs a ListViewSelectedItem. More...
 

Attributes

bool clan::ListViewSelectedItem::is_null () const
 Returns true if this object is invalid. More...
 
void clan::ListViewSelectedItem::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
bool clan::ListViewSelectedItem::is_item () const
 Is Item. More...
 
ListViewItem clan::ListViewSelectedItem::get_item ()
 Get Item. More...
 
ListViewSelectedItem clan::ListViewSelectedItem::prev ()
 Prev. More...
 
ListViewSelectedItem clan::ListViewSelectedItem::get_next_sibling ()
 Get Next sibling. More...
 

Implementation

class clan::ListViewSelectedItem::ListViewSelection
 

Construction

 clan::ListViewSelection::ListViewSelection ()
 

Attributes

ListViewSelectedItem clan::ListViewSelection::get_first ()
 Get First. More...
 
ListViewSelectedItem clan::ListViewSelection::get_last ()
 Get Last. More...
 

Operations

void clan::ListViewSelection::append (const ListViewItem &item)
 Append. More...
 
void clan::ListViewSelection::remove (const ListViewItem &item)
 Remove. More...
 
void clan::ListViewSelection::clear ()
 Clear. More...
 

Construction

 clan::MenuBar::MenuBar (GUIComponent *parent)
 Constructs a MenuBar. More...
 
virtual clan::MenuBar::~MenuBar ()
 

Attributes

static MenuBarclan::MenuBar::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child MenuBar with the specified component ID name. More...
 
virtual Size clan::MenuBar::get_css_size () const
 Get Preferred size. More...
 
PopupMenu clan::MenuBar::get_menu (int index) const
 Get menu. More...
 

Operations

void clan::MenuBar::clear ()
 Clear. More...
 
int clan::MenuBar::add_menu (const std::string &name, PopupMenu popup_menu)
 Add menu. More...
 
void clan::MenuBar::remove_menu (int index)
 Remove menu. More...
 

Implementation

class clan::MenuBar::MenuModalLoop
 

Construction

 clan::OpenFileDialog::OpenFileDialog (GUIComponent *owner)
 Constructs an open file dialog. More...
 
virtual clan::OpenFileDialog::~OpenFileDialog ()
 

Attributes

std::string clan::OpenFileDialog::get_filename () const
 Get the full path of the file selected. More...
 
std::vector< std::string > clan::OpenFileDialog::get_filenames () const
 Gets an array that contains one file name for each selected file. More...
 

Operations

void clan::OpenFileDialog::set_multi_select (bool multiselect)
 Sets if multiple files can be selected or not. More...
 
void clan::OpenFileDialog::set_filename (const std::string &filename)
 Sets a string containing the full path of the file selected. More...
 
void clan::OpenFileDialog::add_filter (const std::string &filter_description, const std::string &filter_extension, bool is_default=false)
 Add a filter that determines what types of files are displayed. More...
 
void clan::OpenFileDialog::clear_filters ()
 Clears all filters. More...
 
void clan::OpenFileDialog::set_filter_index (int filter_index)
 Sets a default filter, on a 0-based index. More...
 
void clan::OpenFileDialog::set_initial_directory (const std::string &path)
 Sets the initial directory that is displayed. More...
 
void clan::OpenFileDialog::set_title (const std::string &title)
 Sets the text that appears in the title bar. More...
 
bool clan::OpenFileDialog::show ()
 Shows the file dialog. More...
 

Construction

 clan::PopupMenu::PopupMenu ()
 
virtual clan::PopupMenu::~PopupMenu ()
 
static PopupMenu clan::PopupMenu::create_null_object ()
 Create null object. More...
 

Attributes

bool clan::PopupMenu::is_null () const
 Returns true if this object is invalid. More...
 
void clan::PopupMenu::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
std::string clan::PopupMenu::get_class () const
 Get Class name. More...
 
PopupMenuItem clan::PopupMenu::get_item (int id)
 Get item. More...
 
PopupMenuItem clan::PopupMenu::get_item_at (int index)
 Get item at. More...
 
int clan::PopupMenu::get_item_count () const
 Item count. More...
 
int clan::PopupMenu::get_minimum_width () const
 Get Minimum width. More...
 
virtual Size clan::PopupMenu::get_css_size () const
 Get Preferred size. More...
 

Events

Callback_v0clan::PopupMenu::func_close ()
 bool func_close() More...
 

Operations

void clan::PopupMenu::start (GUIComponent *parent, const Point &pos)
 Start the popup menu for dialog (not modal) More...
 
PopupMenuItem clan::PopupMenu::insert_item (const std::string &text, int id=-1, int index=-1)
 Insert item. More...
 
PopupMenuItem clan::PopupMenu::insert_item_accel (const std::string &text, const std::string &accel_text="", int id=-1, int index=-1)
 Insert item accel. More...
 
PopupMenuItem clan::PopupMenu::insert_separator (int index=-1)
 Insert separator. More...
 
void clan::PopupMenu::set_minimum_width (int width_pixels)
 Set minimum width. More...
 
void clan::PopupMenu::set_maximum_height (int height_pixels)
 Set maximum height. More...
 
void clan::PopupMenu::set_class_name (const std::string &class_name)
 Set class name. More...
 
int clan::PopupMenu::find_item (const std::string &text, bool case_sensitive=false)
 Returns the index of the item that matches the start or the string furthest. More...
 
void clan::PopupMenu::clear ()
 Delete all menu items. More...
 

Implementation

class clan::PopupMenu::MenuBar
 
class clan::PopupMenu::MenuBar_Impl
 
class clan::PopupMenu::PopupMenuWindow
 

Construction

 clan::PopupMenuItem::PopupMenuItem ()
 Construct a null instance. More...
 
 clan::PopupMenuItem::PopupMenuItem (int id)
 Constructs a PopupMenuItem. More...
 
 clan::PopupMenuItem::PopupMenuItem (const std::shared_ptr< PopupMenuItem_Impl > &impl)
 Constructs a PopupMenuItem. More...
 
virtual clan::PopupMenuItem::~PopupMenuItem ()
 

Attributes

std::string clan::PopupMenuItem::get_text () const
 Get Text. More...
 
std::string clan::PopupMenuItem::get_accelerator_text () const
 Get Accelerator text. More...
 
int clan::PopupMenuItem::get_id () const
 Get Id. More...
 
bool clan::PopupMenuItem::is_null () const
 Returns true if this object is invalid. More...
 
void clan::PopupMenuItem::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
bool clan::PopupMenuItem::has_submenu () const
 Has submenu. More...
 
bool clan::PopupMenuItem::is_disabled () const
 Is Disabled. More...
 
bool clan::PopupMenuItem::is_separator () const
 Is Separator. More...
 
PopupMenu clan::PopupMenuItem::get_submenu ()
 Get Submenu. More...
 
bool clan::PopupMenuItem::is_checkable () const
 Is Checkable. More...
 
bool clan::PopupMenuItem::is_checked () const
 Is Checked. More...
 
PixelBuffer clan::PopupMenuItem::get_icon () const
 Get Icon. More...
 

Events

Callback_v0clan::PopupMenuItem::func_clicked ()
 Func clicked. More...
 

Operations

void clan::PopupMenuItem::set_id (int id)
 Set id. More...
 
void clan::PopupMenuItem::set_text (const std::string &text)
 Set text. More...
 
void clan::PopupMenuItem::set_icon (const PixelBuffer &image)
 Set icon. More...
 
void clan::PopupMenuItem::set_submenu (PopupMenu &submenu)
 Set submenu. More...
 
void clan::PopupMenuItem::set_enabled (bool enabled)
 Set enabled. More...
 
void clan::PopupMenuItem::set_separator (bool separator)
 Set separator. More...
 
void clan::PopupMenuItem::set_accelerator_text (const std::string &str)
 Set accelerator text. More...
 
void clan::PopupMenuItem::set_checkable (bool checkable)
 Set checkable. More...
 
void clan::PopupMenuItem::set_checked (bool checked)
 Set checked. More...
 

Construction

 clan::ProgressBar::ProgressBar (GUIComponent *parent)
 Constructs a ProgressBar. More...
 
virtual clan::ProgressBar::~ProgressBar ()
 

Attributes

static ProgressBarclan::ProgressBar::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ProgressBar with the specified component ID name. More...
 
int clan::ProgressBar::get_min () const
 Get Min. More...
 
int clan::ProgressBar::get_max () const
 Get Max. More...
 
int clan::ProgressBar::get_step_size () const
 Get Step size. More...
 
int clan::ProgressBar::get_position () const
 Get Position. More...
 
bool clan::ProgressBar::is_marquee_mode () const
 Is Marquee mode. More...
 
int clan::ProgressBar::get_marquee_animation_speed () const
 Get Marquee animation speed. More...
 
int clan::ProgressBar::get_marquee_box_width () const
 Get Marquee box width. More...
 
int clan::ProgressBar::get_marquee_step_size () const
 Get Marquee step size. More...
 

Operations

void clan::ProgressBar::set_min (int progress_min)
 Set min. More...
 
void clan::ProgressBar::set_max (int progress_max)
 Set max. More...
 
void clan::ProgressBar::set_range (int progress_min, int progress_max)
 Set range. More...
 
void clan::ProgressBar::set_step_size (int size)
 Set step size. More...
 
void clan::ProgressBar::set_position (int pos)
 Set position. More...
 
void clan::ProgressBar::advance_position (int pos)
 Advance position. More...
 
void clan::ProgressBar::step_position ()
 Step position. More...
 
void clan::ProgressBar::set_marquee_mode (bool enable)
 Set marquee mode. More...
 
void clan::ProgressBar::set_marquee_animation_speed (int milliseconds)
 Set marquee animation speed. More...
 
void clan::ProgressBar::set_marquee_box_width (int width)
 Set marquee box width. More...
 
void clan::ProgressBar::set_marquee_step_size (int size)
 Set marquee step size. More...
 

Construction

 clan::PushButton::PushButton (GUIComponent *parent)
 Constructs a PushButton. More...
 
virtual clan::PushButton::~PushButton ()
 

Attributes

enum  clan::PushButton::IconPosition { clan::PushButton::icon_left, clan::PushButton::icon_top, clan::PushButton::icon_right, clan::PushButton::icon_bottom }
 
static PushButtonclan::PushButton::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child PushButton with the specified component ID name. More...
 
bool clan::PushButton::is_pushed () const
 Is Pushed. More...
 
bool clan::PushButton::is_toggle () const
 Is Toggle. More...
 
Image clan::PushButton::get_icon () const
 Get Icon. More...
 
IconPosition clan::PushButton::get_icon_position () const
 Get Icon position. More...
 
const std::string & clan::PushButton::get_text () const
 
float clan::PushButton::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::PushButton::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Operations

void clan::PushButton::set_pushed (bool enable)
 Set pushed. More...
 
void clan::PushButton::set_toggle (bool enable)
 Set toggle. More...
 
void clan::PushButton::set_icon (const Image &icon)
 Set icon. More...
 
void clan::PushButton::set_icon_position (IconPosition pos)
 Set icon position. More...
 
void clan::PushButton::set_text (const std::string &text)
 Set text. More...
 

Events

Callback_v0clan::PushButton::func_clicked ()
 Func clicked. More...
 

Construction

 clan::RadioButton::RadioButton (GUIComponent *parent)
 Constructs a RadioButton. More...
 
virtual clan::RadioButton::~RadioButton ()
 

Attributes

static RadioButtonclan::RadioButton::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child RadioButton with the specified component ID name. More...
 
std::string clan::RadioButton::get_text () const
 Get Text. More...
 
int clan::RadioButton::get_radio_id () const
 Get Id. More...
 
bool clan::RadioButton::is_selected () const
 Is Selected. More...
 
std::string clan::RadioButton::get_group_name () const
 Get Group name. More...
 
float clan::RadioButton::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::RadioButton::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Operations

void clan::RadioButton::set_text (const std::string &text)
 Set text. More...
 
void clan::RadioButton::set_radio_id (int id)
 Set id. More...
 
void clan::RadioButton::set_selected (bool selected)
 Set selected. More...
 
void clan::RadioButton::set_group_name (const std::string &str)
 Set group name. More...
 

Events

Callback_v0clan::RadioButton::func_selected ()
 Func selected. More...
 
Callback_v0clan::RadioButton::func_unselected ()
 Func unselected. More...
 
Callback_v1< RadioButton * > & clan::RadioButton::func_group_selection_changed ()
 Callback invoked when any of the radio buttons in the group is selected. More...
 

Implementation

class clan::RadioButton::RadioButton_Impl
 

Construction

 clan::SaveFileDialog::SaveFileDialog (GUIComponent *owner)
 Constructs a save file dialog. More...
 
virtual clan::SaveFileDialog::~SaveFileDialog ()
 

Attributes

std::string clan::SaveFileDialog::get_filename () const
 Get the full path of the file selected. More...
 

Operations

void clan::SaveFileDialog::set_filename (const std::string &filename)
 Sets a string containing the full path of the file selected. More...
 
void clan::SaveFileDialog::add_filter (const std::string &filter_description, const std::string &filter_extension, bool is_default=false)
 Add a filter that determines what types of files are displayed. More...
 
void clan::SaveFileDialog::clear_filters ()
 Clears all filters. More...
 
void clan::SaveFileDialog::set_filter_index (int filter_index)
 Sets a default filter, on a 0-based index. More...
 
void clan::SaveFileDialog::set_initial_directory (const std::string &path)
 Sets the initial directory that is displayed. More...
 
void clan::SaveFileDialog::set_title (const std::string &title)
 Sets the text that appears in the title bar. More...
 
bool clan::SaveFileDialog::show ()
 Shows the file dialog. More...
 

Construction

 clan::ScrollBar::ScrollBar (GUIComponent *parent)
 Constructs a ScrollBar. More...
 
virtual clan::ScrollBar::~ScrollBar ()
 

Attributes

static ScrollBarclan::ScrollBar::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ScrollBar with the specified component ID name. More...
 
bool clan::ScrollBar::is_vertical () const
 Is Vertical. More...
 
bool clan::ScrollBar::is_horizontal () const
 Is Horizontal. More...
 
int clan::ScrollBar::get_min () const
 Get Min. More...
 
int clan::ScrollBar::get_max () const
 Get Max. More...
 
int clan::ScrollBar::get_line_step () const
 Get Line step. More...
 
int clan::ScrollBar::get_page_step () const
 Get Page step. More...
 
int clan::ScrollBar::get_position () const
 Get Position. More...
 

Operations

void clan::ScrollBar::set_vertical ()
 Set vertical. More...
 
void clan::ScrollBar::set_horizontal ()
 Set horizontal. More...
 
void clan::ScrollBar::set_min (int scroll_min)
 Set min. More...
 
void clan::ScrollBar::set_max (int scroll_max)
 Set max. More...
 
void clan::ScrollBar::set_line_step (int step)
 Set line step. More...
 
void clan::ScrollBar::set_page_step (int step)
 Set page step. More...
 
void clan::ScrollBar::set_ranges (int scroll_min, int scroll_max, int line_step, int page_step)
 Set ranges. More...
 
void clan::ScrollBar::calculate_ranges (int view_size, int total_size)
 Calculate the scrollbar range and page_step size for scrolling in pixels. More...
 
void clan::ScrollBar::set_position (int pos)
 Set position. More...
 
float clan::ScrollBar::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::ScrollBar::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Events

Callback_v0clan::ScrollBar::func_scroll ()
 Called for every type of scrollbar scrolling. More...
 
Callback_v0clan::ScrollBar::func_scroll_min ()
 Called when scrolled to minimum position. More...
 
Callback_v0clan::ScrollBar::func_scroll_max ()
 Called when scrolled to maximum position. More...
 
Callback_v0clan::ScrollBar::func_scroll_line_decrement ()
 Called when decrement button is clicked. More...
 
Callback_v0clan::ScrollBar::func_scroll_line_increment ()
 Called when increment button is clicked. More...
 
Callback_v0clan::ScrollBar::func_scroll_page_decrement ()
 Called when decrement track is clicked. More...
 
Callback_v0clan::ScrollBar::func_scroll_page_increment ()
 Called when increment track is clicked. More...
 
Callback_v0clan::ScrollBar::func_scroll_thumb_release ()
 Called when user released scroll thumb. More...
 
Callback_v0clan::ScrollBar::func_scroll_thumb_track ()
 Called as user moves the scroll thumb. More...
 
Callback_v0clan::ScrollBar::func_scroll_end ()
 Called when user releases the mouse after scrolling. More...
 

Construction

 clan::Slider::Slider (GUIComponent *parent)
 Constructs a Slider. More...
 
virtual clan::Slider::~Slider ()
 

Attributes

static Sliderclan::Slider::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child Slider with the specified component ID name. More...
 
bool clan::Slider::is_vertical () const
 Is Vertical. More...
 
bool clan::Slider::is_horizontal () const
 Is Horizontal. More...
 
int clan::Slider::get_min () const
 Get Min. More...
 
int clan::Slider::get_max () const
 Get Max. More...
 
int clan::Slider::get_tick_count () const
 Get Tick count. More...
 
int clan::Slider::get_page_step () const
 Get Page step. More...
 
int clan::Slider::get_position () const
 Get Position. More...
 
bool clan::Slider::get_lock_to_ticks () const
 Get Lock to ticks. More...
 
float clan::Slider::get_preferred_content_width ()
 Returns the preferred content width. More...
 
float clan::Slider::get_preferred_content_height (float width)
 Returns the preferred content height for the specified content width. More...
 

Operations

void clan::Slider::set_vertical (bool enable)
 Set vertical. More...
 
void clan::Slider::set_horizontal (bool enable)
 Set horizontal. More...
 
void clan::Slider::set_min (int slider_min)
 Set min. More...
 
void clan::Slider::set_max (int slider_max)
 Set max. More...
 
void clan::Slider::set_tick_count (int tick_count)
 Set tick count. More...
 
void clan::Slider::set_page_step (int steps)
 Set page step. More...
 
void clan::Slider::set_lock_to_ticks (bool lock)
 Set lock to ticks. More...
 
void clan::Slider::set_ranges (int slider_min, int slider_max, unsigned int tick_count, int page_step)
 Set ranges. More...
 
void clan::Slider::set_position (int pos)
 Set position. More...
 

Callbacks

Callback_v0clan::Slider::func_value_changed ()
 Emitted while the slider is being moved. More...
 
Callback_v0clan::Slider::func_value_decremented ()
 Emitted when the slider value is decremented (while moving or when clicking the track). More...
 
Callback_v0clan::Slider::func_value_incremented ()
 Emitted when the slider value is incremented. More...
 
Callback_v0clan::Slider::func_slider_moved ()
 Emitted after the slider has been moved. More...
 

Construction

 clan::Spin::Spin (GUIComponent *parent)
 Constructs a Spin. More...
 
virtual clan::Spin::~Spin ()
 

Attributes

static Spinclan::Spin::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child Spin with the specified component ID name. More...
 
int clan::Spin::get_value () const
 Get Value. More...
 
float clan::Spin::get_value_float () const
 Get Value float. More...
 
int clan::Spin::get_min () const
 Get Min. More...
 
int clan::Spin::get_max () const
 Get Max. More...
 
float clan::Spin::get_min_float () const
 Get Min float. More...
 
float clan::Spin::get_max_float () const
 Get Max float. More...
 
bool clan::Spin::get_floating_point_mode () const
 Get Floating point mode. More...
 

Operations

void clan::Spin::set_value (int value)
 Set value. More...
 
void clan::Spin::set_value_float (float value)
 Set value float. More...
 
void clan::Spin::set_ranges (int min, int max)
 Set ranges. More...
 
void clan::Spin::set_ranges_float (float min, float max)
 Set ranges float. More...
 
void clan::Spin::set_step_size (int step_size)
 Set step size. More...
 
void clan::Spin::set_step_size_float (float step_size)
 Set step size float. More...
 
void clan::Spin::set_number_of_decimal_places (int decimal_places)
 Set number of decimal places. More...
 
void clan::Spin::set_floating_point_mode (bool use_floating_point)
 Set floating point mode. More...
 

Events

Callback_v0clan::Spin::func_value_changed ()
 Func value changed. More...
 

Construction

 clan::StatusBar::StatusBar (GUIComponent *parent)
 Constructs a StatusBar. More...
 
virtual clan::StatusBar::~StatusBar ()
 

Attributes

static StatusBarclan::StatusBar::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child StatusBar with the specified component ID name. More...
 
Callback_v0clan::StatusBar::func_part_double_clicked (int id)
 Func part double clicked. More...
 

Operations

void clan::StatusBar::set_status_text (const std::string &text)
 Set status text. More...
 
void clan::StatusBar::set_part_text (int id, const std::string &text)
 Set part text. More...
 
void clan::StatusBar::set_part_text (int id, const Image &icon, const std::string &text)
 Set part text. More...
 
void clan::StatusBar::add_part (int id, int width, GUIComponent *component=0)
 Add part. More...
 
void clan::StatusBar::show_part (int id, bool show=true)
 Show part. More...
 
void clan::StatusBar::remove_part (int id)
 Remove part. More...
 
void clan::StatusBar::show_size_grip (bool show=true)
 Show size grip. More...
 

Construction

 clan::Tab::Tab (GUIComponent *parent)
 Constructs a Tab. More...
 
virtual clan::Tab::~Tab ()
 

Attributes

static Tabclan::Tab::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child Tab with the specified component ID name. More...
 
TabPageclan::Tab::get_page (int index) const
 Get page. More...
 
TabPageclan::Tab::get_page_by_id (int id) const
 Get page by id. More...
 
int clan::Tab::get_current_page_index () const
 Get Current page index. More...
 
int clan::Tab::get_current_page_id () const
 Get Current page id. More...
 
int clan::Tab::get_page_count () const
 returns the number of pages in the tab. More...
 

Events

Callback_v1< TabPage * > & clan::Tab::func_page_selected ()
 void func_page_selected(Page *tab_page) More...
 

Operations

TabPageclan::Tab::add_page (const std::string &label, int id=0)
 Create new tab page. By default the ID of the tab is 0. More...
 
void clan::Tab::show_page (int index)
 Show a page by its index. More...
 
void clan::Tab::show_page_by_id (int id)
 Show a page by its ID. In case of non-unique ID's the first match will be shown. More...
 
void clan::Tab::remove_page (int index)
 Remove a page by its index. More...
 
void clan::Tab::remove_page_by_id (int id)
 Remove a page by its ID. More...
 
void clan::Tab::set_label (int index, const std::string &new_label)
 Set the label of the component specified by index. More...
 
void clan::Tab::set_label_by_id (int id, const std::string &new_label)
 Set the label of the component specified by index. More...
 

Construction

 clan::TabPage::TabPage (GUIComponent *parent)
 Constructs a TabPage. More...
 
virtual clan::TabPage::~TabPage ()
 

Attributes

static TabPageclan::TabPage::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ToolTip with the specified component ID name. More...
 
int clan::TabPage::get_id () const
 Get Id. More...
 
std::string clan::TabPage::get_label () const
 Get Label. More...
 

Implementation

class clan::TabPage::Tab
 

Construction

 clan::TextEdit::TextEdit (GUIComponent *parent)
 Constructs a LineEdit. More...
 
virtual clan::TextEdit::~TextEdit ()
 

Attributes

static TextEditclan::TextEdit::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child TextEdit with the specified component ID name. More...
 
bool clan::TextEdit::is_read_only () const
 Is Read only. More...
 
bool clan::TextEdit::is_lowercase () const
 Is Lowercase. More...
 
bool clan::TextEdit::is_uppercase () const
 Is Uppercase. More...
 
int clan::TextEdit::get_max_length () const
 Get Max length. More...
 
std::string clan::TextEdit::get_text () const
 Get Text. More...
 
int clan::TextEdit::get_line_count () const
 Get line count. More...
 
std::string clan::TextEdit::get_line_text (int line) const
 Get line text. More...
 
std::string clan::TextEdit::get_selection () const
 Get Selection. More...
 
int clan::TextEdit::get_selection_start () const
 Get Selection start. More...
 
int clan::TextEdit::get_selection_length () const
 Get Selection length. More...
 
int clan::TextEdit::get_cursor_pos () const
 Get Cursor pos. More...
 
int clan::TextEdit::get_cursor_line_number () const
 Get Cursor line number. More...
 
int clan::TextEdit::get_total_height ()
 Returns the height required to display all lines with the current width of the control. More...
 

Operations

void clan::TextEdit::set_select_all_on_focus_gain (bool enable)
 
void clan::TextEdit::select_all ()
 Select all. More...
 
void clan::TextEdit::set_read_only (bool enable=true)
 Set read only. More...
 
void clan::TextEdit::set_lowercase (bool enable=true)
 Set lowercase. More...
 
void clan::TextEdit::set_uppercase (bool enable=true)
 Set uppercase. More...
 
void clan::TextEdit::set_max_length (int length)
 Set max length. More...
 
void clan::TextEdit::set_text (const std::string &text)
 Set text. More...
 
void clan::TextEdit::add_text (const std::string &text)
 Add text to end. More...
 
void clan::TextEdit::set_selection (int pos, int length)
 Set selection. More...
 
void clan::TextEdit::clear_selection ()
 Clear selection. More...
 
void clan::TextEdit::set_cursor_pos (int pos)
 Set cursor pos. More...
 
void clan::TextEdit::delete_selected_text ()
 Delete selected text. More...
 
void clan::TextEdit::set_input_mask (const std::string &mask)
 Use mask to restrict accepted input. More...
 
void clan::TextEdit::set_cursor_drawing_enabled (bool enable)
 Set cursor drawing enabled/disabled. More...
 

Events

Callback_v1< InputEvent & > & clan::TextEdit::func_before_edit_changed ()
 
Callback_v1< InputEvent & > & clan::TextEdit::func_after_edit_changed ()
 
Callback_v0clan::TextEdit::func_selection_changed ()
 Func selection changed. More...
 
Callback_v0clan::TextEdit::func_focus_gained ()
 Callback invoked after the lineedit gained focus. More...
 
Callback_v0clan::TextEdit::func_focus_lost ()
 Callback invoked when the lineedit is about to lose focus. More...
 
Callback_v0clan::TextEdit::func_enter_pressed ()
 Func enter pressed. More...
 

Construction

 clan::ToolBar::ToolBar (GUIComponent *parent)
 Constructs a ToolBar. More...
 
virtual clan::ToolBar::~ToolBar ()
 

Attributes

static ToolBarclan::ToolBar::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ToolBar with the specified component ID name. More...
 
Size clan::ToolBar::get_css_size () const
 Get Preferred size. More...
 
ToolBarItem clan::ToolBar::get_item_by_id (int id)
 Get item by id. More...
 
ToolBarItem clan::ToolBar::get_item (int index)
 Get item. More...
 
int clan::ToolBar::get_item_index (int id)
 Get item index. More...
 
int clan::ToolBar::get_item_count () const
 Get Item count. More...
 

Operations

ToolBarItem clan::ToolBar::add_item (const Sprite &icon, int frame, const std::string &text, int id)
 Add item. More...
 
ToolBarItem clan::ToolBar::insert_item (const Sprite &icon, int frame, const std::string &text, int id=-1, int index=-1)
 Insert item. More...
 
ToolBarItem clan::ToolBar::insert_separator (int index=-1)
 Insert separator. More...
 
void clan::ToolBar::delete_item (int index)
 Delete item. More...
 
void clan::ToolBar::set_single_selection (bool value)
 Set single selection. More...
 
void clan::ToolBar::clear_selection ()
 Clear selection. More...
 

Events

Callback_v1< ToolBarItem > & clan::ToolBar::func_item_clicked ()
 
Callback_v1< ToolBarItem > & clan::ToolBar::func_item_selected ()
 
Callback_v1< ToolBarItem > & clan::ToolBar::func_item_unselected ()
 
Callback_v2< Point, int > & clan::ToolBar::func_mouse_right_up ()
 Signal invoked when the toolbar is right-clicked. The parameters are click position and clicked item index. More...
 

Construction

 clan::ToolBarItem::ToolBarItem ()
 Construct a null instance. More...
 
 clan::ToolBarItem::ToolBarItem (int id)
 Constructs a ToolBarItem. More...
 
 clan::ToolBarItem::ToolBarItem (const std::shared_ptr< ToolBarItem_Impl > &impl)
 Constructs a ToolBarItem. More...
 
virtual clan::ToolBarItem::~ToolBarItem ()
 

Attributes

std::string clan::ToolBarItem::get_text () const
 Get Text. More...
 
int clan::ToolBarItem::get_id () const
 Get Id. More...
 
bool clan::ToolBarItem::is_null () const
 Returns true if this object is invalid. More...
 
void clan::ToolBarItem::throw_if_null () const
 Throw an exception if this object is invalid. More...
 
bool clan::ToolBarItem::is_disabled () const
 Is Disabled. More...
 
bool clan::ToolBarItem::is_toggling () const
 Is Toggling. More...
 
bool clan::ToolBarItem::is_pressed () const
 Is Pressed. More...
 

Operations

void clan::ToolBarItem::set_id (int id)
 Set id. More...
 
void clan::ToolBarItem::set_text (const std::string &text)
 Set text. More...
 
void clan::ToolBarItem::set_icon (const Sprite &image, int frame=0)
 Set icon. More...
 
void clan::ToolBarItem::set_toggling (bool toggling)
 Controls if buttons stay down when pressed. More...
 
void clan::ToolBarItem::set_pressed (bool value)
 Set pressed. More...
 

Implementation

class clan::ToolBarItem::ToolBar
 
class clan::ToolBarItem::ToolBar_Impl
 

Construction

 clan::ToolTip::ToolTip (GUIManager gui_manager)
 Constructs a ToolTip. More...
 
virtual clan::ToolTip::~ToolTip ()
 

Attributes

static ToolTipclan::ToolTip::get_named_item (GUIComponent *reference_component, const std::string &id)
 Find the child ToolTip with the specified component ID name. More...
 
std::string clan::ToolTip::get_text () const
 Get Text. More...
 

Operations

void clan::ToolTip::set_text (const std::string &text)
 Set text. More...
 
void clan::ToolTip::show (const Point &position)
 Show. More...
 
void clan::ToolTip::show_delayed (const Point &position, int delay_time=750)
 Show delayed. More...
 
void clan::ToolTip::hide ()
 Hide. More...
 

Detailed Description

Enumeration Type Documentation

◆ Alignment [1/2]

Enumerator
align_left 
align_center 
align_right 
align_justify 

◆ Alignment [2/2]

Enumerator
align_left 
align_center 
align_right 

◆ IconPosition

Enumerator
icon_left 
icon_top 
icon_right 
icon_bottom 

◆ MessageBoxButtons

Enumerator
mb_buttons_yes_no 
mb_buttons_yes_no_cancel 
mb_buttons_ok 
mb_buttons_ok_cancel 

◆ MessageBoxIcon

Enumerator
mb_icon_none 
mb_icon_warning 
mb_icon_info 
mb_icon_error 
mb_icon_question 

◆ MessageBoxResult

Enumerator
mb_result_yes 
mb_result_no 
mb_result_cancel 
mb_result_ok 

◆ TextAlignment

Enumerator
align_left 
align_right 
align_center 

Function Documentation

◆ BrowseFolderDialog()

clan::BrowseFolderDialog::BrowseFolderDialog ( GUIComponent owner)

Constructs an browse folder dialog.

Parameters
owner= Owning GUIComponent

◆ CheckBox()

clan::CheckBox::CheckBox ( GUIComponent parent)

Constructs a CheckBox.

Parameters
parent= GUIComponent

◆ ComboBox()

clan::ComboBox::ComboBox ( GUIComponent parent)

Constructs a ComboBox.

Parameters
parent= GUIComponent

◆ DragBox() [1/2]

clan::DragBox::DragBox ( GUIComponent parent)

Constructs a DragBox.

Parameters
parent= GUIComponent

◆ DragBox() [2/2]

clan::DragBox::DragBox ( GUIManager manager,
const GUITopLevelDescription description 
)

Constructs a DragBox.

Parameters
manager= GUIManager
description= GUITop Level Description

◆ Frame()

clan::Frame::Frame ( GUIComponent parent)

Constructs a Frame.

Parameters
parent= GUIComponent

◆ GroupBox()

clan::GroupBox::GroupBox ( GUIComponent parent)

Constructs a GroupBox.

Parameters
parent= GUIComponent

◆ ImageView()

clan::ImageView::ImageView ( GUIComponent parent)

Constructs a ImageView.

Parameters
parent= GUIComponent

◆ Label()

clan::Label::Label ( GUIComponent parent)

Constructs a Label.

Parameters
parent= GUIComponent

◆ LineEdit()

clan::LineEdit::LineEdit ( GUIComponent parent)

Constructs a LineEdit.

Parameters
parent= GUIComponent

◆ ListView()

clan::ListView::ListView ( GUIComponent parent)

Constructs a ListView.

Parameters
parent= GUIComponent

◆ ListViewColumnData()

clan::ListViewColumnData::ListViewColumnData ( )

◆ ListViewColumnHeader()

clan::ListViewColumnHeader::ListViewColumnHeader ( )

◆ ListViewHeader()

clan::ListViewHeader::ListViewHeader ( GUIComponent parent)

Constructs a ListViewHeader.

Parameters
parent= GUIComponent

◆ ListViewIcon()

clan::ListViewIcon::ListViewIcon ( )

◆ ListViewIconList()

clan::ListViewIconList::ListViewIconList ( )

◆ ListViewItem()

clan::ListViewItem::ListViewItem ( )

Construct a null instance.

◆ ListViewSelectedItem() [1/2]

clan::ListViewSelectedItem::ListViewSelectedItem ( )

Contruct a null instance.

◆ ListViewSelectedItem() [2/2]

clan::ListViewSelectedItem::ListViewSelectedItem ( const ListViewItem item)

Constructs a ListViewSelectedItem.

Parameters
item= List View Item

◆ ListViewSelection()

clan::ListViewSelection::ListViewSelection ( )

◆ MenuBar()

clan::MenuBar::MenuBar ( GUIComponent parent)

Constructs a MenuBar.

Parameters
parent= GUIComponent

◆ OpenFileDialog()

clan::OpenFileDialog::OpenFileDialog ( GUIComponent owner)

Constructs an open file dialog.

Parameters
owner= Owning GUIComponent

◆ PopupMenu()

clan::PopupMenu::PopupMenu ( )

◆ PopupMenuItem() [1/3]

clan::PopupMenuItem::PopupMenuItem ( )

Construct a null instance.

◆ PopupMenuItem() [2/3]

clan::PopupMenuItem::PopupMenuItem ( int  id)

Constructs a PopupMenuItem.

Parameters
id= value

◆ PopupMenuItem() [3/3]

clan::PopupMenuItem::PopupMenuItem ( const std::shared_ptr< PopupMenuItem_Impl > &  impl)

Constructs a PopupMenuItem.

Parameters
PopupMenuItem_Impl= Shared Ptr

◆ ProgressBar()

clan::ProgressBar::ProgressBar ( GUIComponent parent)

Constructs a ProgressBar.

Parameters
parent= GUIComponent

◆ PushButton()

clan::PushButton::PushButton ( GUIComponent parent)

Constructs a PushButton.

Parameters
parent= GUIComponent

◆ RadioButton()

clan::RadioButton::RadioButton ( GUIComponent parent)

Constructs a RadioButton.

Parameters
parent= GUIComponent

◆ SaveFileDialog()

clan::SaveFileDialog::SaveFileDialog ( GUIComponent owner)

Constructs a save file dialog.

Parameters
owner= Owning GUIComponent

◆ ScrollBar()

clan::ScrollBar::ScrollBar ( GUIComponent parent)

Constructs a ScrollBar.

Parameters
parent= GUIComponent

◆ Slider()

clan::Slider::Slider ( GUIComponent parent)

Constructs a Slider.

Parameters
parent= GUIComponent

◆ Spin()

clan::Spin::Spin ( GUIComponent parent)

Constructs a Spin.

Parameters
parent= GUIComponent

◆ StatusBar()

clan::StatusBar::StatusBar ( GUIComponent parent)

Constructs a StatusBar.

Parameters
parent= GUIComponent

◆ Tab()

clan::Tab::Tab ( GUIComponent parent)

Constructs a Tab.

Parameters
parent= GUIComponent

◆ TabPage()

clan::TabPage::TabPage ( GUIComponent parent)

Constructs a TabPage.

Parameters
parent= GUIComponent

◆ TextEdit()

clan::TextEdit::TextEdit ( GUIComponent parent)

Constructs a LineEdit.

Parameters
parent= GUIComponent

◆ ToolBar()

clan::ToolBar::ToolBar ( GUIComponent parent)

Constructs a ToolBar.

Parameters
parent= GUIComponent

◆ ToolBarItem() [1/3]

clan::ToolBarItem::ToolBarItem ( )

Construct a null instance.

◆ ToolBarItem() [2/3]

clan::ToolBarItem::ToolBarItem ( int  id)

Constructs a ToolBarItem.

Parameters
id= value

◆ ToolBarItem() [3/3]

clan::ToolBarItem::ToolBarItem ( const std::shared_ptr< ToolBarItem_Impl > &  impl)

Constructs a ToolBarItem.

Parameters
ToolBarItem_Impl= Shared Ptr

◆ ToolTip()

clan::ToolTip::ToolTip ( GUIManager  gui_manager)

Constructs a ToolTip.

Parameters
gui_manager= GUIManager

◆ ~BrowseFolderDialog()

virtual clan::BrowseFolderDialog::~BrowseFolderDialog ( )
virtual

◆ ~CheckBox()

virtual clan::CheckBox::~CheckBox ( )
virtual

◆ ~ComboBox()

virtual clan::ComboBox::~ComboBox ( )
virtual

◆ ~DragBox()

virtual clan::DragBox::~DragBox ( )
virtual

◆ ~Frame()

virtual clan::Frame::~Frame ( )
virtual

◆ ~GroupBox()

virtual clan::GroupBox::~GroupBox ( )
virtual

◆ ~ImageView()

virtual clan::ImageView::~ImageView ( )
virtual

◆ ~Label()

virtual clan::Label::~Label ( )
virtual

◆ ~LineEdit()

virtual clan::LineEdit::~LineEdit ( )
virtual

◆ ~ListView()

virtual clan::ListView::~ListView ( )
virtual

◆ ~ListViewColumnData()

clan::ListViewColumnData::~ListViewColumnData ( )

◆ ~ListViewColumnHeader()

clan::ListViewColumnHeader::~ListViewColumnHeader ( )

◆ ~ListViewHeader()

clan::ListViewHeader::~ListViewHeader ( )

◆ ~ListViewIcon()

clan::ListViewIcon::~ListViewIcon ( )

◆ ~ListViewIconList()

clan::ListViewIconList::~ListViewIconList ( )

◆ ~ListViewItem()

clan::ListViewItem::~ListViewItem ( )

◆ ~ListViewItemUserData()

virtual clan::ListViewItemUserData::~ListViewItemUserData ( )
inlinevirtual

◆ ~MenuBar()

virtual clan::MenuBar::~MenuBar ( )
virtual

◆ ~OpenFileDialog()

virtual clan::OpenFileDialog::~OpenFileDialog ( )
virtual

◆ ~PopupMenu()

virtual clan::PopupMenu::~PopupMenu ( )
virtual

◆ ~PopupMenuItem()

virtual clan::PopupMenuItem::~PopupMenuItem ( )
virtual

◆ ~ProgressBar()

virtual clan::ProgressBar::~ProgressBar ( )
virtual

◆ ~PushButton()

virtual clan::PushButton::~PushButton ( )
virtual

◆ ~RadioButton()

virtual clan::RadioButton::~RadioButton ( )
virtual

◆ ~SaveFileDialog()

virtual clan::SaveFileDialog::~SaveFileDialog ( )
virtual

◆ ~ScrollBar()

virtual clan::ScrollBar::~ScrollBar ( )
virtual

◆ ~Slider()

virtual clan::Slider::~Slider ( )
virtual

◆ ~Spin()

virtual clan::Spin::~Spin ( )
virtual

◆ ~StatusBar()

virtual clan::StatusBar::~StatusBar ( )
virtual

◆ ~Tab()

virtual clan::Tab::~Tab ( )
virtual

◆ ~TabPage()

virtual clan::TabPage::~TabPage ( )
virtual

◆ ~TextEdit()

virtual clan::TextEdit::~TextEdit ( )
virtual

◆ ~ToolBar()

virtual clan::ToolBar::~ToolBar ( )
virtual

◆ ~ToolBarItem()

virtual clan::ToolBarItem::~ToolBarItem ( )
virtual

◆ ~ToolTip()

virtual clan::ToolTip::~ToolTip ( )
virtual

◆ add_filter() [1/2]

void clan::SaveFileDialog::add_filter ( const std::string &  filter_description,
const std::string &  filter_extension,
bool  is_default = false 
)

Add a filter that determines what types of files are displayed.

Parameters
filter_description= filter_description
filter_extension= filter_extension
is_default= is_default

◆ add_filter() [2/2]

void clan::OpenFileDialog::add_filter ( const std::string &  filter_description,
const std::string &  filter_extension,
bool  is_default = false 
)

Add a filter that determines what types of files are displayed.

Parameters
filter_description= filter_description
filter_extension= filter_extension
is_default= is_default

◆ add_item()

ToolBarItem clan::ToolBar::add_item ( const Sprite icon,
int  frame,
const std::string &  text,
int  id 
)

Add item.

Parameters
icon= Sprite
frame= value
text= String Ref
id= value
Returns
Tool Bar Item

◆ add_menu()

int clan::MenuBar::add_menu ( const std::string &  name,
PopupMenu  popup_menu 
)

Add menu.

Parameters
name= String Ref
popup_menu= Popup Menu
Returns
int

◆ add_overlay_icon()

void clan::ListViewItem::add_overlay_icon ( int  icon_index)

Add overlay icon.

Parameters
icon_index= value

◆ add_page()

TabPage* clan::Tab::add_page ( const std::string &  label,
int  id = 0 
)

Create new tab page. By default the ID of the tab is 0.

◆ add_part()

void clan::StatusBar::add_part ( int  id,
int  width,
GUIComponent component = 0 
)

Add part.

Parameters
id= value
width= value
component= GUIComponent

◆ add_text()

void clan::TextEdit::add_text ( const std::string &  text)

Add text to end.

Parameters
text= String Ref

◆ advance_position()

void clan::ProgressBar::advance_position ( int  pos)

Advance position.

Parameters
pos= value

◆ append() [1/2]

ListViewColumnHeader clan::ListViewHeader::append ( ListViewColumnHeader  column)

Append.

Parameters
column= List View Column Header
Returns
List View Column Header

◆ append() [2/2]

void clan::ListViewSelection::append ( const ListViewItem item)

Append.

Parameters
item= List View Item

◆ append_child()

ListViewItem clan::ListViewItem::append_child ( ListViewItem item)

Append child.

Parameters
item= List View Item
Returns
List View Item

◆ calculate_ranges()

void clan::ScrollBar::calculate_ranges ( int  view_size,
int  total_size 
)

Calculate the scrollbar range and page_step size for scrolling in pixels.

This is equal to calling set_min(0), set_max(total_size-view_size) and set_page_step((total_size-scroll_max)*scroll_max)/(total_size)). The range of the scrollbar will be the amount of pixels the view needs to be moved to show all the data.

◆ clear() [1/5]

void clan::MenuBar::clear ( )

Clear.

◆ clear() [2/5]

void clan::ListViewIconList::clear ( )

Clear the icon list.

◆ clear() [3/5]

void clan::ListViewSelection::clear ( )

Clear.

◆ clear() [4/5]

void clan::PopupMenu::clear ( )

Delete all menu items.

Parameters
class_name= String Ref

◆ clear() [5/5]

void clan::ListView::clear ( )

Remove all items.

◆ clear_filters() [1/2]

void clan::SaveFileDialog::clear_filters ( )

Clears all filters.

◆ clear_filters() [2/2]

void clan::OpenFileDialog::clear_filters ( )

Clears all filters.

◆ clear_selection() [1/4]

void clan::ToolBar::clear_selection ( )

Clear selection.

◆ clear_selection() [2/4]

void clan::TextEdit::clear_selection ( )

Clear selection.

◆ clear_selection() [3/4]

void clan::ListView::clear_selection ( )

Unselect all selected items.

◆ clear_selection() [4/4]

void clan::LineEdit::clear_selection ( )

Clear selection.

◆ create_column()

ListViewColumnHeader clan::ListViewHeader::create_column ( const std::string &  column_id,
const std::string &  caption 
)

Create column.

Parameters
column_id= String Ref
caption= String Ref
Returns
List View Column Header

◆ create_item()

ListViewItem clan::ListView::create_item ( )

Create item.

Returns
List View Item

◆ create_null_object()

static PopupMenu clan::PopupMenu::create_null_object ( )
static

Create null object.

Returns
Popup Menu

◆ delete_item()

void clan::ToolBar::delete_item ( int  index)

Delete item.

Parameters
index= value

◆ delete_selected_text() [1/2]

void clan::TextEdit::delete_selected_text ( )

Delete selected text.

◆ delete_selected_text() [2/2]

void clan::LineEdit::delete_selected_text ( )

Delete selected text.

◆ draw()

void clan::ListViewIcon::draw ( Canvas canvas,
const Rect rect,
ListViewDisplayMode  mode,
const Colorf color 
)

Draw.

Parameters
canvas= Canvas
rect= Rect
mode= List View Display Mode
color= Colorf

◆ erase()

void clan::ListViewIconList::erase ( int  index)

Erase the icon at the specified index.

◆ find() [1/3]

ListViewItem clan::ListView::find ( const std::string &  col_id,
const std::string &  str,
bool  recursive = true 
)

Returns a ListViewItem with the string 'str' in the column 'col_id' or a NULL item if none found.

◆ find() [2/3]

ListViewItem clan::ListView::find ( int  id,
bool  recursive = true 
)

Returns the first ListViewItem with the specified ID, or a NULL item if none found.

◆ find() [3/3]

ListViewItem clan::ListView::find ( std::shared_ptr< ListViewItemUserData userdata,
bool  recursive = true 
)

Returns a ListViewItem with the userdata 'ptr', or a NULL item if none found.

◆ find_item()

int clan::PopupMenu::find_item ( const std::string &  text,
bool  case_sensitive = false 
)

Returns the index of the item that matches the start or the string furthest.

◆ func_after_edit_changed() [1/3]

Callback_v0& clan::ComboBox::func_after_edit_changed ( )

Func after edit changed.

Returns
Callback_v0

◆ func_after_edit_changed() [2/3]

Callback_v1<InputEvent &>& clan::TextEdit::func_after_edit_changed ( )

◆ func_after_edit_changed() [3/3]

Callback_v1<InputEvent &>& clan::LineEdit::func_after_edit_changed ( )

◆ func_before_edit_changed() [1/3]

Callback_v0& clan::ComboBox::func_before_edit_changed ( )

Func before edit changed.

Returns
Callback_v0

◆ func_before_edit_changed() [2/3]

Callback_v1<InputEvent &>& clan::TextEdit::func_before_edit_changed ( )

◆ func_before_edit_changed() [3/3]

Callback_v1<InputEvent &>& clan::LineEdit::func_before_edit_changed ( )

◆ func_begin_drag()

Callback_v0& clan::ListView::func_begin_drag ( )

Callback called when the user begins a drag'n'drop action.

◆ func_checked()

Callback_v0& clan::CheckBox::func_checked ( )

Func checked.

Returns
Callback_v0

◆ func_clicked() [1/2]

Callback_v0& clan::PopupMenuItem::func_clicked ( )

Func clicked.

Returns
Callback_v0

Referenced by clan::PopupMenuItem::is_null().

◆ func_clicked() [2/2]

Callback_v0& clan::PushButton::func_clicked ( )

Func clicked.

Returns
Callback_v0

◆ func_close()

Callback_v0& clan::PopupMenu::func_close ( )

◆ func_column_added()

Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_added ( )

◆ func_column_removed()

Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_removed ( )

◆ func_column_size_changed()

Callback_v1<ListViewColumnHeader>& clan::ListViewHeader::func_column_size_changed ( )

◆ func_dropdown_closed()

Callback_v0& clan::ComboBox::func_dropdown_closed ( )

Func dropdown closed.

Returns
Callback_v0

◆ func_dropdown_opened()

Callback_v0& clan::ComboBox::func_dropdown_opened ( )

Func dropdown opened.

Returns
Callback_v0

◆ func_enter_pressed() [1/3]

Callback_v0& clan::ComboBox::func_enter_pressed ( )

Func enter pressed.

Returns
Callback_v0

◆ func_enter_pressed() [2/3]

Callback_v0& clan::TextEdit::func_enter_pressed ( )

Func enter pressed.

Returns
Callback_v0

◆ func_enter_pressed() [3/3]

Callback_v0& clan::LineEdit::func_enter_pressed ( )

Func enter pressed.

Returns
Callback_v0

◆ func_focus_gained() [1/2]

Callback_v0& clan::TextEdit::func_focus_gained ( )

Callback invoked after the lineedit gained focus.

◆ func_focus_gained() [2/2]

Callback_v0& clan::LineEdit::func_focus_gained ( )

Callback invoked after the lineedit gained focus.

◆ func_focus_lost() [1/2]

Callback_v0& clan::TextEdit::func_focus_lost ( )

Callback invoked when the lineedit is about to lose focus.

◆ func_focus_lost() [2/2]

Callback_v0& clan::LineEdit::func_focus_lost ( )

Callback invoked when the lineedit is about to lose focus.

◆ func_group_selection_changed()

Callback_v1<RadioButton*>& clan::RadioButton::func_group_selection_changed ( )

Callback invoked when any of the radio buttons in the group is selected.

The newly selected radio button is passed as parameter to the callback.

◆ func_indeterminated()

Callback_v0& clan::CheckBox::func_indeterminated ( )

Func indeterminated.

Returns
Callback_v0

◆ func_item_clicked()

Callback_v1<ToolBarItem>& clan::ToolBar::func_item_clicked ( )

◆ func_item_closed()

Callback_v1<const ListViewItem &>& clan::ListView::func_item_closed ( )

Callback called when an item node is closed.

◆ func_item_doubleclick()

Callback_v1<const ListViewItem &>& clan::ListView::func_item_doubleclick ( )

Invoked on double clicking a listview item.

◆ func_item_edited()

Callback_2<bool, ListViewItem, std::string &>& clan::ListView::func_item_edited ( )

Invoked when enter is pressed in the ListViews built-in LineEdit control. The caller may change the passed string. Returning false from the callback cancels the edit.

◆ func_item_opened()

Callback_v1<const ListViewItem &>& clan::ListView::func_item_opened ( )

Callback called when an item node is opened.

◆ func_item_selected() [1/2]

Callback_v1<ToolBarItem>& clan::ToolBar::func_item_selected ( )

◆ func_item_selected() [2/2]

Callback_v1<int>& clan::ComboBox::func_item_selected ( )

Func after item selected.

Returns
Callback_v1<int>

◆ func_item_unselected()

Callback_v1<ToolBarItem>& clan::ToolBar::func_item_unselected ( )

◆ func_key_pressed()

Callback_v1<InputEvent&>& clan::ListView::func_key_pressed ( )

◆ func_key_released()

Callback_v1<InputEvent&>& clan::ListView::func_key_released ( )

◆ func_mouse_right_up() [1/2]

Callback_v2<Point, int>& clan::ToolBar::func_mouse_right_up ( )

Signal invoked when the toolbar is right-clicked. The parameters are click position and clicked item index.

◆ func_mouse_right_up() [2/2]

Callback_v1<Point>& clan::ListView::func_mouse_right_up ( )

Callback called when the right mouse button is released (a click). Use this callback for listview context menus. Click position sent as parameter.

◆ func_page_selected()

Callback_v1<TabPage*>& clan::Tab::func_page_selected ( )

void func_page_selected(Page *tab_page)

◆ func_part_double_clicked()

Callback_v0& clan::StatusBar::func_part_double_clicked ( int  id)

Func part double clicked.

Parameters
id= value
Returns
Callback_v0

◆ func_render_icon()

Callback_v1<Rect>& clan::ListViewItem::func_render_icon ( )

◆ func_scroll()

Callback_v0& clan::ScrollBar::func_scroll ( )

Called for every type of scrollbar scrolling.

◆ func_scroll_end()

Callback_v0& clan::ScrollBar::func_scroll_end ( )

Called when user releases the mouse after scrolling.

◆ func_scroll_line_decrement()

Callback_v0& clan::ScrollBar::func_scroll_line_decrement ( )

Called when decrement button is clicked.

◆ func_scroll_line_increment()

Callback_v0& clan::ScrollBar::func_scroll_line_increment ( )

Called when increment button is clicked.

◆ func_scroll_max()

Callback_v0& clan::ScrollBar::func_scroll_max ( )

Called when scrolled to maximum position.

◆ func_scroll_min()

Callback_v0& clan::ScrollBar::func_scroll_min ( )

Called when scrolled to minimum position.

◆ func_scroll_page_decrement()

Callback_v0& clan::ScrollBar::func_scroll_page_decrement ( )

Called when decrement track is clicked.

◆ func_scroll_page_increment()

Callback_v0& clan::ScrollBar::func_scroll_page_increment ( )

Called when increment track is clicked.

◆ func_scroll_thumb_release()

Callback_v0& clan::ScrollBar::func_scroll_thumb_release ( )

Called when user released scroll thumb.

◆ func_scroll_thumb_track()

Callback_v0& clan::ScrollBar::func_scroll_thumb_track ( )

Called as user moves the scroll thumb.

◆ func_selected()

Callback_v0& clan::RadioButton::func_selected ( )

Func selected.

Returns
Callback_v0

◆ func_selection_changed() [1/4]

Callback_v1<int>& clan::ComboBox::func_selection_changed ( )

Func after selection changed.

Returns
Callback_v1<int>

◆ func_selection_changed() [2/4]

Callback_v1<ListViewSelection>& clan::ListView::func_selection_changed ( )

Selected items are returned as children of the returned item.

◆ func_selection_changed() [3/4]

Callback_v0& clan::TextEdit::func_selection_changed ( )

Func selection changed.

Returns
Callback_v0

◆ func_selection_changed() [4/4]

Callback_v0& clan::LineEdit::func_selection_changed ( )

Func selection changed.

Returns
Callback_v0

◆ func_size_changed()

Callback_v1<ListViewColumnHeader>& clan::ListViewColumnHeader::func_size_changed ( )

◆ func_slider_moved()

Callback_v0& clan::Slider::func_slider_moved ( )

Emitted after the slider has been moved.

◆ func_state_changed()

Callback_v0& clan::CheckBox::func_state_changed ( )

Func state changed.

Returns
Callback_v0

◆ func_unchecked()

Callback_v0& clan::CheckBox::func_unchecked ( )

Func unchecked.

Returns
Callback_v0

◆ func_unselected()

Callback_v0& clan::RadioButton::func_unselected ( )

Func unselected.

Returns
Callback_v0

◆ func_value_changed() [1/2]

Callback_v0& clan::Spin::func_value_changed ( )

Func value changed.

Returns
Callback_v0

◆ func_value_changed() [2/2]

Callback_v0& clan::Slider::func_value_changed ( )

Emitted while the slider is being moved.

◆ func_value_decremented()

Callback_v0& clan::Slider::func_value_decremented ( )

Emitted when the slider value is decremented (while moving or when clicking the track).

Invoked while moving or when clicking the track.

◆ func_value_incremented()

Callback_v0& clan::Slider::func_value_incremented ( )

Emitted when the slider value is incremented.

Invoked while moving or when clicking the track.

◆ get_accelerator_text()

std::string clan::PopupMenuItem::get_accelerator_text ( ) const

Get Accelerator text.

Returns
accelerator_text

◆ get_alignment() [1/3]

Alignment clan::Label::get_alignment ( ) const

Get Alignment.

Returns
alignment

◆ get_alignment() [2/3]

Alignment clan::LineEdit::get_alignment ( ) const

Get Alignment.

Returns
alignment

◆ get_alignment() [3/3]

ListViewColumnHeader::TextAlignment clan::ListViewColumnHeader::get_alignment ( )

◆ get_caption()

std::string clan::ListViewColumnHeader::get_caption ( ) const

Get Caption.

Returns
caption

◆ get_child_count()

int clan::ListViewItem::get_child_count ( bool  recursive = false,
bool  recurse_only_into_open_items = false 
)

Get child count.

Parameters
recursive= bool
recurse_only_into_open_items= bool
Returns
int

◆ get_class()

std::string clan::PopupMenu::get_class ( ) const

Get Class name.

Returns
class_name

◆ get_color()

Colorf clan::ListViewIconList::get_color ( )

Get Color.

Returns
color

◆ get_color_overlay()

Colorf clan::ListViewIconList::get_color_overlay ( )

Get Color overlay.

Returns
color_overlay

◆ get_column() [1/2]

ListViewColumnHeader clan::ListViewHeader::get_column ( const std::string &  column_id)

Get column.

Parameters
column_id= String Ref
Returns
List View Column Header

◆ get_column() [2/2]

ListViewColumnData clan::ListViewItem::get_column ( const std::string &  column_id)

Get column.

Parameters
column_id= String Ref
Returns
List View Column Data

◆ get_column_id() [1/2]

std::string clan::ListViewColumnData::get_column_id ( ) const

Get Column id.

Returns
column_id

◆ get_column_id() [2/2]

std::string clan::ListViewColumnHeader::get_column_id ( ) const

Get Column id.

Returns
column_id

◆ get_css_size() [1/5]

virtual Size clan::MenuBar::get_css_size ( ) const
virtual

Get Preferred size.

Returns
preferred_size

◆ get_css_size() [2/5]

Size clan::ToolBar::get_css_size ( ) const

Get Preferred size.

Returns
preferred_size

◆ get_css_size() [3/5]

virtual Size clan::ListViewHeader::get_css_size ( ) const
virtual

Get Preferred size.

Returns
preferred_size

◆ get_css_size() [4/5]

virtual Size clan::PopupMenu::get_css_size ( ) const
virtual

Get Preferred size.

Returns
preferred_size

◆ get_css_size() [5/5]

Size clan::ListView::get_css_size ( ) const

Returns the preferred size of the component, as defined in its CSS file.

◆ get_current_page_id()

int clan::Tab::get_current_page_id ( ) const

Get Current page id.

Returns
current_page_id

◆ get_current_page_index()

int clan::Tab::get_current_page_index ( ) const

Get Current page index.

Returns
current_page_index

◆ get_cursor_line_number()

int clan::TextEdit::get_cursor_line_number ( ) const

Get Cursor line number.

Returns
cursor line number

◆ get_cursor_pos() [1/2]

int clan::TextEdit::get_cursor_pos ( ) const

Get Cursor pos.

Returns
cursor_pos

◆ get_cursor_pos() [2/2]

int clan::LineEdit::get_cursor_pos ( ) const

Get Cursor pos.

Returns
cursor_pos

◆ get_display_mode()

ListViewDisplayMode clan::ListView::get_display_mode ( ) const

Get Display mode.

Returns
display_mode

◆ get_document_item() [1/2]

ListViewItem clan::ListView::get_document_item ( ) const

Get Document item.

Returns
document_item

◆ get_document_item() [2/2]

ListViewItem clan::ListViewItem::get_document_item ( )

Get Document item.

Returns
document_item

◆ get_dropdown_height()

int clan::ComboBox::get_dropdown_height ( ) const

Get Dropdown height.

Returns
dropdown_height

◆ get_filename() [1/2]

std::string clan::SaveFileDialog::get_filename ( ) const

Get the full path of the file selected.

Returns
std::string

◆ get_filename() [2/2]

std::string clan::OpenFileDialog::get_filename ( ) const

Get the full path of the file selected.

If multiple files are selected, this returns the first file.

Returns
std::string

◆ get_filenames()

std::vector<std::string> clan::OpenFileDialog::get_filenames ( ) const

Gets an array that contains one file name for each selected file.

Returns
std::vector<std::string>

◆ get_first()

ListViewSelectedItem clan::ListViewSelection::get_first ( )

Get First.

Returns
first

◆ get_first_child()

ListViewItem clan::ListViewItem::get_first_child ( )

Get First child.

Returns
first_child

◆ get_first_column()

ListViewColumnHeader clan::ListViewHeader::get_first_column ( )

Get First column.

Returns
first_column

◆ get_floating_point_mode()

bool clan::Spin::get_floating_point_mode ( ) const

Get Floating point mode.

Returns
floating_point_mode

◆ get_group_name()

std::string clan::RadioButton::get_group_name ( ) const

Get Group name.

Returns
group_name

◆ get_header()

ListViewHeader* clan::ListView::get_header ( ) const

Get Header.

Returns
header

◆ get_header_icon()

Sprite clan::Frame::get_header_icon ( ) const

Get Header icon.

Returns
header_icon

◆ get_header_text()

std::string clan::Frame::get_header_text ( ) const

Get Header text.

Returns
header_text

◆ get_icon() [1/4]

ListViewIcon clan::ListViewIconList::get_icon ( int  index)

Get icon.

Parameters
index= value
Returns
List View Icon

◆ get_icon() [2/4]

Image clan::PushButton::get_icon ( ) const

Get Icon.

Returns
icon

◆ get_icon() [3/4]

PixelBuffer clan::PopupMenuItem::get_icon ( ) const

Get Icon.

Returns
icon

Referenced by clan::PopupMenuItem::is_null().

◆ get_icon() [4/4]

int clan::ListViewItem::get_icon ( ) const

Get the item icon id. Defaults to 0 if unset.

◆ get_icon_list()

ListViewIconList clan::ListView::get_icon_list ( ) const

Get Icon list.

Returns
icon_list

◆ get_icon_position()

IconPosition clan::PushButton::get_icon_position ( ) const

Get Icon position.

Returns
icon_position

◆ get_id() [1/4]

int clan::TabPage::get_id ( ) const

Get Id.

Returns
id

◆ get_id() [2/4]

int clan::ToolBarItem::get_id ( ) const

Get Id.

Returns
id

◆ get_id() [3/4]

int clan::PopupMenuItem::get_id ( ) const

Get Id.

Returns
id

◆ get_id() [4/4]

int clan::ListViewItem::get_id ( ) const

Get the item id. Defaults to 0 if unset.

◆ get_image()

Image clan::ImageView::get_image ( ) const

Get Image.

Returns
image

◆ get_item() [1/4]

ListViewItem clan::ListViewSelectedItem::get_item ( )

Get Item.

Returns
item

◆ get_item() [2/4]

PopupMenuItem clan::PopupMenu::get_item ( int  id)

Get item.

Parameters
id= value
Returns
Popup Menu Item

◆ get_item() [3/4]

ToolBarItem clan::ToolBar::get_item ( int  index)

Get item.

Parameters
index= value
Returns
Tool Bar Item

◆ get_item() [4/4]

std::string clan::ComboBox::get_item ( int  index) const

Get item.

Parameters
index= value
Returns
String Ref

◆ get_item_at()

PopupMenuItem clan::PopupMenu::get_item_at ( int  index)

Get item at.

Parameters
index= value
Returns
Popup Menu Item

◆ get_item_by_id()

ToolBarItem clan::ToolBar::get_item_by_id ( int  id)

Get item by id.

Parameters
id= value
Returns
Tool Bar Item

◆ get_item_count() [1/2]

int clan::PopupMenu::get_item_count ( ) const

Item count.

Returns
int

◆ get_item_count() [2/2]

int clan::ToolBar::get_item_count ( ) const

Get Item count.

Returns
item_count

◆ get_item_index()

int clan::ToolBar::get_item_index ( int  id)

Get item index.

Parameters
id= value
Returns
int

◆ get_label()

std::string clan::TabPage::get_label ( ) const

Get Label.

Returns
label

◆ get_last()

ListViewSelectedItem clan::ListViewSelection::get_last ( )

Get Last.

Returns
last

◆ get_last_child()

ListViewItem clan::ListViewItem::get_last_child ( )

Get Last child.

Returns
last_child

◆ get_line_count()

int clan::TextEdit::get_line_count ( ) const

Get line count.

Returns
line count

◆ get_line_step()

int clan::ScrollBar::get_line_step ( ) const

Get Line step.

Returns
line_step

◆ get_line_text()

std::string clan::TextEdit::get_line_text ( int  line) const

Get line text.

Returns
text

◆ get_lock_to_ticks()

bool clan::Slider::get_lock_to_ticks ( ) const

Get Lock to ticks.

Returns
lock_to_ticks

◆ get_marquee_animation_speed()

int clan::ProgressBar::get_marquee_animation_speed ( ) const

Get Marquee animation speed.

Returns
marquee_animation_speed

◆ get_marquee_box_width()

int clan::ProgressBar::get_marquee_box_width ( ) const

Get Marquee box width.

Returns
marquee_box_width

◆ get_marquee_step_size()

int clan::ProgressBar::get_marquee_step_size ( ) const

Get Marquee step size.

Returns
marquee_step_size

◆ get_max() [1/4]

int clan::ProgressBar::get_max ( ) const

Get Max.

Returns
max

◆ get_max() [2/4]

int clan::ScrollBar::get_max ( ) const

Get Max.

Returns
max

◆ get_max() [3/4]

int clan::Slider::get_max ( ) const

Get Max.

Returns
max

◆ get_max() [4/4]

int clan::Spin::get_max ( ) const

Get Max.

Returns
max

◆ get_max_float()

float clan::Spin::get_max_float ( ) const

Get Max float.

Returns
max_float

◆ get_max_length() [1/2]

int clan::TextEdit::get_max_length ( ) const

Get Max length.

Returns
max_length

◆ get_max_length() [2/2]

int clan::LineEdit::get_max_length ( ) const

Get Max length.

Returns
max_length

◆ get_menu()

PopupMenu clan::MenuBar::get_menu ( int  index) const

Get menu.

Parameters
index= value
Returns
Popup Menu

◆ get_min() [1/4]

int clan::ProgressBar::get_min ( ) const

Get Min.

Returns
min

◆ get_min() [2/4]

int clan::ScrollBar::get_min ( ) const

Get Min.

Returns
min

◆ get_min() [3/4]

int clan::Slider::get_min ( ) const

Get Min.

Returns
min

◆ get_min() [4/4]

int clan::Spin::get_min ( ) const

Get Min.

Returns
min

◆ get_min_float()

float clan::Spin::get_min_float ( ) const

Get Min float.

Returns
min_float

◆ get_minimum_width()

int clan::PopupMenu::get_minimum_width ( ) const

Get Minimum width.

Returns
minimum_width

◆ get_named_item() [1/22]

static TextEdit* clan::TextEdit::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child TextEdit with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [2/22]

static CheckBox* clan::CheckBox::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child CheckBox with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [3/22]

static TabPage* clan::TabPage::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ToolTip with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [4/22]

static RadioButton* clan::RadioButton::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child RadioButton with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [5/22]

static ScrollBar* clan::ScrollBar::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ScrollBar with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [6/22]

static Slider* clan::Slider::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child Slider with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [7/22]

static ToolTip* clan::ToolTip::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ToolTip with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [8/22]

static MenuBar* clan::MenuBar::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child MenuBar with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [9/22]

static ImageView* clan::ImageView::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ImageView with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [10/22]

static ProgressBar* clan::ProgressBar::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ProgressBar with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [11/22]

static Frame* clan::Frame::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child Frame with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [12/22]

static Spin* clan::Spin::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child Spin with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [13/22]

static StatusBar* clan::StatusBar::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child StatusBar with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [14/22]

static ComboBox* clan::ComboBox::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ComboBox with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [15/22]

static GroupBox* clan::GroupBox::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child GroupBox with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [16/22]

static Tab* clan::Tab::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child Tab with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [17/22]

static ToolBar* clan::ToolBar::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ToolBar with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [18/22]

static PushButton* clan::PushButton::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child PushButton with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [19/22]

static DragBox* clan::DragBox::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child DragBox with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [20/22]

static Label* clan::Label::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child Label with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [21/22]

static LineEdit* clan::LineEdit::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child LineEdit with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_named_item() [22/22]

static ListView* clan::ListView::get_named_item ( GUIComponent reference_component,
const std::string &  id 
)
static

Find the child ListView with the specified component ID name.

If it was not found, an exception is thrown.

◆ get_next_sibling() [1/3]

ListViewSelectedItem clan::ListViewSelectedItem::get_next_sibling ( )

Get Next sibling.

Returns
next_sibling

◆ get_next_sibling() [2/3]

ListViewItem clan::ListViewItem::get_next_sibling ( )

Get Next sibling.

Returns
next_sibling

◆ get_next_sibling() [3/3]

ListViewColumnHeader clan::ListViewColumnHeader::get_next_sibling ( )

Get Next sibling.

Returns
next_sibling

◆ get_offset()

Point clan::ListViewIcon::get_offset ( ListViewDisplayMode  mode)

Get offset.

Parameters
mode= List View Display Mode
Returns
Point

◆ get_overlay_icons()

std::vector<int> clan::ListViewItem::get_overlay_icons ( )

◆ get_page()

TabPage* clan::Tab::get_page ( int  index) const

Get page.

Parameters
index= value
Returns
Tab Page

◆ get_page_by_id()

TabPage* clan::Tab::get_page_by_id ( int  id) const

Get page by id.

Parameters
id= value
Returns
Tab Page

◆ get_page_count()

int clan::Tab::get_page_count ( ) const

returns the number of pages in the tab.

◆ get_page_step() [1/2]

int clan::ScrollBar::get_page_step ( ) const

Get Page step.

Returns
page_step

◆ get_page_step() [2/2]

int clan::Slider::get_page_step ( ) const

Get Page step.

Returns
page_step

◆ get_parent()

ListViewItem clan::ListViewItem::get_parent ( )

Get Parent.

Returns
parent

◆ get_parent_count()

int clan::ListViewItem::get_parent_count ( )

Get Parent count.

Returns
parent_count

◆ get_pixel_buffer()

PixelBuffer clan::ListViewIcon::get_pixel_buffer ( ListViewDisplayMode  mode)

Get pixel buffer.

Parameters
mode= List View Display Mode
Returns
Pixel Buffer

◆ get_position() [1/3]

int clan::ProgressBar::get_position ( ) const

Get Position.

Returns
position

◆ get_position() [2/3]

int clan::Slider::get_position ( ) const

Get Position.

Returns
position

◆ get_position() [3/3]

int clan::ScrollBar::get_position ( ) const

Get Position.

Returns
position

◆ get_preferred_content_height() [1/7]

float clan::Label::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [2/7]

float clan::RadioButton::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [3/7]

float clan::PushButton::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [4/7]

float clan::ImageView::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [5/7]

float clan::Slider::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [6/7]

float clan::LineEdit::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_height() [7/7]

float clan::ScrollBar::get_preferred_content_height ( float  width)
virtual

Returns the preferred content height for the specified content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [1/7]

float clan::Label::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [2/7]

float clan::RadioButton::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [3/7]

float clan::PushButton::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [4/7]

float clan::ImageView::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [5/7]

float clan::Slider::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [6/7]

float clan::LineEdit::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_preferred_content_width() [7/7]

float clan::ScrollBar::get_preferred_content_width ( )
virtual

Returns the preferred content width.

Override this function if the component has non-css content.

Reimplemented from clan::GUIComponent.

◆ get_prev_sibling() [1/2]

ListViewItem clan::ListViewItem::get_prev_sibling ( )

Get Prev sibling.

Returns
prev_sibling

◆ get_prev_sibling() [2/2]

ListViewColumnHeader clan::ListViewColumnHeader::get_prev_sibling ( )

Get Prev sibling.

Returns
prev_sibling

◆ get_radio_id()

int clan::RadioButton::get_radio_id ( ) const

Get Id.

Returns
id

◆ get_scroll_max_position()

int clan::ListView::get_scroll_max_position ( )

Get maximal listview scrollbar position.

Returns
int

◆ get_scroll_position()

int clan::ListView::get_scroll_position ( )

Get current listview scrollbar position.

Returns
int

◆ get_select_whole_row()

bool clan::ListView::get_select_whole_row ( ) const

Get Select whole row.

Returns
select_whole_row

◆ get_selected_color()

Colorf clan::ListViewIconList::get_selected_color ( )

Get Selected color.

Returns
selected_color

◆ get_selected_color_overlay()

Colorf clan::ListViewIconList::get_selected_color_overlay ( )

Get Selected color overlay.

Returns
selected_color_overlay

◆ get_selected_item() [1/2]

int clan::ComboBox::get_selected_item ( ) const

Get Selected item.

Returns
selected_item

◆ get_selected_item() [2/2]

ListViewItem clan::ListView::get_selected_item ( )

Returns the currently selected item in single selection mode.

If multiple items are selected, the item selected first (chronological order) is returned. If no element is selected, an empty ListViewItem is returned.

◆ get_selected_items()

ListViewSelection clan::ListView::get_selected_items ( ) const

Returns a container class holding the selected items in a linked list structure.

◆ get_selected_path()

std::string clan::BrowseFolderDialog::get_selected_path ( ) const

Get the full path of the directory selected.

Returns
std::string

◆ get_selection() [1/2]

std::string clan::TextEdit::get_selection ( ) const

Get Selection.

Returns
selection

◆ get_selection() [2/2]

std::string clan::LineEdit::get_selection ( ) const

Get Selection.

Returns
selection

◆ get_selection_length() [1/2]

int clan::TextEdit::get_selection_length ( ) const

Get Selection length.

Returns
selection_length

◆ get_selection_length() [2/2]

int clan::LineEdit::get_selection_length ( ) const

Get Selection length.

Returns
selection_length

◆ get_selection_start() [1/2]

int clan::TextEdit::get_selection_start ( ) const

Get Selection start.

Returns
selection_start

◆ get_selection_start() [2/2]

int clan::LineEdit::get_selection_start ( ) const

Get Selection start.

Returns
selection_start

◆ get_sprite() [1/2]

Sprite clan::ListViewIcon::get_sprite ( ListViewDisplayMode  mode)

Get sprite.

Parameters
mode= List View Display Mode
Returns
Sprite

◆ get_sprite() [2/2]

Sprite clan::ImageView::get_sprite ( ) const

Get Sprite.

Returns
sprite

◆ get_step_size()

int clan::ProgressBar::get_step_size ( ) const

Get Step size.

Returns
step_size

◆ get_submenu()

PopupMenu clan::PopupMenuItem::get_submenu ( )

Get Submenu.

Returns
submenu

Referenced by clan::PopupMenuItem::is_null().

◆ get_text() [1/11]

std::string clan::ListViewColumnData::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [2/11]

std::string clan::ToolTip::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [3/11]

std::string clan::RadioButton::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [4/11]

std::string clan::ToolBarItem::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [5/11]

std::string clan::PopupMenuItem::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [6/11]

const std::string& clan::CheckBox::get_text ( ) const

◆ get_text() [7/11]

const std::string& clan::Label::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [8/11]

std::string clan::ComboBox::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [9/11]

std::string clan::TextEdit::get_text ( ) const

Get Text.

Returns
text

◆ get_text() [10/11]

const std::string& clan::PushButton::get_text ( ) const

◆ get_text() [11/11]

std::string clan::LineEdit::get_text ( ) const

Get Text.

Returns
text

◆ get_text_float()

float clan::LineEdit::get_text_float ( ) const

Returns the text converted to float.

◆ get_text_int()

int clan::LineEdit::get_text_int ( ) const

Returns the text converted to integer.

◆ get_text_size() [1/2]

Size clan::LineEdit::get_text_size ( )

Returns the size (pixels) of the text in the lineedit, or of the string given as parameter.

◆ get_text_size() [2/2]

Size clan::LineEdit::get_text_size ( const std::string &  str)

Get text size.

Parameters
str= String
Returns
Size

◆ get_tick_count()

int clan::Slider::get_tick_count ( ) const

Get Tick count.

Returns
tick_count

◆ get_total_height()

int clan::TextEdit::get_total_height ( )

Returns the height required to display all lines with the current width of the control.

◆ get_used_width()

int clan::ListViewColumnHeader::get_used_width ( )

Returns the used width (last column expanded to the rest of the list view)

Returns
width

◆ get_userdata()

std::shared_ptr<ListViewItemUserData> clan::ListViewItem::get_userdata ( ) const

Get Userdata.

Returns
userdata

◆ get_value()

int clan::Spin::get_value ( ) const

Get Value.

Returns
value

◆ get_value_float()

float clan::Spin::get_value_float ( ) const

Get Value float.

Returns
value_float

◆ get_visible()

bool clan::ListViewHeader::get_visible ( ) const

Get Visible.

Returns
visible

◆ get_width()

int clan::ListViewColumnHeader::get_width ( )

Get Width.

Returns
width

◆ has_children()

bool clan::ListViewItem::has_children ( ) const

Has children.

Returns
bool

◆ has_submenu()

bool clan::PopupMenuItem::has_submenu ( ) const

Has submenu.

Returns
bool

Referenced by clan::PopupMenuItem::is_null().

◆ hide()

void clan::ToolTip::hide ( )

Hide.

◆ insert_after()

ListViewColumnHeader clan::ListViewHeader::insert_after ( const std::string &  column_id,
ListViewColumnHeader  new_column 
)

Insert after.

Parameters
column_id= String Ref
new_column= List View Column Header
Returns
List View Column Header

◆ insert_before()

ListViewColumnHeader clan::ListViewHeader::insert_before ( const std::string &  column_id,
ListViewColumnHeader  new_column 
)

Insert before.

Parameters
column_id= String Ref
new_column= List View Column Header
Returns
List View Column Header

◆ insert_item() [1/2]

PopupMenuItem clan::PopupMenu::insert_item ( const std::string &  text,
int  id = -1,
int  index = -1 
)

Insert item.

Parameters
text= String Ref
id= value
index= value
Returns
Popup Menu Item

◆ insert_item() [2/2]

ToolBarItem clan::ToolBar::insert_item ( const Sprite icon,
int  frame,
const std::string &  text,
int  id = -1,
int  index = -1 
)

Insert item.

Parameters
icon= Sprite
frame= value
text= String Ref
id= value
index= value
Returns
Tool Bar Item

◆ insert_item_accel()

PopupMenuItem clan::PopupMenu::insert_item_accel ( const std::string &  text,
const std::string &  accel_text = "",
int  id = -1,
int  index = -1 
)

Insert item accel.

Parameters
text= String Ref
accel_text= String Ref
Returns
Popup Menu Item

◆ insert_separator() [1/2]

ToolBarItem clan::ToolBar::insert_separator ( int  index = -1)

Insert separator.

Parameters
index= value
Returns
Tool Bar Item

◆ insert_separator() [2/2]

PopupMenuItem clan::PopupMenu::insert_separator ( int  index = -1)

Insert separator.

Parameters
index= value
Returns
Popup Menu Item

◆ is_3state()

bool clan::CheckBox::is_3state ( ) const

Is 3state.

Returns
true = 3state

◆ is_checkable()

bool clan::PopupMenuItem::is_checkable ( ) const

Is Checkable.

Returns
true = checkable

Referenced by clan::PopupMenuItem::is_null().

◆ is_checked() [1/2]

bool clan::CheckBox::is_checked ( ) const

Is Checked.

Returns
true = checked

◆ is_checked() [2/2]

bool clan::PopupMenuItem::is_checked ( ) const

Is Checked.

Returns
true = checked

Referenced by clan::PopupMenuItem::is_null().

◆ is_disabled() [1/2]

bool clan::ToolBarItem::is_disabled ( ) const

Is Disabled.

Returns
true = disabled

Referenced by clan::ToolBarItem::is_null().

◆ is_disabled() [2/2]

bool clan::PopupMenuItem::is_disabled ( ) const

Is Disabled.

Returns
true = disabled

Referenced by clan::PopupMenuItem::is_null().

◆ is_editable() [1/2]

bool clan::ComboBox::is_editable ( ) const

Is Editable.

Returns
true = editable

◆ is_editable() [2/2]

bool clan::ListViewItem::is_editable ( ) const

Is Editable.

Returns
true = editable

◆ is_horizontal() [1/2]

bool clan::ScrollBar::is_horizontal ( ) const

Is Horizontal.

Returns
true = horizontal

◆ is_horizontal() [2/2]

bool clan::Slider::is_horizontal ( ) const

Is Horizontal.

Returns
true = horizontal

◆ is_indeterminated()

bool clan::CheckBox::is_indeterminated ( ) const

Is Indeterminated.

Returns
true = indeterminated

◆ is_item() [1/2]

bool clan::ListViewSelectedItem::is_item ( ) const

Is Item.

Returns
true = item

◆ is_item() [2/2]

bool clan::ListViewItem::is_item ( ) const

Is Item.

Returns
true = item

◆ is_lowercase() [1/2]

bool clan::TextEdit::is_lowercase ( ) const

Is Lowercase.

Returns
true = lowercase

◆ is_lowercase() [2/2]

bool clan::LineEdit::is_lowercase ( ) const

Is Lowercase.

Returns
true = lowercase

◆ is_marquee_mode()

bool clan::ProgressBar::is_marquee_mode ( ) const

Is Marquee mode.

Returns
true = marquee_mode

◆ is_null() [1/6]

bool clan::ListViewSelectedItem::is_null ( ) const
inline

Returns true if this object is invalid.

◆ is_null() [2/6]

bool clan::PopupMenu::is_null ( ) const
inline

Returns true if this object is invalid.

◆ is_null() [3/6]

bool clan::ListViewColumnHeader::is_null ( ) const
inline

Returns true if this object is invalid.

◆ is_null() [4/6]

bool clan::ListViewItem::is_null ( ) const
inline

Returns true if this object is invalid.

◆ is_null() [5/6]

◆ is_null() [6/6]

◆ is_open()

bool clan::ListViewItem::is_open ( ) const

Is Open.

Returns
true = open

◆ is_password_mode()

bool clan::LineEdit::is_password_mode ( ) const

Is Password mode.

Returns
true = password_mode

◆ is_pressed()

bool clan::ToolBarItem::is_pressed ( ) const

Is Pressed.

Returns
true = pressed

Referenced by clan::ToolBarItem::is_null().

◆ is_pushed()

bool clan::PushButton::is_pushed ( ) const

Is Pushed.

Returns
true = pushed

◆ is_read_only() [1/2]

bool clan::TextEdit::is_read_only ( ) const

Is Read only.

Returns
true = read_only

◆ is_read_only() [2/2]

bool clan::LineEdit::is_read_only ( ) const

Is Read only.

Returns
true = read_only

◆ is_scalable()

bool clan::ListViewIcon::is_scalable ( ) const

Is Scalable.

Returns
true = scalable

◆ is_selected() [1/2]

bool clan::RadioButton::is_selected ( ) const

Is Selected.

Returns
true = selected

◆ is_selected() [2/2]

bool clan::ListViewItem::is_selected ( ) const

Is Selected.

Returns
true = selected

◆ is_separator()

bool clan::PopupMenuItem::is_separator ( ) const

Is Separator.

Returns
true = separator

Referenced by clan::PopupMenuItem::is_null().

◆ is_toggle()

bool clan::PushButton::is_toggle ( ) const

Is Toggle.

Returns
true = toggle

◆ is_toggling()

bool clan::ToolBarItem::is_toggling ( ) const

Is Toggling.

Returns
true = toggling

Referenced by clan::ToolBarItem::is_null().

◆ is_uppercase() [1/2]

bool clan::TextEdit::is_uppercase ( ) const

Is Uppercase.

Returns
true = uppercase

◆ is_uppercase() [2/2]

bool clan::LineEdit::is_uppercase ( ) const

Is Uppercase.

Returns
true = uppercase

◆ is_vertical() [1/2]

bool clan::Slider::is_vertical ( ) const

Is Vertical.

Returns
true = vertical

◆ is_vertical() [2/2]

bool clan::ScrollBar::is_vertical ( ) const

Is Vertical.

Returns
true = vertical

◆ message_box() [1/2]

MessageBoxResult clan::message_box ( GUIComponent owner,
std::string  title,
std::string  detail_text,
MessageBoxButtons  buttons,
MessageBoxIcon  icon 
)

◆ message_box() [2/2]

MessageBoxResult clan::message_box ( GUIManager gui_manager,
std::string  title,
std::string  detail_text,
MessageBoxButtons  buttons,
MessageBoxIcon  icon 
)

◆ on_process_message()

void clan::ListView::on_process_message ( std::shared_ptr< GUIMessage > &  msg)

On process message.

Parameters
msg= GUIMessage

◆ operator!=()

bool clan::ListViewItem::operator!= ( ListViewItem other) const

◆ operator==()

bool clan::ListViewItem::operator== ( ListViewItem other) const

◆ prev()

ListViewSelectedItem clan::ListViewSelectedItem::prev ( )

Prev.

Returns
List View Selected Item

◆ remove() [1/3]

ListViewColumnHeader clan::ListViewHeader::remove ( const std::string &  column_id)

Remove.

Parameters
column_id= String Ref
Returns
List View Column Header

◆ remove() [2/3]

void clan::ListViewSelection::remove ( const ListViewItem item)

Remove.

Parameters
item= List View Item

◆ remove() [3/3]

ListViewItem clan::ListViewItem::remove ( )

Removes this item from the item tree.

◆ remove_children()

void clan::ListViewItem::remove_children ( )

Remove all children of this item.

◆ remove_menu()

void clan::MenuBar::remove_menu ( int  index)

Remove menu.

Parameters
index= value

◆ remove_overlay_icon()

void clan::ListViewItem::remove_overlay_icon ( int  icon_index)

Remove overlay icon.

Parameters
icon_index= value

◆ remove_page()

void clan::Tab::remove_page ( int  index)

Remove a page by its index.

◆ remove_page_by_id()

void clan::Tab::remove_page_by_id ( int  id)

Remove a page by its ID.

In case of non-unique ID's the first match will be shown. The pointer returned by add_page() will become invalid.

◆ remove_part()

void clan::StatusBar::remove_part ( int  id)

Remove part.

Parameters
id= value

◆ resize_to_fit()

void clan::LineEdit::resize_to_fit ( int  max_width)

Resize the components width so that its whole text becomes visible.

◆ select_all() [1/2]

void clan::TextEdit::select_all ( )

Select all.

◆ select_all() [2/2]

void clan::LineEdit::select_all ( )

Select all.

◆ set_3state()

void clan::CheckBox::set_3state ( bool  enable)

Set 3state.

Parameters
enable= bool

◆ set_accelerator_text()

void clan::PopupMenuItem::set_accelerator_text ( const std::string &  str)

Set accelerator text.

Parameters
str= String Ref

Referenced by clan::PopupMenuItem::is_null().

◆ set_alignment() [1/3]

void clan::ListViewColumnHeader::set_alignment ( ListViewColumnHeader::TextAlignment  align)

Set alignment.

Parameters
TextAlignment= List View Column Header

◆ set_alignment() [2/3]

void clan::Label::set_alignment ( Alignment  alignment)

Set alignment.

Parameters
alignment= Alignment

◆ set_alignment() [3/3]

void clan::LineEdit::set_alignment ( Alignment  alignment)

Set alignment.

Parameters
alignment= Alignment

◆ set_caption()

void clan::ListViewColumnHeader::set_caption ( const std::string &  str)

Set caption.

Parameters
str= String Ref

◆ set_checkable()

void clan::PopupMenuItem::set_checkable ( bool  checkable)

Set checkable.

Parameters
checkable= bool

Referenced by clan::PopupMenuItem::is_null().

◆ set_checked() [1/2]

void clan::CheckBox::set_checked ( bool  enable)

Set checked.

Parameters
enable= bool

◆ set_checked() [2/2]

void clan::PopupMenuItem::set_checked ( bool  checked)

Set checked.

Parameters
checked= bool

Referenced by clan::PopupMenuItem::is_null().

◆ set_class_name()

void clan::PopupMenu::set_class_name ( const std::string &  class_name)

Set class name.

Parameters
class_name= String Ref

◆ set_color()

void clan::ListViewIconList::set_color ( const Colorf color)

Set color.

Parameters
color= Colorf

◆ set_color_overlay()

void clan::ListViewIconList::set_color_overlay ( const Colorf color)

Set color overlay.

Parameters
color= Colorf

◆ set_column_id() [1/2]

void clan::ListViewColumnData::set_column_id ( const std::string &  column_id)

Set column id.

Parameters
column_id= String Ref

◆ set_column_id() [2/2]

void clan::ListViewColumnHeader::set_column_id ( const std::string &  str)

Set column id.

Parameters
str= String Ref

◆ set_column_text()

void clan::ListViewItem::set_column_text ( const std::string &  column_id,
const std::string &  text 
)

Set column text.

Parameters
column_id= String Ref
text= String Ref

◆ set_cursor_drawing_enabled() [1/2]

void clan::TextEdit::set_cursor_drawing_enabled ( bool  enable)

Set cursor drawing enabled/disabled.

◆ set_cursor_drawing_enabled() [2/2]

void clan::LineEdit::set_cursor_drawing_enabled ( bool  enable)

Set cursor drawing enabled/disabled.

◆ set_cursor_pos() [1/2]

void clan::TextEdit::set_cursor_pos ( int  pos)

Set cursor pos.

Parameters
pos= value

◆ set_cursor_pos() [2/2]

void clan::LineEdit::set_cursor_pos ( int  pos)

Set cursor pos.

Parameters
pos= value

◆ set_decimal_character()

void clan::LineEdit::set_decimal_character ( const std::string &  decimal_char)

Set decimal character.

Parameters
decimal_char= String Ref

◆ set_display_mode() [1/2]

void clan::ListViewHeader::set_display_mode ( ListViewDisplayMode  mode)

Set display mode.

Parameters
mode= List View Display Mode

◆ set_display_mode() [2/2]

void clan::ListView::set_display_mode ( ListViewDisplayMode  mode)

Set display mode.

Parameters
mode= List View Display Mode

◆ set_dropdown_height()

void clan::ComboBox::set_dropdown_height ( int  height)

Set dropdown height.

Parameters
height= value

◆ set_dropdown_minimum_width()

void clan::ComboBox::set_dropdown_minimum_width ( int  min_width)

Set dropdown minimum width.

Parameters
min_width= value

◆ set_editable() [1/2]

void clan::ComboBox::set_editable ( bool  enable = true)

Set editable.

Parameters
enable= bool

◆ set_editable() [2/2]

void clan::ListViewItem::set_editable ( bool  editable)

Set editable.

Parameters
editable= bool

◆ set_enabled()

void clan::PopupMenuItem::set_enabled ( bool  enabled)

Set enabled.

Parameters
enabled= bool

Referenced by clan::PopupMenuItem::is_null().

◆ set_filename() [1/2]

void clan::SaveFileDialog::set_filename ( const std::string &  filename)

Sets a string containing the full path of the file selected.

Parameters
filename= filename

◆ set_filename() [2/2]

void clan::OpenFileDialog::set_filename ( const std::string &  filename)

Sets a string containing the full path of the file selected.

Parameters
filename= filename

◆ set_filter_index() [1/2]

void clan::SaveFileDialog::set_filter_index ( int  filter_index)

Sets a default filter, on a 0-based index.

Parameters
filter_index= filter_index

◆ set_filter_index() [2/2]

void clan::OpenFileDialog::set_filter_index ( int  filter_index)

Sets a default filter, on a 0-based index.

Parameters
filter_index= filter_index

◆ set_floating_point_mode()

void clan::Spin::set_floating_point_mode ( bool  use_floating_point)

Set floating point mode.

Parameters
use_floating_point= bool

◆ set_group_name()

void clan::RadioButton::set_group_name ( const std::string &  str)

Set group name.

Parameters
str= String Ref

◆ set_header_icon()

void clan::Frame::set_header_icon ( const Sprite icon)

Set header icon.

Parameters
icon= Sprite

◆ set_header_text()

void clan::Frame::set_header_text ( const std::string &  text)

Set header text.

Parameters
text= String Ref

◆ set_horizontal() [1/2]

void clan::ScrollBar::set_horizontal ( )

Set horizontal.

◆ set_horizontal() [2/2]

void clan::Slider::set_horizontal ( bool  enable)

Set horizontal.

Parameters
enable= bool

◆ set_icon() [1/5]

void clan::ListViewIconList::set_icon ( int  index,
const ListViewIcon icon 
)

Set the icon at the specified index.

◆ set_icon() [2/5]

void clan::ToolBarItem::set_icon ( const Sprite image,
int  frame = 0 
)

Set icon.

Parameters
image= Sprite
frame= value

Referenced by clan::ToolBarItem::is_null().

◆ set_icon() [3/5]

void clan::PushButton::set_icon ( const Image icon)

Set icon.

Parameters
icon= Image

◆ set_icon() [4/5]

void clan::PopupMenuItem::set_icon ( const PixelBuffer image)

Set icon.

Parameters
image= Pixel Buffer

Referenced by clan::PopupMenuItem::is_null().

◆ set_icon() [5/5]

void clan::ListViewItem::set_icon ( int  icon_index)

Set icon.

Parameters
icon_index= value

◆ set_icon_position()

void clan::PushButton::set_icon_position ( IconPosition  pos)

Set icon position.

Parameters
pos= Icon Position

◆ set_id() [1/3]

void clan::ToolBarItem::set_id ( int  id)

Set id.

Parameters
id= value

Referenced by clan::ToolBarItem::is_null().

◆ set_id() [2/3]

void clan::PopupMenuItem::set_id ( int  id)

Set id.

Parameters
id= value

Referenced by clan::PopupMenuItem::is_null().

◆ set_id() [3/3]

void clan::ListViewItem::set_id ( int  id)

Set the item id. Defaults to 0 if unset.

◆ set_image() [1/2]

void clan::ImageView::set_image ( const Image image)

Set image.

Parameters
image= Sprite

◆ set_image() [2/2]

void clan::ImageView::set_image ( const PixelBuffer image)

Set image.

Parameters
image= Pixel Buffer

◆ set_indeterminated()

void clan::CheckBox::set_indeterminated ( )

Set indeterminated.

◆ set_initial_directory() [1/3]

void clan::BrowseFolderDialog::set_initial_directory ( const std::string &  path)

Sets the initial directory that is displayed.

Parameters
path= path

◆ set_initial_directory() [2/3]

void clan::SaveFileDialog::set_initial_directory ( const std::string &  path)

Sets the initial directory that is displayed.

Parameters
path= path

◆ set_initial_directory() [3/3]

void clan::OpenFileDialog::set_initial_directory ( const std::string &  path)

Sets the initial directory that is displayed.

Parameters
path= path

◆ set_input_mask() [1/2]

void clan::TextEdit::set_input_mask ( const std::string &  mask)

Use mask to restrict accepted input.

◆ set_input_mask() [2/2]

void clan::LineEdit::set_input_mask ( const std::string &  mask)

Use mask to restrict accepted input.

◆ set_label()

void clan::Tab::set_label ( int  index,
const std::string &  new_label 
)

Set the label of the component specified by index.

◆ set_label_by_id()

void clan::Tab::set_label_by_id ( int  id,
const std::string &  new_label 
)

Set the label of the component specified by index.

◆ set_line_step()

void clan::ScrollBar::set_line_step ( int  step)

Set line step.

Parameters
step= value

◆ set_lock_to_ticks()

void clan::Slider::set_lock_to_ticks ( bool  lock)

Set lock to ticks.

Parameters
lock= bool

◆ set_lowercase() [1/2]

void clan::TextEdit::set_lowercase ( bool  enable = true)

Set lowercase.

Parameters
enable= bool

◆ set_lowercase() [2/2]

void clan::LineEdit::set_lowercase ( bool  enable = true)

Set lowercase.

Parameters
enable= bool

◆ set_marquee_animation_speed()

void clan::ProgressBar::set_marquee_animation_speed ( int  milliseconds)

Set marquee animation speed.

Parameters
milliseconds= value

◆ set_marquee_box_width()

void clan::ProgressBar::set_marquee_box_width ( int  width)

Set marquee box width.

Parameters
width= value

◆ set_marquee_mode()

void clan::ProgressBar::set_marquee_mode ( bool  enable)

Set marquee mode.

Parameters
enable= bool

◆ set_marquee_step_size()

void clan::ProgressBar::set_marquee_step_size ( int  size)

Set marquee step size.

Parameters
size= value

◆ set_max() [1/3]

void clan::ScrollBar::set_max ( int  scroll_max)

Set max.

Parameters
scroll_max= value

◆ set_max() [2/3]

void clan::ProgressBar::set_max ( int  progress_max)

Set max.

Parameters
progress_max= value

◆ set_max() [3/3]

void clan::Slider::set_max ( int  slider_max)

Set max.

Parameters
slider_max= value

◆ set_max_length() [1/2]

void clan::TextEdit::set_max_length ( int  length)

Set max length.

Parameters
length= value

◆ set_max_length() [2/2]

void clan::LineEdit::set_max_length ( int  length)

Set max length.

Parameters
length= value

◆ set_maximum_height()

void clan::PopupMenu::set_maximum_height ( int  height_pixels)

Set maximum height.

Parameters
height_pixels= value

◆ set_min() [1/3]

void clan::ScrollBar::set_min ( int  scroll_min)

Set min.

Parameters
scroll_min= value

◆ set_min() [2/3]

void clan::ProgressBar::set_min ( int  progress_min)

Set min.

Parameters
progress_min= value

◆ set_min() [3/3]

void clan::Slider::set_min ( int  slider_min)

Set min.

Parameters
slider_min= value

◆ set_minimum_width()

void clan::PopupMenu::set_minimum_width ( int  width_pixels)

Set minimum width.

Parameters
width_pixels= value

◆ set_multi_select() [1/2]

void clan::OpenFileDialog::set_multi_select ( bool  multiselect)

Sets if multiple files can be selected or not.

Parameters
multiselect= When true, multiple items can be selected.

◆ set_multi_select() [2/2]

void clan::ListView::set_multi_select ( bool  value)

When true, multiple items can be selected.

◆ set_number_of_decimal_places()

void clan::Spin::set_number_of_decimal_places ( int  decimal_places)

Set number of decimal places.

Parameters
decimal_places= value

◆ set_numeric_mode()

void clan::LineEdit::set_numeric_mode ( bool  enable = true,
bool  decimals = false 
)

Set numeric mode.

Parameters
enable= bool
decimals= bool

◆ set_offset()

void clan::ListViewIcon::set_offset ( const Point offset,
ListViewDisplayMode  mode 
)

◆ set_open()

void clan::ListViewItem::set_open ( bool  open)

Set open.

Parameters
open= bool

◆ set_page_step() [1/2]

void clan::ScrollBar::set_page_step ( int  step)

Set page step.

Parameters
step= value

◆ set_page_step() [2/2]

void clan::Slider::set_page_step ( int  steps)

Set page step.

Parameters
steps= value

◆ set_part_text() [1/2]

void clan::StatusBar::set_part_text ( int  id,
const std::string &  text 
)

Set part text.

Parameters
id= value
text= String Ref

◆ set_part_text() [2/2]

void clan::StatusBar::set_part_text ( int  id,
const Image icon,
const std::string &  text 
)

Set part text.

Parameters
id= value
icon= Image
text= String Ref

◆ set_password_mode()

void clan::LineEdit::set_password_mode ( bool  enable = true)

Set password mode.

Parameters
enable= bool

◆ set_pixel_buffer()

void clan::ListViewIcon::set_pixel_buffer ( PixelBuffer pbuf,
ListViewDisplayMode  mode 
)

Set pixel buffer.

Parameters
pbuf= Pixel Buffer
mode= List View Display Mode

◆ set_popup_menu()

void clan::ComboBox::set_popup_menu ( PopupMenu menu)

Set popup menu.

Parameters
menu= Popup Menu

◆ set_position() [1/3]

void clan::ProgressBar::set_position ( int  pos)

Set position.

Parameters
pos= value

◆ set_position() [2/3]

void clan::ScrollBar::set_position ( int  pos)

Set position.

Parameters
pos= value

◆ set_position() [3/3]

void clan::Slider::set_position ( int  pos)

Set position.

Parameters
pos= value

◆ set_pressed()

void clan::ToolBarItem::set_pressed ( bool  value)

Set pressed.

Parameters
value= bool

Referenced by clan::ToolBarItem::is_null().

◆ set_pushed()

void clan::PushButton::set_pushed ( bool  enable)

Set pushed.

Parameters
enable= bool

◆ set_radio_id()

void clan::RadioButton::set_radio_id ( int  id)

Set id.

Parameters
id= value

◆ set_range()

void clan::ProgressBar::set_range ( int  progress_min,
int  progress_max 
)

Set range.

Parameters
progress_min= value
progress_max= value

◆ set_ranges() [1/3]

void clan::Spin::set_ranges ( int  min,
int  max 
)

Set ranges.

Parameters
min= value
max= value

◆ set_ranges() [2/3]

void clan::ScrollBar::set_ranges ( int  scroll_min,
int  scroll_max,
int  line_step,
int  page_step 
)

Set ranges.

Parameters
scroll_min= value
scroll_max= value
line_step= value
page_step= value

◆ set_ranges() [3/3]

void clan::Slider::set_ranges ( int  slider_min,
int  slider_max,
unsigned int  tick_count,
int  page_step 
)

Set ranges.

Parameters
slider_min= value
slider_max= value
tick_count= value
page_step= value

◆ set_ranges_float()

void clan::Spin::set_ranges_float ( float  min,
float  max 
)

Set ranges float.

Parameters
min= value
max= value

◆ set_read_only() [1/2]

void clan::TextEdit::set_read_only ( bool  enable = true)

Set read only.

Parameters
enable= bool

◆ set_read_only() [2/2]

void clan::LineEdit::set_read_only ( bool  enable = true)

Set read only.

Parameters
enable= bool

◆ set_scalable()

void clan::ListViewIcon::set_scalable ( bool  value)

Set scalable.

Parameters
value= bool

◆ set_scale()

void clan::ImageView::set_scale ( float  x,
float  y 
)

Set scale.

Parameters
x= value
y= value

◆ set_scale_to_fit()

void clan::ImageView::set_scale_to_fit ( bool  enable)

Set scale to fit.

◆ set_scroll_position()

void clan::ListView::set_scroll_position ( int  pos)

Set listview scrollbar position.

Parameters
pos= int

◆ set_select_all_on_focus_gain() [1/2]

void clan::TextEdit::set_select_all_on_focus_gain ( bool  enable)

◆ set_select_all_on_focus_gain() [2/2]

void clan::LineEdit::set_select_all_on_focus_gain ( bool  enable)

◆ set_select_whole_row()

void clan::ListView::set_select_whole_row ( bool  value)

When true, the whole row is drawn selected, as opposed to only the first column.

◆ set_selected() [1/2]

void clan::RadioButton::set_selected ( bool  selected)

Set selected.

Parameters
selected= bool

◆ set_selected() [2/2]

void clan::ListView::set_selected ( ListViewItem item,
bool  selected = true 
)

Set selected.

Parameters
item= List View Item
selected= bool

◆ set_selected_color()

void clan::ListViewIconList::set_selected_color ( const Colorf color)

Set selected color.

Parameters
color= Colorf

◆ set_selected_color_overlay()

void clan::ListViewIconList::set_selected_color_overlay ( const Colorf color)

Set selected color overlay.

Parameters
color= Colorf

◆ set_selected_item()

void clan::ComboBox::set_selected_item ( int  index)

Set selected item.

Parameters
index= value

◆ set_selection() [1/2]

void clan::TextEdit::set_selection ( int  pos,
int  length 
)

Set selection.

Parameters
pos= value
length= value

◆ set_selection() [2/2]

void clan::LineEdit::set_selection ( int  pos,
int  length 
)

Set selection.

Parameters
pos= value
length= value

◆ set_separator()

void clan::PopupMenuItem::set_separator ( bool  separator)

Set separator.

Parameters
separator= bool

Referenced by clan::PopupMenuItem::is_null().

◆ set_single_selection()

void clan::ToolBar::set_single_selection ( bool  value)

Set single selection.

Parameters
value= bool

◆ set_sprite() [1/2]

void clan::ImageView::set_sprite ( const Sprite image)

Set sprite.

Parameters
image= Sprite

◆ set_sprite() [2/2]

void clan::ListViewIcon::set_sprite ( const Sprite sprite,
ListViewDisplayMode  mode 
)

Set sprite.

Parameters
sprite= Sprite
mode= List View Display Mode

◆ set_status_text()

void clan::StatusBar::set_status_text ( const std::string &  text)

Set status text.

Parameters
text= String Ref

◆ set_step_size() [1/2]

void clan::Spin::set_step_size ( int  step_size)

Set step size.

Parameters
step_size= value

◆ set_step_size() [2/2]

void clan::ProgressBar::set_step_size ( int  size)

Set step size.

Parameters
size= value

◆ set_step_size_float()

void clan::Spin::set_step_size_float ( float  step_size)

Set step size float.

Parameters
step_size= value

◆ set_submenu()

void clan::PopupMenuItem::set_submenu ( PopupMenu submenu)

Set submenu.

Parameters
submenu= Popup Menu

Referenced by clan::PopupMenuItem::is_null().

◆ set_text() [1/13]

void clan::ListViewColumnData::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [2/13]

void clan::ToolTip::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [3/13]

void clan::CheckBox::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [4/13]

void clan::RadioButton::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [5/13]

void clan::Label::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [6/13]

void clan::ComboBox::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [7/13]

void clan::ToolBarItem::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

Referenced by clan::ToolBarItem::is_null().

◆ set_text() [8/13]

void clan::PushButton::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [9/13]

void clan::PopupMenuItem::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

Referenced by clan::PopupMenuItem::is_null().

◆ set_text() [10/13]

void clan::TextEdit::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [11/13]

void clan::LineEdit::set_text ( const std::string &  text)

Set text.

Parameters
text= String Ref

◆ set_text() [12/13]

void clan::LineEdit::set_text ( int  number)

Set text.

Parameters
number= value

◆ set_text() [13/13]

void clan::LineEdit::set_text ( float  number,
int  num_decimal_places = 6 
)

Set text.

Parameters
number= value
num_decimal_places= number of decimal places

◆ set_text_color()

void clan::Label::set_text_color ( const Colorf  color)

◆ set_tick_count()

void clan::Slider::set_tick_count ( int  tick_count)

Set tick count.

Parameters
tick_count= value

◆ set_title() [1/3]

void clan::BrowseFolderDialog::set_title ( const std::string &  title)

Sets the text that appears in the title bar.

Parameters
title= title

◆ set_title() [2/3]

void clan::SaveFileDialog::set_title ( const std::string &  title)

Sets the text that appears in the title bar.

Parameters
title= title

◆ set_title() [3/3]

void clan::OpenFileDialog::set_title ( const std::string &  title)

Sets the text that appears in the title bar.

Parameters
title= title

◆ set_toggle()

void clan::PushButton::set_toggle ( bool  enable)

Set toggle.

Parameters
enable= bool

◆ set_toggling()

void clan::ToolBarItem::set_toggling ( bool  toggling)

Controls if buttons stay down when pressed.

Referenced by clan::ToolBarItem::is_null().

◆ set_uppercase() [1/2]

void clan::TextEdit::set_uppercase ( bool  enable = true)

Set uppercase.

Parameters
enable= bool

◆ set_uppercase() [2/2]

void clan::LineEdit::set_uppercase ( bool  enable = true)

Set uppercase.

Parameters
enable= bool

◆ set_userdata()

void clan::ListViewItem::set_userdata ( std::shared_ptr< ListViewItemUserData ptr)

Set userdata.

Parameters
ptr= Unknown Shared Ptr

◆ set_value()

void clan::Spin::set_value ( int  value)

Set value.

Parameters
value= value

◆ set_value_float()

void clan::Spin::set_value_float ( float  value)

Set value float.

Parameters
value= value

◆ set_vertical() [1/2]

void clan::ScrollBar::set_vertical ( )

Set vertical.

◆ set_vertical() [2/2]

void clan::Slider::set_vertical ( bool  enable)

Set vertical.

Parameters
enable= bool

◆ set_width()

void clan::ListViewColumnHeader::set_width ( int  width)

Set width.

Parameters
width= value

◆ show() [1/4]

bool clan::BrowseFolderDialog::show ( )

Shows the file dialog.

Returns
true if the user clicks the OK button of the dialog that is displayed, false otherwise.

◆ show() [2/4]

void clan::ToolTip::show ( const Point position)

Show.

Parameters
position= Point

◆ show() [3/4]

bool clan::SaveFileDialog::show ( )

Shows the file dialog.

Returns
true if the user clicks the OK button of the dialog that is displayed, false otherwise.

◆ show() [4/4]

bool clan::OpenFileDialog::show ( )

Shows the file dialog.

Returns
true if the user clicks the OK button of the dialog that is displayed, false otherwise.

◆ show_delayed()

void clan::ToolTip::show_delayed ( const Point position,
int  delay_time = 750 
)

Show delayed.

Parameters
position= Point
delay_time= value

◆ show_detail_icon()

void clan::ListView::show_detail_icon ( bool  enable = true)

Set if icons are shown in the detail display mode.

◆ show_detail_opener()

void clan::ListView::show_detail_opener ( bool  enable = true)

Set if node opener is shown in the detail display mode.

◆ show_page()

void clan::Tab::show_page ( int  index)

Show a page by its index.

◆ show_page_by_id()

void clan::Tab::show_page_by_id ( int  id)

Show a page by its ID. In case of non-unique ID's the first match will be shown.

◆ show_part()

void clan::StatusBar::show_part ( int  id,
bool  show = true 
)

Show part.

Parameters
id= value
show= bool

◆ show_size_grip()

void clan::StatusBar::show_size_grip ( bool  show = true)

Show size grip.

Parameters
show= bool

◆ start()

void clan::PopupMenu::start ( GUIComponent parent,
const Point pos 
)

Start the popup menu for dialog (not modal)

◆ step_position()

void clan::ProgressBar::step_position ( )

Step position.

◆ throw_if_null() [1/6]

void clan::ListViewSelectedItem::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [2/6]

void clan::ListViewColumnHeader::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [3/6]

void clan::PopupMenu::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [4/6]

void clan::ListViewItem::throw_if_null ( ) const

Throw an exception if this object is invalid.

◆ throw_if_null() [5/6]

void clan::ToolBarItem::throw_if_null ( ) const

Throw an exception if this object is invalid.

Referenced by clan::ToolBarItem::is_null().

◆ throw_if_null() [6/6]

void clan::PopupMenuItem::throw_if_null ( ) const

Throw an exception if this object is invalid.

Referenced by clan::PopupMenuItem::is_null().

Friends

◆ ListView

friend class ListView
friend

◆ ListView_Impl [1/3]

friend class ListView_Impl
friend

◆ ListView_Impl [2/3]

friend class ListView_Impl
friend

◆ ListView_Impl [3/3]

friend class ListView_Impl
friend

◆ ListViewHeader

friend class ListViewHeader
friend

◆ ListViewHeader_Impl

friend class ListViewHeader_Impl
friend

◆ ListViewLayout

friend class ListViewLayout
friend

◆ ListViewRenderer

friend class ListViewRenderer
friend

◆ ListViewSelection [1/2]

friend class ListViewSelection
friend

◆ ListViewSelection [2/2]

friend class ListViewSelection
friend

◆ MenuBar

friend class MenuBar
friend

◆ MenuBar_Impl

friend class MenuBar_Impl
friend

◆ MenuModalLoop

friend class MenuModalLoop
friend

◆ PopupMenuWindow

friend class PopupMenuWindow
friend

◆ RadioButton_Impl

friend class RadioButton_Impl
friend

◆ Tab

friend class Tab
friend

◆ ToolBar

friend class ToolBar
friend

◆ ToolBar_Impl

friend class ToolBar_Impl
friend