wxruby 1.9.0-powerpc-darwin8.10.0 → 1.9.2-powerpc-darwin8.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +53 -0
- data/README +299 -0
- data/lib/wx.rb +7 -0
- data/lib/wx/accessors.rb +52 -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 +99 -39
- data/lib/wx/classes/grid.rb +13 -13
- 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/point.rb +43 -0
- data/lib/wx/classes/size.rb +44 -0
- data/lib/wx/classes/styledtextctrl.rb +92 -0
- data/lib/wx/classes/textctrl.rb +14 -0
- data/lib/wx/classes/timer.rb +2 -2
- data/lib/wx/classes/treectrl.rb +18 -0
- data/lib/wx/classes/window.rb +13 -2
- data/lib/wx/keyword_ctors.rb +205 -0
- data/lib/wx/keyword_defs.rb +465 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby2.bundle +0 -0
- data/samples/aui/aui.rb +6 -5
- data/samples/bigdemo/wxListCtrl_virtual.rbw +21 -21
- 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/event/event.rb +184 -0
- data/samples/html/html.rb +25 -12
- data/samples/listbook/listbook.rb +65 -67
- data/samples/minimal/minimal.rb +40 -50
- data/samples/minimal/mondrian.png +0 -0
- data/samples/minimal/nothing.rb +5 -30
- data/samples/text/scintilla.rb +22 -28
- data/samples/text/unicode.rb +1 -1
- data/samples/treectrl/treectrl.rb +197 -226
- metadata +20 -4
- data/samples/minimal/mondrian.xpm +0 -44
- data/samples/minimal/text.rb +0 -35
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
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 -07:00
|
8
8
|
summary: Ruby interface to the wxWidgets GUI library
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -32,15 +32,21 @@ files:
|
|
32
32
|
- lib/wx
|
33
33
|
- lib/wx.rb
|
34
34
|
- lib/wxruby2.bundle
|
35
|
+
- lib/wx/accessors.rb
|
35
36
|
- lib/wx/classes
|
37
|
+
- lib/wx/keyword_ctors.rb
|
38
|
+
- lib/wx/keyword_defs.rb
|
36
39
|
- lib/wx/version.rb
|
37
40
|
- lib/wx/classes/app.rb
|
38
41
|
- lib/wx/classes/artprovider.rb
|
39
42
|
- lib/wx/classes/bitmap.rb
|
43
|
+
- lib/wx/classes/checklistbox.rb
|
40
44
|
- lib/wx/classes/choice.rb
|
41
45
|
- lib/wx/classes/clientdc.rb
|
42
46
|
- lib/wx/classes/colour.rb
|
43
47
|
- lib/wx/classes/combobox.rb
|
48
|
+
- lib/wx/classes/commandevent.rb
|
49
|
+
- lib/wx/classes/controlwithitems.rb
|
44
50
|
- lib/wx/classes/evthandler.rb
|
45
51
|
- lib/wx/classes/font.rb
|
46
52
|
- lib/wx/classes/grid.rb
|
@@ -50,15 +56,21 @@ files:
|
|
50
56
|
- lib/wx/classes/icon.rb
|
51
57
|
- lib/wx/classes/image.rb
|
52
58
|
- lib/wx/classes/listbox.rb
|
59
|
+
- lib/wx/classes/listctrl.rb
|
53
60
|
- lib/wx/classes/locale.rb
|
61
|
+
- lib/wx/classes/menu.rb
|
62
|
+
- lib/wx/classes/menuitem.rb
|
54
63
|
- lib/wx/classes/object.rb
|
55
64
|
- lib/wx/classes/paintdc.rb
|
56
65
|
- lib/wx/classes/point.rb
|
57
66
|
- lib/wx/classes/previewframe.rb
|
58
67
|
- lib/wx/classes/rect.rb
|
59
68
|
- lib/wx/classes/size.rb
|
69
|
+
- lib/wx/classes/styledtextctrl.rb
|
70
|
+
- lib/wx/classes/textctrl.rb
|
60
71
|
- lib/wx/classes/texturlevent.rb
|
61
72
|
- lib/wx/classes/timer.rb
|
73
|
+
- lib/wx/classes/treectrl.rb
|
62
74
|
- lib/wx/classes/window.rb
|
63
75
|
- lib/wx/classes/xmlresource.rb
|
64
76
|
- samples/aui
|
@@ -68,6 +80,7 @@ files:
|
|
68
80
|
- samples/controls
|
69
81
|
- samples/dialogs
|
70
82
|
- samples/etc
|
83
|
+
- samples/event
|
71
84
|
- samples/grid
|
72
85
|
- samples/html
|
73
86
|
- samples/images
|
@@ -217,7 +230,9 @@ files:
|
|
217
230
|
- samples/etc/sash.rb
|
218
231
|
- samples/etc/scrollwin.rb
|
219
232
|
- samples/etc/system_settings.rb
|
233
|
+
- samples/etc/threaded.rb
|
220
234
|
- samples/etc/wizard.rb
|
235
|
+
- samples/event/event.rb
|
221
236
|
- samples/grid/grid.rb
|
222
237
|
- samples/html/html.rb
|
223
238
|
- samples/images/images.rb
|
@@ -228,9 +243,8 @@ files:
|
|
228
243
|
- samples/mdi/mdi.rb
|
229
244
|
- samples/minimal/minimal.rb
|
230
245
|
- samples/minimal/mondrian.ico
|
231
|
-
- samples/minimal/mondrian.
|
246
|
+
- samples/minimal/mondrian.png
|
232
247
|
- samples/minimal/nothing.rb
|
233
|
-
- samples/minimal/text.rb
|
234
248
|
- samples/printing/mondrian.ico
|
235
249
|
- samples/printing/mondrian.xpm
|
236
250
|
- samples/printing/printing.rb
|
@@ -248,6 +262,8 @@ files:
|
|
248
262
|
- samples/treectrl/treectrl.rb
|
249
263
|
- samples/xrc/samples.xrc
|
250
264
|
- samples/xrc/xrc_sample.rb
|
265
|
+
- README
|
266
|
+
- LICENSE
|
251
267
|
test_files: []
|
252
268
|
|
253
269
|
rdoc_options: []
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/* XPM */
|
2
|
-
static char *mondrian_xpm[] = {
|
3
|
-
/* columns rows colors chars-per-pixel */
|
4
|
-
"32 32 6 1",
|
5
|
-
" c Black",
|
6
|
-
". c Blue",
|
7
|
-
"X c #00bf00",
|
8
|
-
"o c Red",
|
9
|
-
"O c Yellow",
|
10
|
-
"+ c Gray100",
|
11
|
-
/* pixels */
|
12
|
-
" ",
|
13
|
-
" oooooo +++++++++++++++++++++++ ",
|
14
|
-
" oooooo +++++++++++++++++++++++ ",
|
15
|
-
" oooooo +++++++++++++++++++++++ ",
|
16
|
-
" oooooo +++++++++++++++++++++++ ",
|
17
|
-
" oooooo +++++++++++++++++++++++ ",
|
18
|
-
" oooooo +++++++++++++++++++++++ ",
|
19
|
-
" oooooo +++++++++++++++++++++++ ",
|
20
|
-
" ",
|
21
|
-
" ++++++ ++++++++++++++++++ .... ",
|
22
|
-
" ++++++ ++++++++++++++++++ .... ",
|
23
|
-
" ++++++ ++++++++++++++++++ .... ",
|
24
|
-
" ++++++ ++++++++++++++++++ .... ",
|
25
|
-
" ++++++ ++++++++++++++++++ .... ",
|
26
|
-
" ++++++ ++++++++++++++++++ ",
|
27
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
28
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
29
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
30
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
31
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
32
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
33
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
34
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
35
|
-
" ++++++ ++++++++++++++++++ ++++ ",
|
36
|
-
" ++++++ ++++ ",
|
37
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
38
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
39
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
40
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
41
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
42
|
-
" ++++++ OOOOOOOOOOOO XXXXX ++++ ",
|
43
|
-
" "
|
44
|
-
};
|
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()
|