search for: find_item_by_posit

Displaying 2 results from an estimated 2 matches for "find_item_by_posit".

2008 Jan 18
1
Noob question for wxMenu.get_menu_items()
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)
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
...n><span class="cx"> h4. Remarks </span><span class="cx"> </span><span class="lines">@@ -363,7 +350,7 @@ </span><span class="cx"> </span><span class="cx"> "MenuItem":menuitem.html *find_item_by_position*(%(arg-type)size_t% position) </span><span class="cx"> </span><del>-Returns the MenuItem given a position in the menu. </del><ins>+Returns the "MenuItem":menuitem.html at the given position in the menu. </ins><span class="cx&...