Re: Gtk3: How to invoke gtk_stock_list_ids?

On 15.12.2011 10:50, Torsten Schoenfeld wrote:
my @stock_items = @{Gtk3::stock_list_ids ()};

Yeah, that's pretty ugly. But there's not much that
gobject-introspection could do differently here. We could manually
re-map these functions in Gtk3 to Gtk3::Stock::*, however. Would that be

Also, the dereference is needed because Gtk3::stock_list_ids returns an
array ref currently, but I think I'll change it to return a list.

I just committed a change implementing the move to Gtk3::Stock::* and also the change to the return value semantics of list_ids(). So it's now:

  my @stock_items = Gtk3::Stock::list_ids ();

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