search for: about_dlg

Displaying 3 results from an estimated 3 matches for "about_dlg".

2007 Jul 17
0
[1115] trunk/wxruby2/samples/minimal/minimal.rb: Don''t call destroy explicitly as it causes assert failures
...bsp&nbsp&nbsp&nbsp&nbsp&nbsp2007-07-17 21:01:26 UTC (rev 1115) </span><span class="lines">@@ -63,8 +63,7 @@ </span><span class="cx"> # create a simple message dialog with OK button </span><span class="cx"> about_dlg = Wx::MessageDialog.new( self, msg, ''About Minimal'', </span><span class="cx"> Wx::OK|Wx::ICON_INFORMATION ) </span><del>- about_dlg.show_modal() -&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&...
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
...ile) + end + + # show an ''About'' dialog + def on_about + msg = sprintf("This is the About dialog of the HTML sample.\n" \ + "Welcome to wxRuby, version %s", Wx::WXRUBY_VERSION) + + # create a simple message dialog with OK button + about_dlg = Wx::MessageDialog.new( self, msg, ''About WxRuby HTML'', + Wx::OK|Wx::ICON_INFORMATION ) + about_dlg.show_modal() +&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbspabout_dlg.destroy() + end + + def on_preview + p...