Gtk::ComboBoxEntryText Class Reference
[Widgets]

This is a specialisation of the ComboBoxEntry which has one column of text (a simple list), and appropriate methods for setting and getting the text. More...

Inherits Gtk::ComboBoxEntry.

Collaboration diagram for Gtk::ComboBoxEntryText:
Collaboration graph
[legend]

List of all members.

Classes

class TextModelColumns

Public Member Functions

 ComboBoxEntryText ()
void append_text (const Glib::ustring& text)
 Add an item to the end of the drop-down list.
void insert_text (int position, const Glib::ustring& text)
void prepend_text (const Glib::ustring& text)
 Add an item to the beginning of the drop-down list.
void clear_items ()
 Remove all items from the drop-down menu.
void remove_text (const Glib::ustring& text)
 Remove the specified item if it is in the drop-down menu.

Protected Attributes

TextModelColumns m_text_columns

Detailed Description

This is a specialisation of the ComboBoxEntry which has one column of text (a simple list), and appropriate methods for setting and getting the text.


Constructor & Destructor Documentation

Gtk::ComboBoxEntryText::ComboBoxEntryText (  ) 

Member Function Documentation

void Gtk::ComboBoxEntryText::append_text ( const Glib::ustring text  ) 

Add an item to the end of the drop-down list.

Parameters:
text The text for the item.
void Gtk::ComboBoxEntryText::clear_items (  ) 

Remove all items from the drop-down menu.

void Gtk::ComboBoxEntryText::insert_text ( int  position,
const Glib::ustring text 
)
void Gtk::ComboBoxEntryText::prepend_text ( const Glib::ustring text  ) 

Add an item to the beginning of the drop-down list.

Parameters:
text The text for the item.
void Gtk::ComboBoxEntryText::remove_text ( const Glib::ustring text  ) 

Remove the specified item if it is in the drop-down menu.

The text of the item that should be removed.


Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Sun Oct 3 14:36:43 2010 for gtkmm by  doxygen 1.6.3