Displaying 3 results from an estimated 3 matches for "get_menu_bar".
Did you mean:
  set_menu_bar
  
2007 Dec 19
1
Menu Bar KeyBoard Shortcuts.
...p;xit\tAlt-X", "Quit this program")
tool.append(Wx::ID_PHOTO, "&MS Picture Manager\tAlt-B", "MS Picture Manager")
Now that I''ve figured this out, I lost the ability to have my Keyboard shortcuts as a parameter.
Example 2 :
  @menubar         = self.get_menu_bar.find_menu(''ID_MENUBAR1'') # This only accepts 1 argument
  @menu_quit       =  self.get_menu_bar.find_menu_item("File","Quit")  # This only accepts 2 arguments
or
 evt_menu(self.get_menu_bar.find_menu_item("Tools","MS Picture Manager")) do...
2007 Jul 04
5
loading menu using XmlResource
Hi,
i''m evaluating XmlResource: loading frame, dialogs and access widgets is ok
but i''m not able to load menu bar and menu using the corresponding methods
XmlResource#load_menu_barXmlResource#load_menui get the error saying ''XML
resource ''Opzioni'' (class ''wxMenu'') not found!'' trying to load a menu and
''XML resource
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...ot;cx">     dlg.show_modal()
</span><span class="cx">   end
</span><span class="cx"> 
</span><del>-  def onModelessDlg(event)
</del><ins>+  def on_modeless_dlg(event)
</ins><span class="cx">     show = get_menu_bar().is_checked(event.get_id())
</span><span class="cx">     if show
</span><del>-      if !@m_dialog
-        @m_dialog = MyModelessDialog.new(self)
</del><ins>+      if !@dialog
+        @dialog = MyModelessDialog.new(self)
</ins><span class=&qu...