Gtk::TreeRow in Customize

Liomar da Hora via gtkmm-list <[email protected]> Thu, 13 Aug 2020 14:47:18 -0300
Newsgroups gmane.comp.gnome.gtkmm
Message-ID <CACZTAw_FE7gR7b=wbVaE1yq3hbJbn8Mj1o3mkJutNT5-qmx-+w@mail.gmail.com>
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");
}

_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list