GtkItemFactory now implemented in gtk2-perl-xs



after much messing about, i mostly ported goran's gtk2-perl implementation to
gtk2-perl-xs.  it looked to be the cleanest solution.


this means that every gtk-perl app being ported to gtk2-perl (either inline or
xs) must add a new column to item factory tables.


  [ path, accel, action, type ]

is now

  [ path, accel, callback, action, type ]


oh, and $item_factory->create_items ($callback_data, @entries) works.  check
out gtk2-perl-xs/Gtk2/gtk-demo/item_factory.pl for an example.  (it doesn't
quit on close, it's supposed to be part of a larger app that of course isn't
finished.)


try it out, try to break it, lemme know what you think.


-- 
muppet <scott asofyet org>





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