ImgComboBox Class Reference

Combo box to display images. More...

#include <casecombobox.h>

List of all members.

Public Member Functions

 ImgComboBox (const ImageMap &map)
 Constructor.
bool empty () const
 See if the combo box is empty.
void set_active_internal (const Glib::ustring &id)
 Set the active image by internal ID.
Glib::ustring get_selected_internal () const
 Get the selected image's internal ID.
Case::Imageget_selected_image ()
 Get the selected image.

Protected Attributes

ImageMap m_Images
 Internal record of images.


Detailed Description

Combo box to display images.

Constructor & Destructor Documentation

ImgComboBox::ImgComboBox ( const ImageMap &  map  ) 

Constructor.

Parameters:
map Map of images to display


Member Function Documentation

bool ImgComboBox::empty (  )  const [inline]

See if the combo box is empty.

Returns:
true if empty, false otherwise

void ImgComboBox::set_active_internal ( const Glib::ustring &  id  ) 

Set the active image by internal ID.

Parameters:
id Internal ID of image

Glib::ustring ImgComboBox::get_selected_internal (  )  const

Get the selected image's internal ID.

Returns:
The selected image's internal ID

Case::Image * ImgComboBox::get_selected_image (  ) 

Get the selected image.

Returns:
Pointer to selected Case::Image 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