logo top
Main Page   Widgets   Namespaces   Book  

Gtk::ComboBox Class Reference
[Widgets]

See also ComboBoxText, which is specialised for a single text column. More...

Inheritance diagram for Gtk::ComboBox:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual ~ComboBox ()
GtkComboBox* gobj ()
 Provides access to the underlying C GtkObject.

const GtkComboBox* gobj () const
 Provides access to the underlying C GtkObject.

 ComboBox (const Glib::RefPtr<TreeModel>& model)
void set_wrap_width (int width)
void set_row_span_column (int row_span)
void set_column_span_column (int column_span)
int get_active_row_number () const
TreeModel::iterator get_active ()
TreeModel::const_iterator get_active () const
void set_active (int index)
void set_active (const TreeModel::iterator& iter)
void unset_active ()
Glib::RefPtr<TreeModelget_model ()
Glib::RefPtr<const TreeModelget_model () const
Glib::PropertyProxy<int> property_wrap_width ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<int> property_row_span_column ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<int> property_column_span_column ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::PropertyProxy<int> property_active ()
 You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Glib::SignalProxy0<void> signal_changed ()

Protected Member Functions

virtual void on_changed ()

Related Functions

(Note that these are not member functions.)

Gtk::ComboBoxwrap (GtkComboBox* object, bool take_copy=false)

Detailed Description

See also ComboBoxText, which is specialised for a single text column.


Constructor & Destructor Documentation

virtual Gtk::ComboBox::~ComboBox (  )  [virtual]
 

Gtk::ComboBox::ComboBox ( const Glib::RefPtr<TreeModel>&  model  )  [explicit]
 


Member Function Documentation

TreeModel::const_iterator Gtk::ComboBox::get_active (  )  const
 

TreeModel::iterator Gtk::ComboBox::get_active (  ) 
 

int Gtk::ComboBox::get_active_row_number (  )  const
 

Glib::RefPtr<const TreeModel> Gtk::ComboBox::get_model (  )  const
 

Glib::RefPtr<TreeModel> Gtk::ComboBox::get_model (  ) 
 

const GtkComboBox* Gtk::ComboBox::gobj (  )  const [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

Reimplemented in Gtk::ComboBoxEntry.

GtkComboBox* Gtk::ComboBox::gobj (  )  [inline]
 

Provides access to the underlying C GtkObject.

Reimplemented from Gtk::Bin.

Reimplemented in Gtk::ComboBoxEntry.

virtual void Gtk::ComboBox::on_changed (  )  [protected, virtual]
 

Glib::PropertyProxy<int> Gtk::ComboBox::property_active (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gtk::ComboBox::property_column_span_column (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gtk::ComboBox::property_row_span_column (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

Glib::PropertyProxy<int> Gtk::ComboBox::property_wrap_width (  ) 
 

You rarely need to use properties because there are get_ and set_ methods for almost all of them.

Returns:
A PropertyProxy that allows you to get or set the property of the value, or receive notification when the value of the property changes.

void Gtk::ComboBox::set_active ( const TreeModel::iterator iter  ) 
 

void Gtk::ComboBox::set_active ( int  index  ) 
 

void Gtk::ComboBox::set_column_span_column ( int  column_span  ) 
 

void Gtk::ComboBox::set_row_span_column ( int  row_span  ) 
 

void Gtk::ComboBox::set_wrap_width ( int  width  ) 
 

Glib::SignalProxy0<void> Gtk::ComboBox::signal_changed (  ) 
 

Prototype:
void changed()

void Gtk::ComboBox::unset_active (  ) 
 


Friends And Related Function Documentation

Gtk::ComboBox* wrap ( GtkComboBox*  object,
bool  take_copy = false
[related]
 


The documentation for this class was generated from the following file:
Generated for gtkmm 2.2 by Doxygen 1.3.4 © 1997-2001