|
gtkmm
3.5.13
|
Interface for widgets which are used for editing cells. More...

Public Member Functions | |
| virtual | ~CellEditable () |
| GtkCellEditable* | gobj () |
| Provides access to the underlying C GObject. | |
| const GtkCellEditable* | gobj () const |
| Provides access to the underlying C GObject. | |
| void | start_editing (GdkEvent* event) |
| Begins editing on a cell_editable. | |
| void | editing_done () |
| Emits the Gtk::CellEditable::signal_editing_done() signal. | |
| void | remove_widget () |
| Emits the Gtk::CellEditable::signal_remove_widget() signal. | |
| Glib::SignalProxy0< void > | signal_editing_done () |
| Glib::SignalProxy0< void > | signal_remove_widget () |
| Glib::PropertyProxy< bool > | property_editing_canceled () |
| Indicates that editing has been canceled. | |
| Glib::PropertyProxy_ReadOnly < bool > | property_editing_canceled () const |
| Indicates that editing has been canceled. | |
Public Member Functions inherited from Glib::Interface | |
| Interface (const Glib::Interface_Class &interface_class) | |
| Interface (GObject *castitem) | |
| virtual | ~Interface () |
| void | set_property_value (const Glib::ustring &property_name, const Glib::ValueBase &value) |
| void | get_property_value (const Glib::ustring &property_name, Glib::ValueBase &value) const |
| void | set_property (const Glib::ustring &property_name, const PropertyType &value) |
| void | get_property (const Glib::ustring &property_name, PropertyType &value) const |
| void | connect_property_changed (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
| sigc::connection | connect_property_changed_with_return (const Glib::ustring &property_name, const sigc::slot< void > &slot) |
| void | freeze_notify () |
| void | thaw_notify () |
| virtual void | reference () const |
| virtual void | unreference () const |
| GObject * | gobj_copy () const |
Static Public Member Functions | |
| static void | add_interface (GType gtype_implementer) |
| static GType | get_type () |
| Get the GType for this class, for use with the underlying GObject type system. | |
Protected Member Functions | |
| CellEditable () | |
| You should derive from this class to use it. | |
| virtual void | start_editing_vfunc (GdkEvent* event) |
| virtual void | on_editing_done () |
| This is a default handler for the signal signal_editing_done(). | |
| virtual void | on_remove_widget () |
| This is a default handler for the signal signal_remove_widget(). | |
Protected Member Functions inherited from Glib::Interface | |
| ObjectBase () | |
| ObjectBase (const char *custom_type_name) | |
| ObjectBase (const std::type_info &custom_type_info) | |
| virtual | ~ObjectBase ()=0 |
| void | initialize (GObject *castitem) |
Related Functions | |
(Note that these are not member functions.) | |
| Glib::RefPtr< Gtk::CellEditable > | wrap (GtkCellEditable* object, bool take_copy=false) |
| A Glib::wrap() method for this object. | |
Interface for widgets which are used for editing cells.
The CellEditable interface must be implemented for widgets to be usable when editing the contents of a TreeView cell.
|
protected |
You should derive from this class to use it.
|
virtual |
|
static |
| void Gtk::CellEditable::editing_done | ( | ) |
Emits the Gtk::CellEditable::signal_editing_done() signal.
|
static |
Get the GType for this class, for use with the underlying GObject type system.
Reimplemented in Gtk::SpinButton, Gtk::Entry, Gtk::ComboBox, Gtk::AppChooserButton, Gtk::SearchEntry, and Gtk::ComboBoxText.
|
inline |
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface.
Reimplemented in Gtk::SpinButton, Gtk::Entry, Gtk::ComboBox, Gtk::AppChooserButton, Gtk::SearchEntry, and Gtk::ComboBoxText.
|
inline |
Provides access to the underlying C GObject.
Reimplemented from Glib::Interface.
Reimplemented in Gtk::SpinButton, Gtk::Entry, Gtk::ComboBox, Gtk::AppChooserButton, Gtk::SearchEntry, and Gtk::ComboBoxText.
|
protectedvirtual |
This is a default handler for the signal signal_editing_done().
|
protectedvirtual |
This is a default handler for the signal signal_remove_widget().
| Glib::PropertyProxy< bool > Gtk::CellEditable::property_editing_canceled | ( | ) |
Indicates that editing has been canceled.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| Glib::PropertyProxy_ReadOnly< bool > Gtk::CellEditable::property_editing_canceled | ( | ) | const |
Indicates that editing has been canceled.
You rarely need to use properties because there are get_ and set_ methods for almost all of them.
| void Gtk::CellEditable::remove_widget | ( | ) |
Emits the Gtk::CellEditable::signal_remove_widget() signal.
| Glib::SignalProxy0< void > Gtk::CellEditable::signal_editing_done | ( | ) |
void on_my_editing_done()This signal is a sign for the cell renderer to update its value from the cell_editable.
Implementations of Gtk::CellEditable are responsible for emitting this signal when they are done editing, e.g. Gtk::Entry is emitting it when the user presses Enter.
Gtk::CellEditable::editing_done() is a convenience method for emitting Gtk::CellEditable::signal_editing_done().
| Glib::SignalProxy0< void > Gtk::CellEditable::signal_remove_widget | ( | ) |
void on_my_remove_widget()This signal is meant to indicate that the cell is finished editing, and the widget may now be destroyed.
Implementations of Gtk::CellEditable are responsible for emitting this signal when they are done editing. It must be emitted after the Gtk::CellEditable::signal_editing_done() signal, to give the cell renderer a chance to update the cell's value before the widget is removed.
Gtk::CellEditable::remove_widget() is a convenience method for emitting Gtk::CellEditable::signal_remove_widget().
| void Gtk::CellEditable::start_editing | ( | GdkEvent * | event | ) |
Begins editing on a cell_editable.
event is the Gdk::Event that began the editing process. It may be 0, in the instance that editing was initiated through programatic means.
| event | A Gdk::Event, or 0. |
|
protectedvirtual |
|
related |
A Glib::wrap() method for this object.
| object | The C instance. |
| take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
1.8.1.1