search for: html_win

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

Did you mean: html_dir
2007 Jul 21
0
[1138] trunk/wxruby2/samples/html/html.rb: Place HTMLWindow in a panel so gets correct bg color on MSW
...IZE, Wx::TE_READONLY) </span><span class="cx"> top_sizer.add(@addr_bar, 1, Wx::ALL, 4) </span><span class="cx"> sizer.add(top_sizer, 0, Wx::EXPAND|Wx::TOP|Wx::BOTTOM, 4) </span><span class="cx"> </span><del>- @html_win = MyHtmlWindow.new(self, -1) </del><ins>+ @html_win = MyHtmlWindow.new(panel, -1) </ins><span class="cx"> @html_win.set_related_frame(self, ''HTML Window: %s'') </span><span class="cx"> @html_win.set_related_status_b...
2006 Nov 06
3
HtmlWindow and friends
...ome stuff from last week: client_data and DestroyEvent. If someone has a few minutes in the next few days perhaps they could confirm that these at least compile on their platform. cheers alex -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: html_window.patch Url: http://rubyforge.org/pipermail/wxruby-development/attachments/20061106/eda3d40b/attachment-0001.pl
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...cell, x, y) + if link = cell.get_link + get_related_frame.set_status_text(link.get_href) + else + get_related_frame.set_status_text('''') + end + end +end + +# The frame or self-contained window for this application +class HtmlFrame < Wx::Frame + attr_reader :html_win, :addr_bar + + def initialize(title, pos, size, style = Wx::DEFAULT_FRAME_STYLE) + # A main application frame has no parent (nil) + # -1 means this frame will be supplied a default id + super(nil, -1, title, pos, size, style) + setup_menus + setup_panel + create_status_bar(2) +...