[wxruby-users] Noob question for wxMenu.get_menu_items()
EchoB
echobinary at gmail.com
Fri Jan 18 01:34:45 EST 2008
How do I iterate through the pseudo-template list class containing
wxMenuItem pointers.
Am still a bit of a Ruby/wxRuby noob.
Currently have this:
pp mymenu.get_menu_items()
which prints:
#<SWIG::TYPE_p_wxMenuItemList:0x4634fa8>
However when I try to do:
mymenu.get_menu_items().each {|key| ...} it tells me there is no each
method for this class (SWIG::TYPE_p_wxMenuItemList)
More information about the wxruby-users
mailing list