LocationWidget Class Reference

Widget that lists built-in locations and let's the user choose one. More...

#include <locationwidget.h>

List of all members.

Public Member Functions

 LocationWidget (const LocationMap &locations)
 Constructor.
Glib::ustring get_selected_location () const
 Get the selected location.

Private Attributes

Gtk::Label * m_LocLabel
LocationComboBoxm_LocCB
Gtk::RadioButtonGroup m_Group
Gtk::RadioButton * m_ProsecutorRB
Gtk::RadioButton * m_DefenseRB
Gtk::RadioButton * m_DefenseHelperRB
Gtk::RadioButton * m_WitnessRB
Gtk::RadioButton * m_CourtRB
Gtk::RadioButton * m_JudgeRB


Detailed Description

Widget that lists built-in locations and let's the user choose one.

Built-in locations are generally court locations, since they can't be removed by the user. This widget provides a list of such locations, and allows custom ones to be added as a separate list.


Constructor & Destructor Documentation

LocationWidget::LocationWidget ( const LocationMap &  locations  ) 

Constructor.

Parameters:
locations Map of case locations


Member Function Documentation

Glib::ustring LocationWidget::get_selected_location (  )  const

Get the selected location.

Returns:
The selected location


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