search for: file_menu

Displaying 7 results from an estimated 7 matches for "file_menu".

Did you mean: file_len
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...lt;/span><span class="cx"> @frame.create_status_bar(2) </span><span class="lines">@@ -435,13 +432,13 @@ </span><span class="cx"> =end </span><span class="cx"> </span><span class="cx"> file_menu.append_separator() </span><del>- file_menu.append(WXPRINT_ANGLEUP, "Angle up\tAlt-U", "Raise rotated text angle") - file_menu.append(WXPRINT_ANGLEDOWN, "Angle down\tAlt-D", "Lower rotated text angle") </del>&l...
2007 Sep 05
6
centering MessageDialog
Hi, is there any way to center the default Wx::MessageDialog or Wx::message_box on parent (owner) instead of screen? I haven''t found any constant other than Wx::DEFAULT_POSITION. thanks for your help. fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2004 Aug 07
1
end_modal question
Really stupid question, but have you wrapped this all in an App class? If you don''t have a wxApp subclass driving your applications then all sorts of badness would happen. > I''m writing a custom little application for my boss''s high school > football team to track there stats play by play. > > My problem is that when I start the application, it
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
...nction, which you pass to the Menu constructor. -The callback takes a reference to the menu, and a reference to a -"CommandEvent":commandevent.html. This method is deprecated and should -not be used in the new code, it is provided for backwards compatibility only. </del><ins>+ file_menu = Wx::Menu.new + # add a menu item with arbitrary ID 2001 + file_menu.append(2001, ''&Open file'') + # handle this menu item event + evt_menu(2001) { | evt | on_open_file(evt) } </ins><span class="cx"> </span><del>- </del><span class=&...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...0 + setup_menu + create_status_bar + get_status_bar.set_status_text("Ready") + set_min_size( Wx::Size.new(400,300) ) + setup_toolbars + setup_panes + setup_perspectives + setup_events + @mgr.update + end + + # + def setup_menu + mb = Wx::MenuBar.new + + file_menu = Wx::Menu.new + file_menu.append(Wx::ID_EXIT, "Exit") + + view_menu = Wx::Menu.new + view_menu.append(ID_CreateText, "Create Text Control") + view_menu.append(ID_CreateHTML, "Create HTML Control") + view_menu.append(ID_CreateTree, "Create Tree&quot...
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.
...s><span class="cx"> end </span><span class="cx"> </span><span class="cx"> dlg.destroy() </span><span class="lines">@@ -709,8 +708,8 @@ </span><span class="cx"> menu_bar.append(file_menu, "&File") </span><span class="cx"> frame.set_menu_bar(menu_bar) </span><span class="cx"> </span><del>- $myCanvas = MyCanvas.new(frame) - $myCanvas.set_background_colour(WHITE) </del><ins>+ $my_canvas = M...
2013 Jul 31
29
[PATCH 0/9] tools: remove or disable old/useless/unused/unmainted stuff
depends on "autoconf: regenerate configure scripts with 4.4 version" This series removes some of the really old deadwood from the tools build and makes some other things which are on their way out configurable at build time with a default depending on how far down the slope I judge them to be. * nuke in tree copy of libaio * nuke obsolete tools: xsview, miniterm, lomount & sv *