The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WxPerl::MenuMap - An object to introspect a Wx::Menu

ABOUT

This package creates an object with read-only accessors for mapping the menu's items to IDs.

It is still highly experimental.

SYNOPSIS

  use WxPerl::MenuMap;
  ...
  my $menu = WxPerl::MenuMap->new($menu_object);
  EVT_MENU($self, $menu->file_open, sub {$_[0]->blah($_[1])});

new

  my $menu = WxPerl::MenuMap->new($menu_object);

_init

  $self->_init;

_map_menubar

  my %map = _map_menubar($menu);

_map_menu

  my %map = _map_menu($menu);

_prep

  my $label = _prep($menulabel);

items

  my @list = $menu->items;

AUTHOR

Eric Wilhelm <ewilhelm at cpan dot org>

http://scratchcomputing.com/

BUGS

If you found this module on CPAN, please report any bugs or feature requests through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

If you pulled this development version from my /svn/, please contact me directly.

COPYRIGHT

Copyright (C) 2006 Eric L. Wilhelm, All Rights Reserved.

NO WARRANTY

Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.