Gtk::TreeRow in Customize



hi,

Is it possible to derive the Gtk :: TreeRow class to add it to a Gtk :: List :: Store?
Example:

class myRow: public Gtk :: TreeRow
{
public:
myRow (Glib :: RefPtr <Gtk :: ListStore> parent);

void dataInsert ();

};



myRow :: myRow (Glib :: RefPtr <Gtk :: ListStore> parent)
{
          parent-> insert (myRow);
}

void myRow :: dataInsert ()
{
           set_value (0, "value");
}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]