search for: testpanel

Displaying 6 results from an estimated 6 matches for "testpanel".

Did you mean: testpage
2007 Jul 17
0
[1116] trunk/wxruby2/samples/bigdemo/wxStaticBitmap.rbw: Fix hardcoded image paths, tidy up indenting
...amp;nbsp&nbsp&nbsp&nbsp&nbsp2007-07-17 21:34:00 UTC (rev 1116) </span><span class="lines">@@ -12,27 +12,37 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> class TestPanel < Wx::Panel </span><del>- def initialize(parent, log) - super(parent, -1) - - Wx::StaticText.new(self, -1, "This is a wxStaticBitmap.", Wx::Point.new(45,5)) - - Wx::StaticBitmap.new(self, -1, Wx::Bitmap.new("./icons/test2.xpm&quo...
2007 Jun 26
0
[1078] trunk/wxruby2: Map evt_spinctrl to SpinEvent instead of CommandEvent; add example to bigdemo
...amp;nbsp&nbsp&nbsp&nbsp&nbsp2007-06-26 08:55:43 UTC (rev 1078) </span><span class="lines">@@ -12,29 +12,37 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> class TestPanel < Wx::Panel </span><del>- def initialize(parent, log) - super(parent, -1) - @log = log - @count = 0 - - Wx::StaticText.new(self, -1, "This example uses the Wx::SpinCtrl control.", Wx::Point.new(45,15)) - - sc = Wx::SpinC...
2007 Jul 20
0
[1124] trunk/wxruby2/samples/bigdemo/wxGauge.rbw: Use Wx::Timer instead of evt_idle to drive Gauge sample, to avoid 100%
...amp;nbsp&nbsp&nbsp&nbsp&nbsp2007-07-20 18:15:11 UTC (rev 1124) </span><span class="lines">@@ -12,55 +12,58 @@ </span><span class="cx"> end </span><span class="cx"> </span><span class="cx"> class TestPanel < Wx::Panel </span><del>- def initialize(parent, log) - super(parent, -1) - @log = log - @count = 0 - - Wx::StaticText.new(self, -1, "This example shows the wxGauge control.", Wx::Point.new(45,15)) - - @g1 = Wx::Gauge.ne...
2006 Dec 12
0
[782] trunk/wxruby2/samples/bigdemo: HtmlHelpWindow sample with helpfile
...n B. Smith +# Freely reusable code: see SAMPLES-LICENSE.TXT for details + +begin + require ''wx'' +rescue LoadError => no_wx_err + begin + require ''rubygems'' + require ''wx'' + rescue LoadError + raise no_wx_err + end +end + + +class TestPanel < Wx::Panel + def initialize(parent, log) + super(parent, -1, Wx::DEFAULT_POSITION, Wx::DEFAULT_SIZE, + Wx::NO_FULL_REPAINT_ON_RESIZE) + @log = log + + b = Wx::Button.new(self, -1, ''Give me some help!'', + Wx::Point.new(50,50)) + + evt_b...
2006 Sep 14
2
Patch to fix ArtProvider and ArtProvider sample
These patches better implement ArtProvider and add the demo for it. I also expanded the bigdemo window a little bit. I really think we should go larger but I suppose there might be some people at 800x600 still. Note that creating your own art provider still doesn''t quite work correctly. I didn''t have time to get into that. The RubyConstants.i.patch file looks weird. Not
2006 Aug 10
3
update on samples
Hi all Have been taking a look at the samples to see what''s broken. Not looking TOO bad overall, but a few problems we should try and tackle before alpha: Firstly, I have a few commits (minimal, dialogs, unicode) - anyone else been working on these or can I go ahead? One general issue is that many of the samples rely on being run from their own directory, but don''t enforce