search for: id_preview

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

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
...p.append(Wx::ID_ABOUT, "&About...\tF1", "Show about dialog") + menu_file.append(Wx::ID_OPEN, "&Open File...\tCtrl-O", "Open File") + menu_file.append(Wx::ID_PRINT, "&Print...\tCtrl-P", "Print") + + menu_file.append(Wx::ID_PREVIEW, "&Preview...\tCtrl-Shift-P", + "Print Preview") + 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.appe...
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.
...l>-WXPRINT_QUIT = 100 -WXPRINT_PRINT = 101 -WXPRINT_PAGE_SETUP = 103 -WXPRINT_PREVIEW = 104 </del><ins>+WXPRINT_QUIT = Wx::ID_EXIT +WXPRINT_PRINT = Wx::ID_PRINT +WXPRINT_PAGE_SETUP = Wx::ID_PRINT_SETUP +WXPRINT_PREVIEW = Wx::ID_PREVIEW </ins><span class="cx"> </span><span class="cx"> WXPRINT_PRINT_PS = 105 </span><span class="cx"> WXPRINT_PAGE_SETUP_PS = 107 </span><span class="cx"> WXPRINT_PREVIEW_PS = 108 </span><span cl...