Re: 'get_cell_renderers' in Gtk3?



On 18.02.2013 06:24, Dan Kasak wrote:
Hi all. I'm taking yet another stab at porting stuff to Gtk3. I used to
be able to do

$tree_view_column->get_cell_renderers

  ... in Gtk2.

Gtk3::TreeViewColumn doesn't seem to have such a method. Do I have to
maintain my own map of TreeViewColumns to CellRenderers?

That's been removed in gtk+ 3. Instead, Gtk3::TreeViewColumn implements the Gtk3::CellLayout interface, which provides the get_cells() method.

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