Re: context menu



Jens Luedicke wrote:

You can attach a Gtk-style menu to a Gnome::App without
having to rewrite the menu using:

        $app->set_menus($menubar);

"Alexandre Jousset work" wrote:

[...]
    So apparently you cannot use $gnome_app->create_menus(...) to create dynamic menus...
Hi again,

Have a look at the sample file in the Gtk-Perl_distro
$DISTRO/Gnome/samples/app-helper.pl for an example of how to do this.

    So I guess I have to build the menus the way Glade do it, and then attach them to the application. I'll 
try this. Thank you !

--
   \^/   Cordialement/Regards,
 -/ O \--Alexandre (Midnite) Jousset-------
| |/ \| Work : @sun.com Home : @wanadoo.fr |
 -|___|------------------------------------







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