CharComboBox Class Reference

Combo box displaying characters. More...

#include <casecombobox.h>

List of all members.

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.
Characterget_selected_character ()
 Get the selected character.

Protected Attributes

CharacterMap m_Characters
 Internal map of characters.


Detailed Description

Combo box displaying characters.

Constructor & Destructor Documentation

CharComboBox::CharComboBox ( const CharacterMap &  characters  ) 

Constructor.

Parameters:
characters Map of characters to include


Member Function Documentation

bool CharComboBox::empty (  )  const [inline]

See if the combo box is empty.

Returns:
true if empty, false otherwise

void CharComboBox::set_active_internal ( const Glib::ustring &  name  ) 

Set the active character by internal name.

Parameters:
name The internal name

Glib::ustring CharComboBox::get_selected_name (  )  const

Get the selected character's name.

Returns:
The character's display name

Glib::ustring CharComboBox::get_selected_internal (  )  const

Get the selected character's internal name.

Returns:
The character's internal name

Character * CharComboBox::get_selected_character (  ) 

Get the selected character.

Returns:
Pointer to selected Character object


The documentation for this class was generated from the following files:
Generated on Fri Feb 22 22:34:18 2008 for Phoenix Wright Case Editor API by  doxygen 1.5.3