search for: id_about

Displaying 20 results from an estimated 20 matches for "id_about".

Did you mean: did_abort
2006 Aug 21
2
Patch to Calendar sample
This patch cleans up the calendar sample to follow the Ruby coding style. It also uses ID_ABOUT and ID_EXIT for the About and Quit menu item ID''s these allow wxWidgets to put the About and Quit menu in the correct location on Mac OS X. We should probably do this with all the samples. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyfo...
2007 Nov 18
2
Issues adding sub-menu items
...D_UNIQUEFIELDS, "Find Unique Fields", "Find Unique Fields") menu_tools.append(nil, "Find Unique Fields", "Find Unique Fields") menu_bar.append(menu_tools, "Tools") # The "help" menu menu_help = Wx::Menu.new # Using Wx::ID_ABOUT default id means the menu item will be placed # in the correct platform-specific place - eg on OS X menu_help.append(Wx::ID_ABOUT, "&About...\tF1", "Show about dialog") menu_bar.append(menu_help, "&Help") # Assign the menubar to this frame...
2006 Jul 24
6
MiniFrame.i
Hi Another little patch, adding MiniFrame (a frame with small title bar and buttons which doesn''t appear in the desktop taskbar). Also a sample - not very interesting, happy to roll this into something else if that''s better. cheers alex _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2006 Nov 13
0
[732] trunk/wxruby2/samples: Fixed a few crashes related to the about box menu.
...t;/span><span class="cx"> </span><del>-CONTROLS_QUIT = 100 </del><ins>+CONTROLS_QUIT = ID_EXIT </ins><span class="cx"> CONTROLS_TEXT = 101 </span><del>-CONTROLS_ABOUT = 102 </del><ins>+CONTROLS_ABOUT = ID_ABOUT </ins><span class="cx"> CONTROLS_CLEAR_LOG = 103 </span><span class="cx"> # tooltip menu </span><span class="cx"> CONTROLS_SET_TOOLTIP_DELAY = 200 </span></span></pre></div> <a id="trunkwxruby2samplese...
2006 Aug 21
4
Patch for caret sample
Cleaned up so it follows Ruby coding style and uses ID_EXIT, ID_ABOUT. Sean _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Apr 27
5
Major Breakthrough?
Attached are patches to make the textctrl.rb sample work fully. Note the new %directorargout typemap I added to fix wxWindows calling into SWIG. I don''t know if this can fix all such problems or not. Let me know what you think. I also rubified the sample a little bit more. Also, note that I fix the << operator so the function can be called. I hope I did this right. Roy
2006 Nov 13
0
[731] trunk/wxruby2/samples/etc/sash.rb: Changed menu events so they call the correct method.
...</span><span class="cx"> create_status_bar(2) </span><span class="cx"> set_status_text("wxRuby Sash sample") </span><span class="cx"> </span><del>- evt_menu(Wx::ID_EXIT) { onQuit } - evt_menu(Wx::ID_ABOUT) { onAbout } </del><ins>+ evt_menu(Wx::ID_EXIT) { on_quit } + evt_menu(Wx::ID_ABOUT) { on_about } </ins><span class="cx"> </span><span class="cx"> # Start creating the sashes - these are created from outermost </span><span...
2004 Jan 08
3
pictorG
...alog" menuFile.append ID_SETROOT,"&Set root dir\tR","Sets the root directory of the catalog" menuFile.append_separator menuFile.append ID_EXIT,"E&xit\tQ","Quits the program" # Help menu menuHelp = Menu.new menuHelp.append(ID_ABOUT,"&About\tCtrl-F1","Show program information") # the Menubar menuBar = MenuBar.new menuBar.append menuFile, "&File" menuBar.append menuHelp, "&Help" set_menu_bar menuBar # Toolbar toolBar = create_tool_bar TB_HORIZONTA...
2007 Sep 27
10
Adding more sugar to wxSugar
...e can be written like this : CandyApp.create do self.app_name = ''Minimal'' frame = CandyFrame.create(nil, :title => "Minimal wxRuby App", :size => [ 400, 300 ]) do menu_file = Wx::Menu.new() menu_help = Wx::Menu.new() menu_help.append(Wx::ID_ABOUT, "&About...\tF1", "Show about dialog") menu_file.append(Wx::ID_EXIT, "E&xit\tAlt-X", "Quit this program") menu_bar = Wx::MenuBar.new() menu_bar.append(menu_file, "&File") menu_bar.append(menu_help, "&Help...
2006 Jul 25
6
Wizards
Hi Please find attached a set of patches and swig files to implement Wizards for wxruby. Also a brief sample. Quick q - the C declarations of evt_xxx_xxx methods and their attaching to Ruby classes seems to be duplicated across Events.i and EvtHandler.i - is one of these the right place to be adding them? or both? Thanks alex _______________________________________________
2007 Jun 26
0
[1076] trunk/wxruby2/samples/etc/activation.rb: Added sample of IconizeEvent to activation sample
...34 UTC (rev 1075) +++ trunk/wxruby2/samples/etc/activation.rb&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-06-26 00:10:06 UTC (rev 1076) </span><span class="lines">@@ -40,8 +40,18 @@ </span><span class="cx"> evt_menu(Wx::ID_ABOUT) { on_about } </span><span class="cx"> </span><span class="cx"> evt_activate { | e | on_activate(e) } </span><ins>+ evt_iconize { | e | on_iconize(e) } </ins><span class="cx"> end </span><span class=&q...
2006 Nov 12
0
[729] trunk/wxruby2/samples/bigdemo/bigdemo.rb: Fix some little bugs with the About dialog
...ot;cx"> @mainmenu.append(menu, "&Demo") </span><span class="cx"> </span><span class="cx"> # Make a Help menu </span><del>- helpID = @demoID += 1 </del><ins>+ helpID = Wx::ID_ABOUT </ins><span class="cx"> findID = @demoID += 1 </span><span class="cx"> findnextID = @demoID += 1 </span><span class="cx"> clearID = @demoID += 1 </span><span class="lines">@@ -489,7 +489,...
2007 Apr 29
0
[987] branches/wxruby2/wxwidgets_282/samples/listbook/listbook.rb: Use default constructor before load_frame_subclass to avoid GTK crash
...amp;nbsp&nbsp&nbsp&nbsp2007-04-29 14:12:45 UTC (rev 987) </span><span class="lines">@@ -26,9 +26,13 @@ </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspFILE_DIALOG, FILE_ABOUT, FILE_QUIT = [0,Wx::ID_ABOUT,Wx::ID_EXIT] </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp </span><span class="cx"> &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspdef initialize(parent) </span><del>...
2006 Nov 06
3
HtmlWindow and friends
Hi Attached is a patch to add HtmlWindow and some of its friends, including HtmlEasyPrinting. Also a sample. I haven''t tried exposing the parsing and rendering API yet to allow custom tags etc - I just wanted to get basic HTML and the 0.6.0 compatibility classes first. There may well be some quite easy classes left. There''s one ugly kludge to get OnOpeningURL to compile -
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...''HTML Window: %s'') + @html_win.set_related_status_bar(2) + @html_win.set_page(DATA.read) + sizer.add(@html_win, 1, Wx::ALL|Wx::GROW, 4) + self.set_sizer(sizer) + end + + def setup_menus + menu_file = Wx::Menu.new() + menu_help = Wx::Menu.new() + # Using Wx::ID_ABOUT default id means the menu item will be placed + # in the correct platform-specific place + menu_help.append(Wx::ID_ABOUT, "&About...\tF1", "Show about dialog") + menu_file.append(Wx::ID_OPEN, "&Open File...\tCtrl-O", "Open File") + menu_fi...
2005 Aug 19
9
Patch for listbook.rb
Attached is a patch file for listbook.rb 1) Message box scrolls properly now 2) Blank lines are skipped when adding pizzas and ice cream _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users
2006 Dec 31
0
[816] trunk/wxruby2: Added AcceleratorTable and AcceleratorTable classes, plus documentation
...s="cx"> </span><del>- AcceleratorEntry entries[4]; - entries[0].Set(ACCEL_CTRL, (int) ''N'', ID_NEW_WINDOW); - entries[1].Set(ACCEL_CTRL, (int) ''X'', ID_EXIT); - entries[2].Set(ACCEL_SHIFT, (int) ''A'', ID_ABOUT); - entries[3].Set(ACCEL_NORMAL, WXK_DELETE, ID_CUT); - AcceleratorTable accel(4, entries); - frame->SetAcceleratorTable(accel); </del><ins>+ entries = [ Wx::AcceleratorEntry.new(Wx::ACCEL_CTRL, ''N''[0], + ID_NEW_WIND...
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.
...an><span class="cx"> WXPRINT_PAGE_SETUP_PS = 107 </span><span class="cx"> WXPRINT_PREVIEW_PS = 108 </span><span class="cx"> </span><del>-WXPRINT_ABOUT = 109 </del><ins>+WXPRINT_ABOUT = Wx::ID_ABOUT </ins><span class="cx"> </span><span class="cx"> WXPRINT_ANGLEUP = 110 </span><span class="cx"> WXPRINT_ANGLEDOWN = 111 </span><span class="lines">@@ -54,10 +58,8 @@ </span><span class=&quo...
2006 Nov 04
0
[720] trunk/wxruby2/doc/textile/menu.txtl: Update, rubyify and tidy
...menu item after it has +been created. A menu item with a special identifier @-1@ is a separator. +Separators don''t have an associated command but just make a separator line +appear in the menu. </ins><span class="cx"> </span><del>-*NB:* Please note that _ID_ABOUT_ and _ID_EXIT_ are -predefined by Widgets and have a special meaning since entries </del><ins>+*NB:* Please note that @ID_ABOUT@ and @ID_EXIT@ are +predefined by Widgets and have a special meaning. Entries </ins><span class="cx"> using these IDs will be taken out o...
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...rspective Data To Clipboard") + @perspectives_menu.append_separator + @perspectives_menu.append( ID_FirstPerspective + 0, "Default Startup") + @perspectives_menu.append( ID_FirstPerspective + 1, "All Panes") + + help_menu = Wx::Menu.new + help_menu.append(Wx::ID_ABOUT, "About...") + + mb.append(file_menu, "File") + mb.append(view_menu, "View") + mb.append(@perspectives_menu, "Perspectives") + mb.append(options_menu, "Options") + mb.append(notebook_menu, "Notebook") + mb.append(help_men...