Displaying 3 results from an estimated 3 matches for "append_check_item".
2008 Jan 04
2
problem with Menu.append_check_item()
Menu.append_check_item(), like Menu.append(), is supposed to return a
reference to the created menu item. Here is a test code which seems to show
that this behavior works for append(), but fails for append_check_item().
This is the output I get:
% ruby test-menu.rb
#<Wx::MenuItem:0xb74c036c>
nil
Am I missing som...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...options_menu.append_radio_item( ID_RectangleHint,
+ "Rectangle Hint")
+ options_menu.append_radio_item( ID_NoHint,
+ "No Hint")
+
+ options_menu.append_separator
+ # Hints Options
+ options_menu.append_check_item( ID_HintFade,
+ "Hint Fade-in")
+ options_menu.append_check_item( ID_AllowFloating,
+ "Allow Floating")
+ options_menu.append_check_item( ID_NoVenetianFade,
+ "...
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
...* "Menu.new":#Menu_new
</span><span class="cx"> * "Menu#append":#Menu_append
</span><ins>+* "Menu#append_item":#Menu_appenditem
+* "Menu#append_menu":#Menu_appendmenu
</ins><span class="cx"> * "Menu#append_check_item":#Menu_appendcheckitem
</span><span class="cx"> * "Menu#append_radio_item":#Menu_appendradioitem
</span><span class="cx"> * "Menu#append_separator":#Menu_appendseparator
</span><span class="lines">@@ -122,25...