wxruby 1.9.1-i686-linux → 1.9.2-i686-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +53 -0
- data/README +299 -0
- data/lib/wx/classes/app.rb +15 -1
- data/lib/wx/classes/bitmap.rb +2 -2
- data/lib/wx/classes/checklistbox.rb +30 -0
- data/lib/wx/classes/clientdc.rb +1 -1
- data/lib/wx/classes/commandevent.rb +7 -0
- data/lib/wx/classes/controlwithitems.rb +10 -0
- data/lib/wx/classes/evthandler.rb +63 -7
- data/lib/wx/classes/listctrl.rb +9 -0
- data/lib/wx/classes/menu.rb +62 -0
- data/lib/wx/classes/menuitem.rb +7 -0
- data/lib/wx/classes/paintdc.rb +1 -1
- data/lib/wx/classes/timer.rb +2 -2
- data/lib/wx/classes/treectrl.rb +18 -0
- data/lib/wx/classes/window.rb +11 -4
- data/lib/wx/keyword_ctors.rb +1 -15
- data/lib/wx/keyword_defs.rb +68 -58
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby2.so +0 -0
- data/samples/bigdemo/wxScrolledWindow.rbw +8 -3
- data/samples/calendar/calendar.rb +1 -1
- data/samples/caret/caret.rb +29 -39
- data/samples/etc/threaded.rb +81 -0
- data/samples/etc/wizard.rb +22 -24
- data/samples/html/html.rb +25 -12
- data/samples/listbook/listbook.rb +65 -67
- data/samples/minimal/minimal.rb +38 -36
- data/samples/minimal/mondrian.ico +0 -0
- data/samples/minimal/nothing.rb +5 -30
- data/samples/treectrl/treectrl.rb +197 -226
- metadata +26 -16
- data/samples/minimal/text.rb +0 -35
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: wxruby
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 1.9.
|
7
|
-
date: 2007-
|
6
|
+
version: 1.9.2
|
7
|
+
date: 2007-10-22 00:00:00 +01:00
|
8
8
|
summary: Ruby interface to the wxWidgets GUI library
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -37,33 +37,40 @@ files:
|
|
37
37
|
- lib/wx/accessors.rb
|
38
38
|
- lib/wx/keyword_defs.rb
|
39
39
|
- lib/wx/version.rb
|
40
|
-
- lib/wx/classes/
|
40
|
+
- lib/wx/classes/commandevent.rb
|
41
41
|
- lib/wx/classes/timer.rb
|
42
42
|
- lib/wx/classes/htmlhelpcontroller.rb
|
43
|
-
- lib/wx/classes/
|
44
|
-
- lib/wx/classes/
|
45
|
-
- lib/wx/classes/
|
46
|
-
- lib/wx/classes/grid.rb
|
43
|
+
- lib/wx/classes/checklistbox.rb
|
44
|
+
- lib/wx/classes/menuitem.rb
|
45
|
+
- lib/wx/classes/treectrl.rb
|
47
46
|
- lib/wx/classes/clientdc.rb
|
48
47
|
- lib/wx/classes/icon.rb
|
49
48
|
- lib/wx/classes/point.rb
|
50
|
-
- lib/wx/classes/choice.rb
|
51
|
-
- lib/wx/classes/htmlwindow.rb
|
52
49
|
- lib/wx/classes/helpcontroller.rb
|
53
|
-
- lib/wx/classes/
|
54
|
-
- lib/wx/classes/previewframe.rb
|
50
|
+
- lib/wx/classes/htmlwindow.rb
|
55
51
|
- lib/wx/classes/rect.rb
|
56
|
-
- lib/wx/classes/styledtextctrl.rb
|
57
52
|
- lib/wx/classes/locale.rb
|
53
|
+
- lib/wx/classes/listctrl.rb
|
58
54
|
- lib/wx/classes/artprovider.rb
|
59
55
|
- lib/wx/classes/colour.rb
|
60
|
-
- lib/wx/classes/font.rb
|
61
56
|
- lib/wx/classes/object.rb
|
57
|
+
- lib/wx/classes/font.rb
|
62
58
|
- lib/wx/classes/window.rb
|
63
|
-
- lib/wx/classes/combobox.rb
|
64
59
|
- lib/wx/classes/xmlresource.rb
|
65
|
-
- lib/wx/classes/textctrl.rb
|
66
60
|
- lib/wx/classes/texturlevent.rb
|
61
|
+
- lib/wx/classes/textctrl.rb
|
62
|
+
- lib/wx/classes/controlwithitems.rb
|
63
|
+
- lib/wx/classes/app.rb
|
64
|
+
- lib/wx/classes/paintdc.rb
|
65
|
+
- lib/wx/classes/image.rb
|
66
|
+
- lib/wx/classes/listbox.rb
|
67
|
+
- lib/wx/classes/grid.rb
|
68
|
+
- lib/wx/classes/choice.rb
|
69
|
+
- lib/wx/classes/previewframe.rb
|
70
|
+
- lib/wx/classes/evthandler.rb
|
71
|
+
- lib/wx/classes/styledtextctrl.rb
|
72
|
+
- lib/wx/classes/menu.rb
|
73
|
+
- lib/wx/classes/combobox.rb
|
67
74
|
- lib/wx/classes/size.rb
|
68
75
|
- lib/wx/classes/bitmap.rb
|
69
76
|
- samples/event
|
@@ -101,7 +108,7 @@ files:
|
|
101
108
|
- samples/treectrl/icon2.xpm
|
102
109
|
- samples/treectrl/icon3.xpm
|
103
110
|
- samples/grid/grid.rb
|
104
|
-
- samples/minimal/
|
111
|
+
- samples/minimal/mondrian.ico
|
105
112
|
- samples/minimal/minimal.rb
|
106
113
|
- samples/minimal/nothing.rb
|
107
114
|
- samples/minimal/mondrian.png
|
@@ -247,6 +254,7 @@ files:
|
|
247
254
|
- samples/mdi/mdi.rb
|
248
255
|
- samples/calendar/calendar.rb
|
249
256
|
- samples/etc/sash.rb
|
257
|
+
- samples/etc/threaded.rb
|
250
258
|
- samples/etc/wizard.rb
|
251
259
|
- samples/etc/activation.rb
|
252
260
|
- samples/etc/system_settings.rb
|
@@ -254,6 +262,8 @@ files:
|
|
254
262
|
- samples/etc/choice.rb
|
255
263
|
- samples/etc/scrollwin.rb
|
256
264
|
- samples/aui/aui.rb
|
265
|
+
- README
|
266
|
+
- LICENSE
|
257
267
|
test_files: []
|
258
268
|
|
259
269
|
rdoc_options: []
|
data/samples/minimal/text.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# wxRuby2 Sample Code. Copyright (c) 2004-2006 Kevin B. Smith
|
3
|
-
# Freely reusable code: see SAMPLES-LICENSE.TXT for details
|
4
|
-
|
5
|
-
begin
|
6
|
-
require 'wx'
|
7
|
-
rescue LoadError => no_wx_err
|
8
|
-
begin
|
9
|
-
require 'rubygems'
|
10
|
-
require 'wx'
|
11
|
-
rescue LoadError
|
12
|
-
raise no_wx_err
|
13
|
-
end
|
14
|
-
end
|
15
|
-
include Wx
|
16
|
-
|
17
|
-
class MyFrame < Frame
|
18
|
-
def initialize()
|
19
|
-
super(nil,-1,'test')
|
20
|
-
|
21
|
-
panel = self#Panel.new(self)
|
22
|
-
@m_spintext = TextCtrl.new( panel, -1, '')
|
23
|
-
#@m_spintext.destroy
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
class RbApp < App
|
28
|
-
def on_init
|
29
|
-
frame = MyFrame.new
|
30
|
-
frame.show(TRUE)
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
a = RbApp.new
|
35
|
-
a.main_loop()
|