Main Page Widgets Namespaces Book

# Gtk::CellRendererText Class Reference
[TreeView Classes]

Inheritance diagram for Gtk::CellRendererText:

[legend]
List of all members.

## Public Methods
virtual | ~CellRendererText ()
GtkCellRendererText* | gobj ()
| Provides access to the underlying C GtkObject.
const GtkCellRendererText* | gobj () const
| Provides access to the underlying C GtkObject.
| CellRendererText ()
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 ()
Glib::PropertyProxy<Glib::ustring> | property_text ()
Glib::PropertyProxy_WriteOnly< Glib::ustring > | property_markup ()
Glib::PropertyProxy<Pango::AttrList> | property_attributes ()
Glib::PropertyProxy_WriteOnly< Glib::ustring > | property_background ()
Glib::PropertyProxy_WriteOnly< Glib::ustring > | property_foreground ()
Glib::PropertyProxy<Gdk::Color> | property_background_gdk ()
Glib::PropertyProxy<Gdk::Color> | property_foreground_gdk ()
Glib::PropertyProxy<Glib::ustring> | property_font ()
Glib::PropertyProxy<Pango::FontDescription> | property_font_desc ()
Glib::PropertyProxy<Glib::ustring> | property_family ()
Glib::PropertyProxy<Pango::Style> | property_style ()
Glib::PropertyProxy<Pango::Variant> | property_variant ()
Glib::PropertyProxy<int> | property_weight ()
Glib::PropertyProxy<Pango::Stretch> | property_stretch ()
Glib::PropertyProxy<int> | property_size ()
Glib::PropertyProxy<double> | property_size_points ()
Glib::PropertyProxy<double> | property_scale ()
Glib::PropertyProxy<bool> | property_editable ()
Glib::PropertyProxy<bool> | property_strikethrough ()
Glib::PropertyProxy<Pango::Underline> | property_underline ()
Glib::PropertyProxy<int> | property_rise ()
Glib::PropertyProxy<bool> | property_background_set ()
Glib::PropertyProxy<bool> | property_foreground_set ()
Glib::PropertyProxy<bool> | property_family_set ()
Glib::PropertyProxy<bool> | property_style_set ()
Glib::PropertyProxy<bool> | property_variant_set ()
Glib::PropertyProxy<bool> | property_weight_set ()
Glib::PropertyProxy<bool> | property_stretch_set ()
Glib::PropertyProxy<bool> | property_size_set ()
Glib::PropertyProxy<bool> | property_scale_set ()
Glib::PropertyProxy<bool> | property_editable_set ()
Glib::PropertyProxy<bool> | property_strikethrough_set ()
Glib::PropertyProxy<bool> | property_underline_set ()
Glib::PropertyProxy<bool> | property_rise_set ()
virtual Glib::PropertyProxy_Base | _property_renderable ()
| Returns the property that this CellRenderer renders.
## Protected Methods
virtual void | on_edited (const Glib::ustring& path, const Glib::ustring& new_text)
void | edited (const Glib::ustring& path, const Glib::ustring& new_text)
## Related Functions
(Note that these are not member functions.)
Gtk::CellRendererText* | wrap (GtkCellRendererText* object, bool take_copy=false)

## Constructor & Destructor Documentation

virtual Gtk::CellRendererText::~CellRendererText | ( |  | ) | `[virtual]`

Gtk::CellRendererText::CellRendererText | ( |  | ) |

## Member Function Documentation

virtual Glib::PropertyProxy_Base Gtk::CellRendererText::_property_renderable | ( |  | ) | `[virtual]`

| 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.

void Gtk::CellRendererText::edited | ( | const Glib::ustring& | path,
|  | const Glib::ustring& | new_text
| ) | `[protected]`

const GtkCellRendererText* Gtk::CellRendererText::gobj | ( |  | ) | const`[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::CellRenderer.

GtkCellRendererText* Gtk::CellRendererText::gobj | ( |  | ) | `[inline]`

| Provides access to the underlying C GtkObject. Reimplemented from Gtk::CellRenderer.

virtual void Gtk::CellRendererText::on_edited | ( | const Glib::ustring& | path,
|  | const Glib::ustring& | new_text
| ) | `[protected, virtual]`

Glib::PropertyProxy<Pango::AttrList> Gtk::CellRendererText::property_attributes | ( |  | ) |

Glib::PropertyProxy_WriteOnly<Glib::ustring> Gtk::CellRendererText::property_background | ( |  | ) |

Glib::PropertyProxy<Gdk::Color> Gtk::CellRendererText::property_background_gdk | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_background_set | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_editable | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_editable_set | ( |  | ) |

Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererText::property_family | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_family_set | ( |  | ) |

Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererText::property_font | ( |  | ) |

Glib::PropertyProxy<Pango::FontDescription> Gtk::CellRendererText::property_font_desc | ( |  | ) |

Glib::PropertyProxy_WriteOnly<Glib::ustring> Gtk::CellRendererText::property_foreground | ( |  | ) |

Glib::PropertyProxy<Gdk::Color> Gtk::CellRendererText::property_foreground_gdk | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_foreground_set | ( |  | ) |

Glib::PropertyProxy_WriteOnly<Glib::ustring> Gtk::CellRendererText::property_markup | ( |  | ) |

Glib::PropertyProxy<int> Gtk::CellRendererText::property_rise | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_rise_set | ( |  | ) |

Glib::PropertyProxy<double> Gtk::CellRendererText::property_scale | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_scale_set | ( |  | ) |

Glib::PropertyProxy<int> Gtk::CellRendererText::property_size | ( |  | ) |

Glib::PropertyProxy<double> Gtk::CellRendererText::property_size_points | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_size_set | ( |  | ) |

Glib::PropertyProxy<Pango::Stretch> Gtk::CellRendererText::property_stretch | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_stretch_set | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_strikethrough | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_strikethrough_set | ( |  | ) |

Glib::PropertyProxy<Pango::Style> Gtk::CellRendererText::property_style | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_style_set | ( |  | ) |

Glib::PropertyProxy<Glib::ustring> Gtk::CellRendererText::property_text | ( |  | ) |

Glib::PropertyProxy<Pango::Underline> Gtk::CellRendererText::property_underline | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_underline_set | ( |  | ) |

Glib::PropertyProxy<Pango::Variant> Gtk::CellRendererText::property_variant | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_variant_set | ( |  | ) |

Glib::PropertyProxy<int> Gtk::CellRendererText::property_weight | ( |  | ) |

Glib::PropertyProxy<bool> Gtk::CellRendererText::property_weight_set | ( |  | ) |

void Gtk::CellRendererText::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. 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. Parameters:
  number_of_rows | Number of rows of text each cell renderer is allocated, or -1.

Glib::SignalProxy2<void,const Glib::ustring&,const Glib::ustring&> Gtk::CellRendererText::signal_edited | ( |  | ) |

| Prototype: `void edited(const Glib::ustring& path, const Glib::ustring& new_text)`

## Friends And Related Function Documentation

Gtk::CellRendererText* wrap | ( | GtkCellRendererText* | object,
|  | bool | take_copy = false
| ) | `[related]`

The documentation for this class was generated from the following file:

- cellrenderertext.h