GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prima::Menus(3) User Contributed Perl Documentation Prima::Menus(3)

Prima::Menus - menu widgets

This module contains classes that can create menu widgets used as normal widget, without special consideration about system-depended menus.

        use Prima qw(Application Menus);
        my $w = Prima::MainWindow->new(
                accelItems => [['~File' => [
                        ['Exit' => sub { exit } ],
                ]]],
                onMouseDown => sub {
                        Prima::Menu::Popup->new(menu => $_[0]-> accelTable)->popup;
                },
                height => 100,
        );
        $w->insert( 'Prima::Menu::Bar',
                pack  => { fill => 'x', expand => 1},
                menu  => $w-> accelTable,
        );
        run Prima;

Dmitry Karasik, <dmitry@karasik.eu.org>.

Prima, Prima::Menu, examples/menu.pl
2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.