Ardour  9.0-pre0-582-g084a23a80d
Gtk::CellEditable Class Reference

#include <celleditable.h>

Inheritance diagram for Gtk::CellEditable:
[legend]

Public Member Functions

virtual ~CellEditable ()
 
GtkCellEditablegobj ()
 Provides access to the underlying C GObject. More...
 
const GtkCellEditablegobj () const
 Provides access to the underlying C GObject. More...
 
void start_editing (GdkEvent *event)
 
void editing_done ()
 
void remove_widget ()
 
Glib::SignalProxy0< void > signal_editing_done ()
 
Glib::SignalProxy0< void > signal_remove_widget ()
 
Glib::PropertyProxy< bool > property_editing_canceled ()
 
Glib::PropertyProxy_ReadOnly< bool > property_editing_canceled () const
 

Static Public Member Functions

static void add_interface (GType gtype_implementer)
 
static GType get_type () G_GNUC_CONST
 

Protected Member Functions

 CellEditable ()
 
virtual void start_editing_vfunc (GdkEvent *event)
 
virtual void on_editing_done ()
 This is a default handler for the signal signal_editing_done(). More...
 
virtual void on_remove_widget ()
 This is a default handler for the signal signal_remove_widget(). More...
 

Related Functions

(Note that these are not member functions.)

Glib::RefPtr< Gtk::CellEditablewrap (GtkCellEditable *object, bool take_copy=false)
 

Detailed Description

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.

Definition at line 59 of file celleditable.h.

Constructor & Destructor Documentation

◆ CellEditable()

Gtk::CellEditable::CellEditable ( )
protected

You should derive from this class to use it.

◆ ~CellEditable()

virtual Gtk::CellEditable::~CellEditable ( )
virtual

Member Function Documentation

◆ add_interface()

static void Gtk::CellEditable::add_interface ( GType  gtype_implementer)
static

◆ editing_done()

void Gtk::CellEditable::editing_done ( )

◆ get_type()

static GType Gtk::CellEditable::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

◆ gobj() [1/2]

GtkCellEditable* Gtk::CellEditable::gobj ( )
inline

Provides access to the underlying C GObject.

Definition at line 117 of file celleditable.h.

◆ gobj() [2/2]

const GtkCellEditable* Gtk::CellEditable::gobj ( ) const
inline

Provides access to the underlying C GObject.

Definition at line 120 of file celleditable.h.

◆ on_editing_done()

virtual void Gtk::CellEditable::on_editing_done ( )
protectedvirtual

This is a default handler for the signal signal_editing_done().

◆ on_remove_widget()

virtual void Gtk::CellEditable::on_remove_widget ( )
protectedvirtual

This is a default handler for the signal signal_remove_widget().

◆ property_editing_canceled() [1/2]

Glib::PropertyProxy< bool > Gtk::CellEditable::property_editing_canceled ( )

Indicates that editing has been canceled.

Returns
A PropertyProxy that allows you to get or set the value of the property, or receive notification when the value of the property changes.

◆ property_editing_canceled() [2/2]

Glib::PropertyProxy_ReadOnly< bool > Gtk::CellEditable::property_editing_canceled ( ) const

Indicates that editing has been canceled.

Returns
A PropertyProxy_ReadOnly that allows you to get the value of the property, or receive notification when the value of the property changes.

◆ remove_widget()

void Gtk::CellEditable::remove_widget ( )

◆ signal_editing_done()

Glib::SignalProxy0< void > Gtk::CellEditable::signal_editing_done ( )
Slot Prototype:
void on_my_editing_done()

◆ signal_remove_widget()

Glib::SignalProxy0< void > Gtk::CellEditable::signal_remove_widget ( )
Slot Prototype:
void on_my_remove_widget()

◆ start_editing()

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.

Parameters
eventA Gdk::Event, or 0.

◆ start_editing_vfunc()

virtual void Gtk::CellEditable::start_editing_vfunc ( GdkEvent event)
protectedvirtual

Friends And Related Function Documentation

◆ wrap()

Glib::RefPtr< Gtk::CellEditable > wrap ( GtkCellEditable object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

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