IUP::Separator - [GUI element] shows a line between two menu items
Creates the separator interface element. It shows a line between two menu items.
$separator = IUP::Separator->new();
Returns: the identifier of the created element, or undef if an error occurs.
undef
NOTE: You can pass to new() other ATTRIBUTE=>'value' or CALLBACKNAME=>\&func pairs relevant to this element - see IUP::Manual::02_Elements.
new()
ATTRIBUTE=>'value'
CALLBACKNAME=>\&func
The separator is ignored when it is part of the definition of the items in a bar menu.
The element IUP::Separator is used in the following sample scripts:
0-basic/layoutdialog.pl - IUP::LayoutDialog example
0-basic/separator.pl - IUP::Separator example
0-basic/submenu.pl - IUP::Submenu example
1-apps/app-mdi.pl - IUP app example
1-apps/app-sample1.pl - example used for screenshot - IUP.pod
1-apps/app-sample2.pl - example based on the original sample.c
IUP::Item, IUP::Submenu, IUP::Menu
The original doc: iupseparator.html
To install IUP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IUP
CPAN shell
perl -MCPAN -e shell install IUP
For more information on module installation, please visit the detailed CPAN module installation guide.