#include <casecombobox.h>
Public Member Functions | |
CharComboBox (const CharacterMap &characters) | |
Constructor. | |
bool | empty () const |
See if the combo box is empty. | |
void | set_active_internal (const Glib::ustring &name) |
Set the active character by internal name. | |
Glib::ustring | get_selected_name () const |
Get the selected character's name. | |
Glib::ustring | get_selected_internal () const |
Get the selected character's internal name. | |
Character * | get_selected_character () |
Get the selected character. | |
Protected Attributes | |
CharacterMap | m_Characters |
Internal map of characters. |
CharComboBox::CharComboBox | ( | const CharacterMap & | characters | ) |
Constructor.
characters | Map of characters to include |
bool CharComboBox::empty | ( | ) | const [inline] |
See if the combo box is empty.
void CharComboBox::set_active_internal | ( | const Glib::ustring & | name | ) |
Set the active character by internal name.
name | The internal name |
Glib::ustring CharComboBox::get_selected_name | ( | ) | const |
Get the selected character's name.
Glib::ustring CharComboBox::get_selected_internal | ( | ) | const |
Get the selected character's internal name.
Character * CharComboBox::get_selected_character | ( | ) |