Re: Building menu

On Sep 29, 2004, at 5:14 AM, Alexandre Jousset wrote:

        my $om = Gtk2::OptionMenu->new;
        my $menu = Gtk2::Menu->new;

        my $item = Gtk2::MenuItem->new_with_label('foo');

        When I run this code the answer is :

variable must be a reference to an array of Gnome UI Info Entries at ./ line 360, <DATA> line 422.

upgrade your Gnome2 module to 1.000 or later. nobody should be using anything older.

in Gnome2 < 0.93, the binding for gnome_popup_menu_append() clashed with the binding for gtk_menu_append(), as described here:

this was fixed by renaming the method, as described here:

Walk softly, and carry a BFG-9000.
  -- unknown

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