Back to index

Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
CellRendererTextish Class Reference

#include <win.h>

List of all members.

Public Types

enum  Mode { TEXT, KEY, POPUP, COMBO }
typedef sigc::signal< void,
const Glib::ustring &, guint,
Gdk::ModifierType, guint > 
typedef sigc::signal< void,
const Glib::ustring &, guint > 

Public Member Functions

 CellRendererTextish ()
key_editedsignal_key_edited ()
combo_editedsignal_combo_edited ()

Public Attributes

Mode mode
const char ** items

Protected Member Functions

virtual Gtk::CellEditable * start_editing_vfunc (GdkEvent *event, Gtk::Widget &widget, const Glib::ustring &path, const Gdk::Rectangle &background_area, const Gdk::Rectangle &cell_area, Gtk::CellRendererState flags)

Private Attributes

key_edited signal_key_edited_
combo_edited signal_combo_edited_

Detailed Description

Definition at line 33 of file win.h.

Member Typedef Documentation

typedef sigc::signal<void, const Glib::ustring&, guint> CellRendererTextish::combo_edited

Definition at line 40 of file win.h.

typedef sigc::signal<void, const Glib::ustring&, guint, Gdk::ModifierType, guint> CellRendererTextish::key_edited

Definition at line 39 of file win.h.

Member Enumeration Documentation


Definition at line 35 of file win.h.


Constructor & Destructor Documentation

Definition at line 38 of file win.h.

: mode(TEXT) {}

Member Function Documentation

Definition at line 42 of file win.h.

Here is the caller graph for this function:

Definition at line 41 of file win.h.

{ return signal_key_edited_; }

Here is the caller graph for this function:

Gtk::CellEditable * CellRendererTextish::start_editing_vfunc ( GdkEvent *  event,
Gtk::Widget &  widget,
const Glib::ustring &  path,
const Gdk::Rectangle &  background_area,
const Gdk::Rectangle &  cell_area,
Gtk::CellRendererState  flags 
) [protected, virtual]

Definition at line 142 of file

       if (!property_editable())
                  return 0;
       switch (mode) {
              case TEXT:
                     return Gtk::CellRendererText::start_editing_vfunc(event, widget, path, background_area, cell_area, flags);
              case KEY:
                     return Gtk::manage(new CellEditableAccel(this, path, widget));
              case COMBO:
                     return Gtk::manage(new CellEditableCombo(this, path, widget, items));
              case POPUP:
                     return Gtk::manage(new CellEditableDummy);
       return NULL;

Member Data Documentation

Definition at line 37 of file win.h.

Definition at line 36 of file win.h.

Definition at line 49 of file win.h.

Definition at line 48 of file win.h.

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