Re: Re: context menu



Hi there ...

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.

IIRC there used to be a problem mixing hash and array uiinfo structures
but perhaps this is fixed now.

HTH, Dermot



_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-perl-list
-- 
with friendly regards....
        jens luedicke <jens irs-net com>

PMC - Perl/Gtk/Gnome Mail Client
    http://www.irs-net.com/

President BU-ll-SH-it ...




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