BlockComboBox Class Reference

Combo box to display text blocks. More...

#include <casecombobox.h>

List of all members.

Public Member Functions

 BlockComboBox (const BufferMap &blocks)
 Constructor.
bool empty () const
 See if the combo box is empty.
Glib::ustring get_selected_internal () const
 Get the selected block's internal ID.
Glib::RefPtr
< Gtk::TextBuffer > 
get_selected_block ()
 Get the selected block's contents.

Protected Attributes

BufferMap m_Buffers
 Internal map of blocks.


Detailed Description

Combo box to display text blocks.

Constructor & Destructor Documentation

BlockComboBox::BlockComboBox ( const BufferMap &  blocks  ) 

Constructor.

Parameters:
blocks Map of buffers to display


Member Function Documentation

bool BlockComboBox::empty (  )  const [inline]

See if the combo box is empty.

Returns:
true if empty, false otherwise

Glib::ustring BlockComboBox::get_selected_internal (  )  const

Get the selected block's internal ID.

Returns:
Internal ID of selected block

Glib::RefPtr< Gtk::TextBuffer > BlockComboBox::get_selected_block (  ) 

Get the selected block's contents.

Returns:
The selected block's text


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