Displaying 3 results from an estimated 3 matches for "go_butt".
Did you mean:
garbutt
2007 Jul 21
0
[1138] trunk/wxruby2/samples/html/html.rb: Place HTMLWindow in a panel so gets correct bg color on MSW
...anel = Wx::Panel.new(self, -1)
+
</ins><span class="cx"> sizer = Wx::BoxSizer.new(Wx::VERTICAL)
</span><span class="cx"> top_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL)
</span><span class="cx">
</span><del>- @go_butt = Wx::StaticText.new(self, -1, ''Location:'')
</del><ins>+ @go_butt = Wx::StaticText.new(panel, -1, ''Location:'')
</ins><span class="cx"> top_sizer.add(@go_butt, 0, Wx::ALL, 4)
</span><del>- @addr_bar = Wx::T...
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
...ault id
+ super(nil, -1, title, pos, size, style)
+ setup_menus
+ setup_panel
+ create_status_bar(2)
+ set_status_text("Welcome to wxRuby!")
+ end
+
+ def setup_panel
+ sizer = Wx::BoxSizer.new(Wx::VERTICAL)
+ top_sizer = Wx::BoxSizer.new(Wx::HORIZONTAL)
+
+ @go_butt = Wx::StaticText.new(self, -1, ''Location:'')
+ top_sizer.add(@go_butt, 0, Wx::ALL, 4)
+ @addr_bar = Wx::TextCtrl.new(self, -1, ''HOME'', Wx::DEFAULT_POSITION,
+ Wx::DEFAULT_SIZE, Wx::TE_READONLY)
+ top_sizer.add(@addr_bar, 1,...