Re: [gtk-list] Perl/GTK ItemFactory... does it work?



On Sat, Jun 26, 1999 at 08:57:43PM -0600, Brett Kosinski wrote:
> Perhaps I just don't know what I'm doing :), but I'm trying to create a
> GtkItemFactory like so:
> 
> $factory = Gtk::ItemFactory->new('menu_bar', "<Main>", $accel_group);
> 
> Where $accel_group is, of course, the accel group I created earlier.  But
> I'm getting the following error all the time:
> 
> assertion `gtk_type_is_a (container_type, GTK_TYPE_MENU_SHELL)'
> 
> Of course, I striped out a bit of the error, but that's the gist... but
> the thing is, a 'menu_bar' is a menu_shell child, so this assertion
> *should* be true.  Am I doing something really wrong here?  Any help would
> be appreciated. :)

On Tue, Jun 29, 1999 at 01:03:01PM -0600, Brett Kosinski wrote:
> Well, I may as well add to the list of Perl/GTK questions. :)  Is the
> GtkItemFactory going to be properly supported in the next release?  As far
> as I can tell, it's broken in the latest version... or incomplete... or
> something. :)


The ItemFactory is basically unsupported as of now.
I'll try to fix it when returning from vacation.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules



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