![]() |
![]() |
Public Member Functions | |
virtual Glib::ustring | _property_renderable () |
Returns the property that this CellRenderer renders. | |
CellRendererText () | |
const GtkCellRendererText* | gobj () const |
Provides access to the underlying C GtkObject. | |
GtkCellRendererText* | gobj () |
Provides access to the underlying C GtkObject. | |
void | set_fixed_height_from_font (int number_of_rows) |
Sets the height of a renderer to explicitly be determined by the "font" and "y_pad" property set on it. | |
Glib::SignalProxy2< void, const Glib::ustring &, const Glib::ustring& > | signal_edited () |
virtual | ~CellRendererText () |
Protected Member Functions | |
void | edited (const Glib::ustring& path, const Glib::ustring& new_text) |
Emits the "edited" signal. | |
Related Functions | |
(Note that these are not member functions.) | |
Gtk::CellRendererText* | wrap (GtkCellRendererText* object, bool take_copy=false) |
|
|
|
|
|
Returns the property that this CellRenderer renders. For instance, property_text for CellRendererText, and property_active for CellRendererToggle Needs to be overridden in derived classes. Reimplemented from Gtk::CellRenderer. Reimplemented in Gtk::CellRendererCombo. |
|
Emits the "edited" signal. This is useful when implementing custom CellRenderers. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer. Reimplemented in Gtk::CellRendererCombo. |
|
Provides access to the underlying C GtkObject.
Reimplemented from Gtk::CellRenderer. Reimplemented in Gtk::CellRendererCombo. |
|
Sets the height of a renderer to explicitly be determined by the "font" and "y_pad" property set on it. Further changes in these properties do not affect the height, so they must be accompanied by a subsequent call to this function. Using this function is unflexible, and should really only be used if calculating the size of a cell is too slow (ie, a massive number of cells displayed). If number_of_rows is -1, then the fixed height is unset, and the height is determined by the properties again.
|
|
|
|
|