GtkItemFactory now implemented in gtk2-perl-xs
- From: "muppet" <scott asofyet org>
- To: <gtk-perl-list gnome org>
- Subject: GtkItemFactory now implemented in gtk2-perl-xs
- Date: Mon, 21 Apr 2003 18:57:00 -0400 (EDT)
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]