Re: [gtkmm] Gtk::CellRenderer, GLib::Property<>, and associated adventures



Am Mon, 2002-10-21 um 19.59 schrieb Robert B. Quattlebaum Jr.:
> 
> In attempting to wrestle with this, I realized that what I needed to
> create was a custom "property" for my CellRenderer that would hold the
> datatype that describes the waypoints. I could then use the
> Gtk::TreeViewColumn::add_attribute function to link that property to a
> specific field in my Gtk::TreeModel(Which just happens to be a
> Gtk::TreeView). So, I was off to research about how to add my own
> property to my CellRenderer. Just one property. Sounded simple...

See examples/cellrenderercustom/ for a custom Combobox-like cell
renderer which uses Glib::Property<> as well.

--Daniel





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