IWL::Menu::Item - a menu item widget
IWL::Object -> IWL::Widget -> IWL::Container -> IWL::Menu::Item
A menu item widget
IWL::Menu::Item->new ([%ARGS])
Where %ARGS is an optional hash parameter with with key-values.
menu (default) or menubar
Fires when the item is selected
Fires when the item is unselected
Fires when the item's state has been changed. Only menu radio and check menu items fire this signal
Sets the text for the menu item
Parameters: TEXT - the text
Returns the menu item text
Sets the icon of the menu item
Parameters: ICON - a url, or a stock id for the icon
Sets the type of the menu item
Parameters: TYPE - optional, type of the menu item: - none - regular menu item (default) - radio - a radio menu item - check - a check menu item
GROUP - optional, the group of the radio item, if that type is used
Returns the menu item type
Sets SUBMENU as the submenu of the menu item
Parameters: SUBMENU - an IWL::Menu
Returns the menu item's submenu
Toggles the menu item, if it's of time check or radio
Parameters: BOOL - a boolean value, true if the item should be checked
Sets whether the menu item is disabled or enabled
Parameters: BOOL - true if the menu item should be disabled
Returns true if the menu item is disabled
Copyright (c) 2006-2007 Viktor Kojouharov. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perldoc perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install IWL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IWL
CPAN shell
perl -MCPAN -e shell install IWL
For more information on module installation, please visit the detailed CPAN module installation guide.