Xfce Foundation Classes
Main Page  | IndexNamespace List  |  Alphabetical List  |  Class List  |  File List


Xfc::Gtk::ComboBoxEntryText Class Reference

A Text Gtk::ComboBoxEntry class. More...

#include <xfc/gtk/comboboxentry.hh>

Inheritance diagram for Xfc::Gtk::ComboBoxEntryText:

Xfc::Gtk::ComboBoxEntry Xfc::Gtk::ComboBox Xfc::Gtk::Bin Xfc::Gtk::CellLayout Xfc::Gtk::Container Xfc::G::TypeInterface Xfc::Gtk::Widget Xfc::G::TypeInstance Xfc::Gtk::Object Xfc::Atk::Implementor Xfc::Trackable Xfc::G::Object Xfc::G::TypeInterface Xfc::G::TypeInstance Xfc::G::TypeInstance Xfc::Trackable Xfc::Trackable List of all members.

Public Member Functions

Methods

Detailed Description

A Text Gtk::ComboBoxEntry class.

ComboBoxEntryText is an editable text combo box, which is a Gtk::ComboBoxEntry just displaying strings. If you use this text combo box, you should only manipulate its data source with the following convenience methods: append_text(), insert_text(), prepend_text() and remove_text().

See also: the ComboBox HOWTOs and examples.


Member Function Documentation

void Xfc::Gtk::ComboBoxEntryText::append ( const String text  ) 

Appends a string to the list of strings stored in the combo box.

Parameters:
text A text string.

void Xfc::Gtk::ComboBoxEntryText::prepend ( const String text  ) 

Prepends a string to the list of strings stored in the combo box.

Parameters:
text A text string.

void Xfc::Gtk::ComboBoxEntryText::insert ( int  position,
const String text 
)

Inserts a string at position in the list of strings stored in the combo box.

Parameters:
position An index to insert text.
text A text string.

void Xfc::Gtk::ComboBoxEntryText::remove ( int  position  ) 

Removes the string at position from the combo box.

Parameters:
position The index of the item to remove.


The documentation for this class was generated from the following file: Xfce Foundation Classes
Copyright © 2004-2005 The XFC Development Team XFC 4.3