Displaying 6 results from an estimated 6 matches for "mycanva".
Did you mean:
mycanvas
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...08:31:06 UTC (rev 736)
</span><span class="lines">@@ -40,42 +40,42 @@
</span><span class="cx"> DIALOGS_FIND = 24
</span><span class="cx"> DIALOGS_REPLACE = 25
</span><span class="cx">
</span><del>-$myCanvas = nil
</del><ins>+$my_canvas = nil
</ins><span class="cx">
</span><span class="cx"> class MyModalDialog < Dialog
</span><span class="cx"> def initialize(parent)
</span><span class="cx"> su...
2004 Apr 20
4
wxRuby 0.3.0 has been released!
wxRuby 0.3.0 has been released and is now available for download from
RubyForge at:
http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X Panther and MS Windows.
Hopefully, within a couple weeks I will release RubyGems for the source, and
RubyGem binaries for Mac, Windows, and Linux.
Please report any bugs or feature requests here:
2007 Jul 16
0
[1113] trunk/wxruby2/samples/caret/caret.rb: Ensure the canvas has focus so KeyEvents are directed to it, fixing bug 10663
...caret/caret.rb        2007-07-16 20:41:03 UTC (rev 1113)
</span><span class="lines">@@ -241,6 +241,10 @@
</span><span class="cx">
</span><span class="cx"> @canvas = MyCanvas.new(self)
</span><span class="cx">
</span><ins>+ # This is required to set focus so that key events are directed to
+ # this Window, on Linux/GTK in particular
+ @canvas.set_focus
+
</ins><span class="cx"> # create a status bar...
2006 Oct 21
0
[698] trunk/wxruby2/samples/bigdemo/MDIDemo.rbw: Removed broken background stuff to stop crash on OS X (tho still crashes
...t += 1
- win = Wx::MDIChildFrame.new(self, -1, "Child Window: " + @winCount.to_s())
</del><ins>+ @win_count += 1
+ win = Wx::MDIChildFrame.new(self, -1, "Child Window: #{@win_count}")
</ins><span class="cx"> canvas = MyCanvas.new(win)
</span><del>- win.show()
</del><ins>+ win.show
</ins><span class="cx"> end
</span><span class="cx"> end
</span><span class="cx">
</span></span></pre>
</div...
2006 Oct 23
0
[709] trunk/wxruby2/samples/dialogs/dialogs.rb: Use paint method again, remove unnecessary global (Alex Fenton)
...22 01:02:54 UTC (rev 708)
+++ trunk/wxruby2/samples/dialogs/dialogs.rb        2006-10-23 00:08:01 UTC (rev 709)
</span><span class="lines">@@ -130,21 +130,15 @@
</span><span class="cx"> class MyCanvas < ScrolledWindow
</span><span class="cx"> def initialize(parent)
</span><span class="cx"> super(parent,-1,DEFAULT_POSITION,DEFAULT_SIZE, NO_FULL_REPAINT_ON_RESIZE)
</span><del>- text = Wx::StaticText.new(self, -1,
-...
2004 Aug 19
28
Documents, Views and DocManagers
Hi,
Are there any effort in making wxDocument, wxView, etc types of classes
avaiable under wxRuby? For supporting SDI/MDI architecture.
Cheers,
Phuah Yee Keat