// Generated by gtkmmproc -- DO NOT MODIFY! #include #include // -*- c++ -*- /* $Id$ */ /* * * Copyright 1998-2002 The gtkmm Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include namespace Gtk { #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_Base CellRendererText::_property_renderable() { return property_text(); } #else Glib::ustring CellRendererText::_property_renderable() { return "text"; } #endif //#GLIBMM_PROPERTIES_ENABLED void CellRendererText::edited(const Glib::ustring& path, const Glib::ustring& new_text) { g_signal_emit_by_name(gobj(), "edited", path.c_str(), new_text.c_str()); } } // namespace Gtk namespace { static void CellRendererText_signal_edited_callback(GtkCellRendererText* self, const gchar* p0,const gchar* p1,void* data) { using namespace Gtk; typedef sigc::slot< void,const Glib::ustring&,const Glib::ustring& > SlotType; // Do not try to call a signal on a disassociated wrapper. if(Glib::ObjectBase::_get_current_wrapper((GObject*) self)) { #ifdef GLIBMM_EXCEPTIONS_ENABLED try { #endif //GLIBMM_EXCEPTIONS_ENABLED if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data)) (*static_cast(slot))(Glib::convert_const_gchar_ptr_to_ustring(p0) , Glib::convert_const_gchar_ptr_to_ustring(p1) ); #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } static const Glib::SignalProxyInfo CellRendererText_signal_edited_info = { "edited", (GCallback) &CellRendererText_signal_edited_callback, (GCallback) &CellRendererText_signal_edited_callback }; } // anonymous namespace namespace Glib { Gtk::CellRendererText* wrap(GtkCellRendererText* object, bool take_copy) { return dynamic_cast (Glib::wrap_auto ((GObject*)(object), take_copy)); } } /* namespace Glib */ namespace Gtk { /* The *_Class implementation: */ const Glib::Class& CellRendererText_Class::init() { if(!gtype_) // create the GType if necessary { // Glib::Class has to know the class init function to clone custom types. class_init_func_ = &CellRendererText_Class::class_init_function; // This is actually just optimized away, apparently with no harm. // Make sure that the parent type has been created. //CppClassParent::CppObjectType::get_type(); // Create the wrapper type, with the same class/instance size as the base type. register_derived_type(gtk_cell_renderer_text_get_type()); // Add derived versions of interfaces, if the C type implements any interfaces: } return *this; } void CellRendererText_Class::class_init_function(void* g_class, void* class_data) { BaseClassType *const klass = static_cast(g_class); CppClassParent::class_init_function(klass, class_data); #ifdef GLIBMM_VFUNCS_ENABLED #endif //GLIBMM_VFUNCS_ENABLED #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED klass->edited = &edited_callback; #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED } #ifdef GLIBMM_VFUNCS_ENABLED #endif //GLIBMM_VFUNCS_ENABLED #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED void CellRendererText_Class::edited_callback(GtkCellRendererText* self, const gchar* p0, const gchar* p1) { Glib::ObjectBase *const obj_base = static_cast( Glib::ObjectBase::_get_current_wrapper((GObject*)self)); // Non-gtkmmproc-generated custom classes implicitly call the default // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- // generated classes can use this optimisation, which avoids the unnecessary // parameter conversions if there is no possibility of the virtual function // being overridden: if(obj_base && obj_base->is_derived_()) { CppObjectType *const obj = dynamic_cast(obj_base); if(obj) // This can be NULL during destruction. { #ifdef GLIBMM_EXCEPTIONS_ENABLED try // Trap C++ exceptions which would normally be lost because this is a C callback. { #endif //GLIBMM_EXCEPTIONS_ENABLED // Call the virtual member method, which derived classes might override. obj->on_edited(Glib::convert_const_gchar_ptr_to_ustring(p0) , Glib::convert_const_gchar_ptr_to_ustring(p1) ); return; #ifdef GLIBMM_EXCEPTIONS_ENABLED } catch(...) { Glib::exception_handlers_invoke(); } #endif //GLIBMM_EXCEPTIONS_ENABLED } } BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class). ); // Call the original underlying C function: if(base && base->edited) (*base->edited)(self, p0, p1); } #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED Glib::ObjectBase* CellRendererText_Class::wrap_new(GObject* o) { return manage(new CellRendererText((GtkCellRendererText*)(o))); } /* The implementation: */ CellRendererText::CellRendererText(const Glib::ConstructParams& construct_params) : Gtk::CellRenderer(construct_params) { } CellRendererText::CellRendererText(GtkCellRendererText* castitem) : Gtk::CellRenderer((GtkCellRenderer*)(castitem)) { } CellRendererText::~CellRendererText() { destroy_(); } CellRendererText::CppClassType CellRendererText::cellrenderertext_class_; // initialize static member GType CellRendererText::get_type() { return cellrenderertext_class_.init().get_type(); } GType CellRendererText::get_base_type() { return gtk_cell_renderer_text_get_type(); } CellRendererText::CellRendererText() : // Mark this class as non-derived to allow C++ vfuncs to be skipped. Glib::ObjectBase(0), Gtk::CellRenderer(Glib::ConstructParams(cellrenderertext_class_.init())) { } void CellRendererText::set_fixed_height_from_font(int number_of_rows) { gtk_cell_renderer_text_set_fixed_height_from_font(gobj(), number_of_rows); } Glib::SignalProxy2< void,const Glib::ustring&,const Glib::ustring& > CellRendererText::signal_edited() { return Glib::SignalProxy2< void,const Glib::ustring&,const Glib::ustring& >(this, &CellRendererText_signal_edited_info); } #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_text() { return Glib::PropertyProxy(this, "text"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_text() const { return Glib::PropertyProxy_ReadOnly(this, "text"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_WriteOnly CellRendererText::property_markup() { return Glib::PropertyProxy_WriteOnly(this, "markup"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_attributes() { return Glib::PropertyProxy(this, "attributes"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_attributes() const { return Glib::PropertyProxy_ReadOnly(this, "attributes"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_WriteOnly CellRendererText::property_background() { return Glib::PropertyProxy_WriteOnly(this, "background"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_WriteOnly CellRendererText::property_foreground() { return Glib::PropertyProxy_WriteOnly(this, "foreground"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_background_gdk() { return Glib::PropertyProxy(this, "background-gdk"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_background_gdk() const { return Glib::PropertyProxy_ReadOnly(this, "background-gdk"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_foreground_gdk() { return Glib::PropertyProxy(this, "foreground-gdk"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_foreground_gdk() const { return Glib::PropertyProxy_ReadOnly(this, "foreground-gdk"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_font() { return Glib::PropertyProxy(this, "font"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_font() const { return Glib::PropertyProxy_ReadOnly(this, "font"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_font_desc() { return Glib::PropertyProxy(this, "font-desc"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_font_desc() const { return Glib::PropertyProxy_ReadOnly(this, "font-desc"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_family() { return Glib::PropertyProxy(this, "family"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_family() const { return Glib::PropertyProxy_ReadOnly(this, "family"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_style() { return Glib::PropertyProxy(this, "style"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_style() const { return Glib::PropertyProxy_ReadOnly(this, "style"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_variant() { return Glib::PropertyProxy(this, "variant"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_variant() const { return Glib::PropertyProxy_ReadOnly(this, "variant"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_weight() { return Glib::PropertyProxy(this, "weight"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_weight() const { return Glib::PropertyProxy_ReadOnly(this, "weight"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_stretch() { return Glib::PropertyProxy(this, "stretch"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_stretch() const { return Glib::PropertyProxy_ReadOnly(this, "stretch"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_size() { return Glib::PropertyProxy(this, "size"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_size() const { return Glib::PropertyProxy_ReadOnly(this, "size"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_size_points() { return Glib::PropertyProxy(this, "size-points"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_size_points() const { return Glib::PropertyProxy_ReadOnly(this, "size-points"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_scale() { return Glib::PropertyProxy(this, "scale"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_scale() const { return Glib::PropertyProxy_ReadOnly(this, "scale"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_editable() { return Glib::PropertyProxy(this, "editable"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_editable() const { return Glib::PropertyProxy_ReadOnly(this, "editable"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_strikethrough() { return Glib::PropertyProxy(this, "strikethrough"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_strikethrough() const { return Glib::PropertyProxy_ReadOnly(this, "strikethrough"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_underline() { return Glib::PropertyProxy(this, "underline"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_underline() const { return Glib::PropertyProxy_ReadOnly(this, "underline"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_rise() { return Glib::PropertyProxy(this, "rise"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_rise() const { return Glib::PropertyProxy_ReadOnly(this, "rise"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_language() { return Glib::PropertyProxy(this, "language"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_language() const { return Glib::PropertyProxy_ReadOnly(this, "language"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_ellipsize() { return Glib::PropertyProxy(this, "ellipsize"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_ellipsize() const { return Glib::PropertyProxy_ReadOnly(this, "ellipsize"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_width_chars() { return Glib::PropertyProxy(this, "width-chars"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_width_chars() const { return Glib::PropertyProxy_ReadOnly(this, "width-chars"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_wrap_mode() { return Glib::PropertyProxy(this, "wrap-mode"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_wrap_mode() const { return Glib::PropertyProxy_ReadOnly(this, "wrap-mode"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_wrap_width() { return Glib::PropertyProxy(this, "wrap-width"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_wrap_width() const { return Glib::PropertyProxy_ReadOnly(this, "wrap-width"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_alignment() { return Glib::PropertyProxy(this, "alignment"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_alignment() const { return Glib::PropertyProxy_ReadOnly(this, "alignment"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_background_set() { return Glib::PropertyProxy(this, "background-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_background_set() const { return Glib::PropertyProxy_ReadOnly(this, "background-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_foreground_set() { return Glib::PropertyProxy(this, "foreground-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_foreground_set() const { return Glib::PropertyProxy_ReadOnly(this, "foreground-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_family_set() { return Glib::PropertyProxy(this, "family-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_family_set() const { return Glib::PropertyProxy_ReadOnly(this, "family-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_style_set() { return Glib::PropertyProxy(this, "style-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_style_set() const { return Glib::PropertyProxy_ReadOnly(this, "style-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_variant_set() { return Glib::PropertyProxy(this, "variant-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_variant_set() const { return Glib::PropertyProxy_ReadOnly(this, "variant-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_weight_set() { return Glib::PropertyProxy(this, "weight-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_weight_set() const { return Glib::PropertyProxy_ReadOnly(this, "weight-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_stretch_set() { return Glib::PropertyProxy(this, "stretch-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_stretch_set() const { return Glib::PropertyProxy_ReadOnly(this, "stretch-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_size_set() { return Glib::PropertyProxy(this, "size-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_size_set() const { return Glib::PropertyProxy_ReadOnly(this, "size-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_scale_set() { return Glib::PropertyProxy(this, "scale-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_scale_set() const { return Glib::PropertyProxy_ReadOnly(this, "scale-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_editable_set() { return Glib::PropertyProxy(this, "editable-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_editable_set() const { return Glib::PropertyProxy_ReadOnly(this, "editable-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_strikethrough_set() { return Glib::PropertyProxy(this, "strikethrough-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_strikethrough_set() const { return Glib::PropertyProxy_ReadOnly(this, "strikethrough-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_underline_set() { return Glib::PropertyProxy(this, "underline-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_underline_set() const { return Glib::PropertyProxy_ReadOnly(this, "underline-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_rise_set() { return Glib::PropertyProxy(this, "rise-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_rise_set() const { return Glib::PropertyProxy_ReadOnly(this, "rise-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_language_set() { return Glib::PropertyProxy(this, "language-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_language_set() const { return Glib::PropertyProxy_ReadOnly(this, "language-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_ellipsize_set() { return Glib::PropertyProxy(this, "ellipsize-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_ellipsize_set() const { return Glib::PropertyProxy_ReadOnly(this, "ellipsize-set"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy CellRendererText::property_single_paragraph_mode() { return Glib::PropertyProxy(this, "single-paragraph-mode"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_PROPERTIES_ENABLED Glib::PropertyProxy_ReadOnly CellRendererText::property_single_paragraph_mode() const { return Glib::PropertyProxy_ReadOnly(this, "single-paragraph-mode"); } #endif //GLIBMM_PROPERTIES_ENABLED #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED void Gtk::CellRendererText::on_edited(const Glib::ustring& path, const Glib::ustring& new_text) { BaseClassType *const base = static_cast( g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class). ); if(base && base->edited) (*base->edited)(gobj(),path.c_str(),new_text.c_str()); } #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED #ifdef GLIBMM_VFUNCS_ENABLED #endif //GLIBMM_VFUNCS_ENABLED } // namespace Gtk