wxruby 1.9.7-x86-linux → 1.9.8-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wx.rb +12 -1
- data/lib/wx/classes/auinotebook.rb +9 -0
- data/lib/wx/classes/controlwithitems.rb +1 -1
- data/lib/wx/classes/evthandler.rb +47 -4
- data/lib/wx/classes/helpcontrollerhelpprovider.rb +23 -0
- data/lib/wx/classes/helpprovider.rb +15 -0
- data/lib/wx/classes/mediactrl.rb +29 -3
- data/lib/wx/classes/notebook.rb +9 -0
- data/lib/wx/classes/object.rb +8 -1
- data/lib/wx/classes/simplehelpprovider.rb +38 -0
- data/lib/wx/classes/sizer.rb +22 -0
- data/lib/wx/classes/toolbar.rb +29 -0
- data/lib/wx/helpers.rb +30 -0
- data/lib/wx/keyword_ctors.rb +1 -20
- data/lib/wx/keyword_defs.rb +15 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby2.so +0 -0
- data/samples/aui/aui.rb +1 -1
- data/samples/mdi/mdi.rb +35 -40
- data/samples/media/mediactrl.rb +3 -3
- data/samples/printing/printing.rb +177 -0
- metadata +233 -225
data/lib/wx/version.rb
CHANGED
data/lib/wxruby2.so
CHANGED
Binary file
|
data/samples/aui/aui.rb
CHANGED
@@ -994,7 +994,7 @@ class AuiFrame < Wx::Frame
|
|
994
994
|
event.check((@notebook_style & Wx::AUI_NB_CLOSE_ON_ALL_TABS) != 0)
|
995
995
|
when ID_NotebookCloseButtonActive
|
996
996
|
event.check((@notebook_style & Wx::AUI_NB_CLOSE_ON_ACTIVE_TAB) != 0)
|
997
|
-
when ID_NotebookAllowTabSplit
|
997
|
+
when ID_NotebookAllowTabSplit
|
998
998
|
event.check((@notebook_style & Wx::AUI_NB_TAB_SPLIT) != 0)
|
999
999
|
when ID_NotebookAllowTabMove
|
1000
1000
|
event.check((@notebook_style & Wx::AUI_NB_TAB_MOVE) != 0)
|
data/samples/mdi/mdi.rb
CHANGED
@@ -7,60 +7,56 @@ rescue LoadError
|
|
7
7
|
end
|
8
8
|
require 'wx'
|
9
9
|
|
10
|
-
|
11
|
-
#
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
ID_TILE = 4
|
18
|
-
ID_CREATE = 5
|
19
|
-
ID_CLOSE = 6
|
20
|
-
ID_EXIT = 99
|
21
|
-
|
10
|
+
# Simple MDI-based parent frame with menus to create, cycle through and
|
11
|
+
# close child frames within in.
|
12
|
+
#
|
13
|
+
# NB: MDI is only properly implemented on Windows, and is simulated by
|
14
|
+
# using a Notebook on Linux and OS X. Therefore its use is not
|
15
|
+
# recommended for cross-platform applications. An alternative interface
|
16
|
+
# strategy may be to use separate frames, or possibly the AUI classes.
|
22
17
|
class MyFrame < Wx::MDIParentFrame
|
23
18
|
def initialize(title)
|
24
|
-
super(nil,
|
19
|
+
super(nil, :title => title, :size => [ 500, 400 ] )
|
25
20
|
|
26
21
|
@child_number = 0
|
27
22
|
|
28
23
|
menuFile = Wx::Menu.new
|
29
|
-
menuFile.append(ID_EXIT, "E&xit\tAlt-X")
|
24
|
+
menuFile.append(Wx::ID_EXIT, "E&xit\tAlt-X")
|
25
|
+
evt_menu Wx::ID_EXIT, :close
|
26
|
+
|
30
27
|
menuMDI = Wx::Menu.new
|
31
|
-
menuMDI.append(
|
32
|
-
|
33
|
-
menuMDI.
|
34
|
-
|
35
|
-
menuMDI.
|
36
|
-
|
37
|
-
menuMDI.append(
|
38
|
-
|
28
|
+
menuMDI.append(Wx::ID_FORWARD, "&Next Child\tCtrl-F6")
|
29
|
+
evt_menu Wx::ID_FORWARD, :activate_next
|
30
|
+
menuMDI.append(Wx::ID_BACKWARD, "&Previous Child")
|
31
|
+
evt_menu Wx::ID_BACKWARD, :activate_previous
|
32
|
+
menuMDI.append_separator
|
33
|
+
|
34
|
+
mi_cascade = menuMDI.append("&Cascade")
|
35
|
+
evt_menu mi_cascade, :cascade
|
36
|
+
mi_tile = menuMDI.append("&Tile")
|
37
|
+
evt_menu mi_tile, :tile
|
38
|
+
menuMDI.append_separator
|
39
|
+
|
40
|
+
menuMDI.append(Wx::ID_NEW, "&Add Child")
|
41
|
+
evt_menu Wx::ID_NEW, :create_child
|
42
|
+
menuMDI.append(Wx::ID_CLOSE, "&Remove Child\tCtrl-F4")
|
43
|
+
evt_menu Wx::ID_CLOSE, :on_close_child
|
44
|
+
|
39
45
|
menuBar = Wx::MenuBar.new
|
40
46
|
menuBar.append(menuFile, "&File")
|
41
47
|
menuBar.append(menuMDI, "&Window")
|
42
|
-
|
43
|
-
|
44
|
-
evt_menu(ID_EXIT) { close }
|
45
|
-
evt_menu(ID_NEXT) { activate_next }
|
46
|
-
evt_menu(ID_PREVIOUS) { activate_previous }
|
47
|
-
evt_menu(ID_CASCADE) { cascade }
|
48
|
-
evt_menu(ID_TILE) { tile }
|
49
|
-
evt_menu(ID_CREATE) { create_child }
|
50
|
-
evt_menu(ID_CLOSE) { on_close_child }
|
48
|
+
|
49
|
+
self.menu_bar = menuBar
|
51
50
|
|
52
51
|
create_status_bar(2).set_status_widths([100, -1])
|
53
52
|
set_status_text("Some features only work on MS Windows", 1)
|
54
53
|
|
55
|
-
create_child
|
56
|
-
create_child
|
57
|
-
create_child
|
54
|
+
3.times { create_child }
|
58
55
|
end
|
59
56
|
|
60
57
|
def on_close_child
|
61
|
-
|
62
|
-
|
63
|
-
active.close
|
58
|
+
if active_child
|
59
|
+
active_child.close
|
64
60
|
end
|
65
61
|
end
|
66
62
|
|
@@ -71,12 +67,11 @@ class MyFrame < Wx::MDIParentFrame
|
|
71
67
|
end
|
72
68
|
end
|
73
69
|
|
74
|
-
class
|
70
|
+
class MDIApp < Wx::App
|
75
71
|
def on_init
|
76
72
|
frame = MyFrame.new("MDI App")
|
77
73
|
frame.show
|
78
74
|
end
|
79
75
|
end
|
80
76
|
|
81
|
-
|
82
|
-
a.main_loop()
|
77
|
+
MDIApp.new.main_loop
|
data/samples/media/mediactrl.rb
CHANGED
@@ -9,12 +9,13 @@ require 'wx'
|
|
9
9
|
|
10
10
|
# This sample demonstrates the use of Wx::MediaCtrl, which can be used
|
11
11
|
# to playback sounds or movies using a platform-native player.
|
12
|
-
class MediaPanel<Wx::Panel
|
12
|
+
class MediaPanel < Wx::Panel
|
13
13
|
def initialize(parent)
|
14
14
|
super(parent, :style => Wx::TAB_TRAVERSAL|Wx::CLIP_CHILDREN)
|
15
15
|
|
16
16
|
# The actual media player control
|
17
|
-
@mc = Wx::MediaCtrl.new(self
|
17
|
+
@mc = Wx::MediaCtrl.new(self)
|
18
|
+
|
18
19
|
evt_media_loaded @mc,:on_media_loaded
|
19
20
|
|
20
21
|
# Some buttons to control playback
|
@@ -102,7 +103,6 @@ class MediaPanel<Wx::Panel
|
|
102
103
|
if dlg.show_modal == Wx::ID_OK
|
103
104
|
do_load_file(dlg.path)
|
104
105
|
end
|
105
|
-
dlg.destroy
|
106
106
|
end
|
107
107
|
|
108
108
|
# Move the media to a position in the file, using the slider
|
@@ -7,6 +7,183 @@ rescue LoadError
|
|
7
7
|
end
|
8
8
|
require 'wx'
|
9
9
|
|
10
|
+
WXPRINT_QUIT = Wx::ID_EXIT
|
11
|
+
WXPRINT_PRINT = Wx::ID_PRINT
|
12
|
+
WXPRINT_PAGE_SETUP = Wx::ID_PRINT_SETUP
|
13
|
+
WXPRINT_PREVIEW = Wx::ID_PREVIEW
|
14
|
+
|
15
|
+
WXPRINT_PRINT_PS = 105
|
16
|
+
WXPRINT_PAGE_SETUP_PS = 107
|
17
|
+
WXPRINT_PREVIEW_PS = 108
|
18
|
+
|
19
|
+
WXPRINT_ABOUT = Wx::ID_ABOUT
|
20
|
+
|
21
|
+
WXPRINT_ANGLEUP = 110
|
22
|
+
WXPRINT_ANGLEDOWN = 111
|
23
|
+
|
24
|
+
class MyFrame < Wx::Frame
|
25
|
+
|
26
|
+
attr_accessor :canvas
|
27
|
+
|
28
|
+
def initialize(parent,title,pos,size)
|
29
|
+
super(parent,-1,title,pos,size)
|
30
|
+
@canvas = nil
|
31
|
+
@bitmap = Wx::Bitmap.new
|
32
|
+
@angle = 30
|
33
|
+
|
34
|
+
# map events
|
35
|
+
evt_menu(WXPRINT_QUIT) {|e| on_exit(e)}
|
36
|
+
evt_menu(WXPRINT_PRINT) {|e| on_print(e)}
|
37
|
+
evt_menu(WXPRINT_PREVIEW) {|e| on_print_preview(e)}
|
38
|
+
evt_menu(WXPRINT_PAGE_SETUP) {|e| on_page_setup(e)}
|
39
|
+
evt_menu(WXPRINT_ABOUT) {|e| on_print_about(e)}
|
40
|
+
evt_menu(WXPRINT_ANGLEUP) {|e| on_angle_up(e)}
|
41
|
+
evt_menu(WXPRINT_ANGLEDOWN) {|e| on_angle_down(e)}
|
42
|
+
end
|
43
|
+
|
44
|
+
def draw(dc)
|
45
|
+
dc.set_background(Wx::WHITE_BRUSH)
|
46
|
+
dc.clear()
|
47
|
+
dc.set_font(Wx::get_app.test_font)
|
48
|
+
|
49
|
+
dc.set_background_mode(Wx::TRANSPARENT)
|
50
|
+
|
51
|
+
dc.set_brush(Wx::CYAN_BRUSH)
|
52
|
+
dc.set_pen(Wx::RED_PEN)
|
53
|
+
|
54
|
+
dc.draw_rounded_rectangle(0, 20, 200, 80, 20)
|
55
|
+
|
56
|
+
dc.draw_text( "Rectangle 200 by 80", 40, 40)
|
57
|
+
|
58
|
+
dc.set_pen( Wx::Pen.new(Wx::BLACK,0,Wx::DOT_DASH) )
|
59
|
+
dc.draw_ellipse(50, 140, 100, 50)
|
60
|
+
dc.set_pen(Wx::RED_PEN)
|
61
|
+
|
62
|
+
dc.draw_text( "Test message: this is in 10 point text", 10, 180)
|
63
|
+
|
64
|
+
test = "Hebrew שלום -- Japanese (日本語)"
|
65
|
+
dc.draw_text( test, 10, 200 )
|
66
|
+
|
67
|
+
points = []
|
68
|
+
points << Wx::Point.new(0,0)
|
69
|
+
points << Wx::Point.new(20,0)
|
70
|
+
points << Wx::Point.new(20,20)
|
71
|
+
points << Wx::Point.new(10,20)
|
72
|
+
points << Wx::Point.new(10,-20)
|
73
|
+
|
74
|
+
dc.draw_polygon( points, 20, 250, Wx::ODDEVEN_RULE )
|
75
|
+
dc.draw_polygon( points, 50, 250, Wx::WINDING_RULE )
|
76
|
+
|
77
|
+
dc.draw_elliptic_arc( 80, 250, 60, 30, 0.0, 270.0 )
|
78
|
+
|
79
|
+
points[0].x = 150
|
80
|
+
points[0].y = 250
|
81
|
+
points[1].x = 180
|
82
|
+
points[1].y = 250
|
83
|
+
points[2].x = 180
|
84
|
+
points[2].y = 220
|
85
|
+
points[3].x = 200
|
86
|
+
points[3].y = 220
|
87
|
+
points.pop
|
88
|
+
dc.draw_spline( points )
|
89
|
+
|
90
|
+
dc.draw_arc( 20,10, 10,10, 25,40 )
|
91
|
+
|
92
|
+
str = ""
|
93
|
+
i = 0
|
94
|
+
str = "---- Text at angle #{i} ----"
|
95
|
+
dc.draw_rotated_text( str, 100, 300, i )
|
96
|
+
|
97
|
+
i = @angle;
|
98
|
+
str = "---- Text at angle #{i} ----"
|
99
|
+
dc.draw_rotated_text( str, 100, 300, i )
|
100
|
+
|
101
|
+
dc.set_pen(Wx::BLACK_PEN)
|
102
|
+
dc.draw_line(0, 0, 200, 200)
|
103
|
+
dc.draw_line(200, 0, 0, 200)
|
104
|
+
|
105
|
+
# Load icon
|
106
|
+
if Wx::PLATFORM == "WXMSW"
|
107
|
+
icon_file = File.join(File.dirname(__FILE__), 'mondrian.ico')
|
108
|
+
my_icon = Wx::Icon.new(icon_file, Wx::BITMAP_TYPE_ICO)
|
109
|
+
else
|
110
|
+
icon_file = File.join(File.dirname(__FILE__), 'mondrian.xpm')
|
111
|
+
my_icon = Wx::Icon.new(icon_file, Wx::BITMAP_TYPE_XPM)
|
112
|
+
end
|
113
|
+
|
114
|
+
dc.draw_icon( my_icon, 100, 100)
|
115
|
+
|
116
|
+
if @bitmap.is_ok
|
117
|
+
dc.draw_bitmap( @bitmap, 10, 10 )
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
def on_angle_up(event)
|
122
|
+
@angle += 5
|
123
|
+
canvas.refresh
|
124
|
+
end
|
125
|
+
|
126
|
+
def on_angle_down(event)
|
127
|
+
@angle -= 5
|
128
|
+
canvas.refresh
|
129
|
+
end
|
130
|
+
|
131
|
+
def on_size(event)
|
132
|
+
super(event)
|
133
|
+
end
|
134
|
+
|
135
|
+
def on_print(event)
|
136
|
+
print_dialog_data = Wx::PrintDialogData.new(Wx::get_app.print_data)
|
137
|
+
|
138
|
+
printer = Wx::Printer.new(print_dialog_data)
|
139
|
+
printout = MyPrintout.new("My printout")
|
140
|
+
if (!printer.print(self, printout, true))
|
141
|
+
if (Wx::Printer.get_last_error == Wx::PRINTER_ERROR)
|
142
|
+
Wx::message_box("There was a problem printing.\nPerhaps your current printer is not set correctly?", "Printing", Wx::OK)
|
143
|
+
else
|
144
|
+
Wx::message_box("You canceled printing", "Printing", Wx::OK)
|
145
|
+
end
|
146
|
+
else
|
147
|
+
Wx::get_app.print_data = printer.get_print_dialog_data.get_print_data
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
def on_print_preview(event)
|
152
|
+
# Pass two printout objects: for preview, and possible printing.
|
153
|
+
print_dialog_data = Wx::PrintDialogData.new(Wx::get_app.print_data)
|
154
|
+
preview = Wx::PrintPreview.new(MyPrintout.new, MyPrintout.new, print_dialog_data)
|
155
|
+
if not preview.is_ok
|
156
|
+
#delete preview;
|
157
|
+
Wx::message_box("There was a problem previewing.\nPerhaps your current printer is not set correctly?", "Previewing", Wx::OK)
|
158
|
+
return
|
159
|
+
end
|
160
|
+
|
161
|
+
prev_frame = Wx::PreviewFrame.new(preview, self, "Demo Print Preview", Wx::Point.new(100, 100), Wx::Size.new(600, 650))
|
162
|
+
prev_frame.centre(Wx::BOTH)
|
163
|
+
prev_frame.init
|
164
|
+
prev_frame.show
|
165
|
+
end
|
166
|
+
|
167
|
+
def on_page_setup(event)
|
168
|
+
Wx::get_app.page_setup_data = Wx::PageSetupDialogData.new(Wx::get_app.print_data)
|
169
|
+
page_setup_dialog = Wx::PageSetupDialog.new(self, Wx::get_app.page_setup_data)
|
170
|
+
page_setup_dialog.show_modal
|
171
|
+
|
172
|
+
Wx::get_app.print_data = page_setup_dialog.get_page_setup_data.get_print_data
|
173
|
+
Wx::get_app.page_setup_data = Wx::PageSetupDialogData.new(Wx::get_app.print_data)
|
174
|
+
end
|
175
|
+
|
176
|
+
def on_exit(event)
|
177
|
+
close(true)
|
178
|
+
end
|
179
|
+
|
180
|
+
def on_print_about(event)
|
181
|
+
Wx::message_box("wxWidgets printing demo\nAuthor: Julian Smart\nAdapted to wxRuby by Sean Long",
|
182
|
+
"About wxRuby printing demo", Wx::OK|Wx::CENTRE)
|
183
|
+
end
|
184
|
+
|
185
|
+
end
|
186
|
+
|
10
187
|
class MyCanvas < Wx::ScrolledWindow
|
11
188
|
#attr_accessor :frame
|
12
189
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wxruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.8
|
5
5
|
platform: x86-linux
|
6
6
|
authors:
|
7
7
|
- wxRuby development team
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-08-29 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -22,267 +22,275 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
|
24
24
|
files:
|
25
|
+
- lib/wxruby2.so
|
26
|
+
- lib/wx.rb
|
25
27
|
- lib/wx
|
28
|
+
- lib/wx/keyword_defs.rb
|
29
|
+
- lib/wx/helpers.rb
|
30
|
+
- lib/wx/keyword_ctors.rb
|
31
|
+
- lib/wx/accessors.rb
|
26
32
|
- lib/wx/classes
|
27
|
-
- lib/wx/classes/
|
28
|
-
- lib/wx/classes/
|
33
|
+
- lib/wx/classes/textctrl.rb
|
34
|
+
- lib/wx/classes/previewframe.rb
|
29
35
|
- lib/wx/classes/commandevent.rb
|
36
|
+
- lib/wx/classes/object.rb
|
37
|
+
- lib/wx/classes/listbox.rb
|
38
|
+
- lib/wx/classes/sound.rb
|
30
39
|
- lib/wx/classes/timer.rb
|
31
|
-
- lib/wx/classes/htmlhelpcontroller.rb
|
32
|
-
- lib/wx/classes/iconbundle.rb
|
33
|
-
- lib/wx/classes/checklistbox.rb
|
34
|
-
- lib/wx/classes/menuitem.rb
|
35
|
-
- lib/wx/classes/treectrl.rb
|
36
|
-
- lib/wx/classes/clientdc.rb
|
37
|
-
- lib/wx/classes/icon.rb
|
38
|
-
- lib/wx/classes/point.rb
|
39
|
-
- lib/wx/classes/htmlwindow.rb
|
40
40
|
- lib/wx/classes/helpcontroller.rb
|
41
|
+
- lib/wx/classes/dc.rb
|
42
|
+
- lib/wx/classes/event.rb
|
43
|
+
- lib/wx/classes/toolbartool.rb
|
44
|
+
- lib/wx/classes/simplehelpprovider.rb
|
45
|
+
- lib/wx/classes/treectrl.rb
|
46
|
+
- lib/wx/classes/controlwithitems.rb
|
41
47
|
- lib/wx/classes/acceleratortable.rb
|
42
|
-
- lib/wx/classes/
|
48
|
+
- lib/wx/classes/mediactrl.rb
|
49
|
+
- lib/wx/classes/grid.rb
|
50
|
+
- lib/wx/classes/window.rb
|
51
|
+
- lib/wx/classes/size.rb
|
52
|
+
- lib/wx/classes/app.rb
|
53
|
+
- lib/wx/classes/functions.rb
|
54
|
+
- lib/wx/classes/animation.rb
|
43
55
|
- lib/wx/classes/locale.rb
|
56
|
+
- lib/wx/classes/menu.rb
|
44
57
|
- lib/wx/classes/clipboard.rb
|
45
|
-
- lib/wx/classes/listctrl.rb
|
46
|
-
- lib/wx/classes/artprovider.rb
|
47
|
-
- lib/wx/classes/colour.rb
|
48
58
|
- lib/wx/classes/font.rb
|
49
|
-
- lib/wx/classes/object.rb
|
50
|
-
- lib/wx/classes/window.rb
|
51
|
-
- lib/wx/classes/functions.rb
|
52
|
-
- lib/wx/classes/xmlresource.rb
|
53
|
-
- lib/wx/classes/textctrl.rb
|
54
59
|
- lib/wx/classes/texturlevent.rb
|
55
|
-
- lib/wx/classes/controlwithitems.rb
|
56
|
-
- lib/wx/classes/app.rb
|
57
|
-
- lib/wx/classes/busycursor.rb
|
58
|
-
- lib/wx/classes/event.rb
|
59
|
-
- lib/wx/classes/image.rb
|
60
60
|
- lib/wx/classes/paintdc.rb
|
61
|
-
- lib/wx/classes/
|
62
|
-
- lib/wx/classes/grid.rb
|
63
|
-
- lib/wx/classes/dc.rb
|
64
|
-
- lib/wx/classes/gauge.rb
|
65
|
-
- lib/wx/classes/sound.rb
|
66
|
-
- lib/wx/classes/choice.rb
|
61
|
+
- lib/wx/classes/artprovider.rb
|
67
62
|
- lib/wx/classes/evthandler.rb
|
68
|
-
- lib/wx/classes/
|
69
|
-
- lib/wx/classes/styledtextctrl.rb
|
70
|
-
- lib/wx/classes/toolbartool.rb
|
71
|
-
- lib/wx/classes/mediactrl.rb
|
72
|
-
- lib/wx/classes/menu.rb
|
63
|
+
- lib/wx/classes/xmlresource.rb
|
73
64
|
- lib/wx/classes/combobox.rb
|
74
|
-
- lib/wx/classes/
|
65
|
+
- lib/wx/classes/htmlwindow.rb
|
66
|
+
- lib/wx/classes/image.rb
|
67
|
+
- lib/wx/classes/gauge.rb
|
68
|
+
- lib/wx/classes/point.rb
|
69
|
+
- lib/wx/classes/auinotebook.rb
|
70
|
+
- lib/wx/classes/icon.rb
|
71
|
+
- lib/wx/classes/clientdc.rb
|
72
|
+
- lib/wx/classes/iconbundle.rb
|
73
|
+
- lib/wx/classes/imagelist.rb
|
74
|
+
- lib/wx/classes/styledtextctrl.rb
|
75
75
|
- lib/wx/classes/bitmap.rb
|
76
|
-
- lib/wx/
|
77
|
-
- lib/wx/
|
78
|
-
- lib/wx/
|
76
|
+
- lib/wx/classes/checklistbox.rb
|
77
|
+
- lib/wx/classes/busycursor.rb
|
78
|
+
- lib/wx/classes/helpprovider.rb
|
79
|
+
- lib/wx/classes/sizer.rb
|
80
|
+
- lib/wx/classes/choice.rb
|
81
|
+
- lib/wx/classes/notebook.rb
|
82
|
+
- lib/wx/classes/colour.rb
|
83
|
+
- lib/wx/classes/toolbar.rb
|
84
|
+
- lib/wx/classes/rect.rb
|
85
|
+
- lib/wx/classes/menuitem.rb
|
86
|
+
- lib/wx/classes/htmlhelpcontroller.rb
|
87
|
+
- lib/wx/classes/listctrl.rb
|
88
|
+
- lib/wx/classes/helpcontrollerhelpprovider.rb
|
79
89
|
- lib/wx/version.rb
|
80
|
-
-
|
81
|
-
-
|
82
|
-
- samples/
|
83
|
-
- samples/
|
84
|
-
- samples/
|
85
|
-
- samples/
|
86
|
-
- samples/
|
87
|
-
- samples/
|
88
|
-
- samples/
|
89
|
-
- samples/
|
90
|
-
- samples/
|
90
|
+
- samples/etc
|
91
|
+
- samples/etc/wizard.rb
|
92
|
+
- samples/etc/activation.rb
|
93
|
+
- samples/etc/sash.rb
|
94
|
+
- samples/etc/system_settings.rb
|
95
|
+
- samples/etc/miniframe.rb
|
96
|
+
- samples/etc/threaded.rb
|
97
|
+
- samples/etc/choice.rb
|
98
|
+
- samples/etc/scrollwin.rb
|
99
|
+
- samples/calendar
|
100
|
+
- samples/calendar/calendar.rb
|
91
101
|
- samples/text
|
92
|
-
- samples/text/
|
93
|
-
- samples/text/scintilla.rb
|
94
|
-
- samples/text/utf8.txt
|
102
|
+
- samples/text/textctrl.rb
|
95
103
|
- samples/text/unicode.rb
|
96
104
|
- samples/text/mondrian.xpm
|
97
|
-
- samples/text/
|
98
|
-
- samples/
|
99
|
-
- samples/
|
100
|
-
- samples/treectrl/icon5.xpm
|
101
|
-
- samples/treectrl/treectrl.rb
|
102
|
-
- samples/treectrl/icon1.xpm
|
103
|
-
- samples/treectrl/icon2.xpm
|
104
|
-
- samples/treectrl/icon3.xpm
|
105
|
-
- samples/grid
|
106
|
-
- samples/grid/grid.rb
|
107
|
-
- samples/grid/gridtablebase.rb
|
108
|
-
- samples/listbook
|
109
|
-
- samples/listbook/listbook.xrc
|
110
|
-
- samples/listbook/listbook.rb
|
111
|
-
- samples/minimal
|
112
|
-
- samples/minimal/mondrian.ico
|
113
|
-
- samples/minimal/minimal.rb
|
114
|
-
- samples/minimal/nothing.rb
|
115
|
-
- samples/minimal/mondrian.png
|
116
|
-
- samples/printing
|
117
|
-
- samples/printing/mondrian.ico
|
118
|
-
- samples/printing/mondrian.xpm
|
119
|
-
- samples/printing/printing.rb
|
120
|
-
- samples/drawing
|
121
|
-
- samples/drawing/paperclip.png
|
122
|
-
- samples/drawing/images.rb
|
123
|
-
- samples/drawing/graphics_drawing.rb
|
124
|
-
- samples/xrc
|
125
|
-
- samples/xrc/samples.xrc
|
126
|
-
- samples/xrc/xrc_sample.rb
|
127
|
-
- samples/caret
|
128
|
-
- samples/caret/caret.rb
|
129
|
-
- samples/caret/mondrian.xpm
|
130
|
-
- samples/dragdrop
|
131
|
-
- samples/dragdrop/dragdrop.rb
|
132
|
-
- samples/controls
|
133
|
-
- samples/controls/icons
|
134
|
-
- samples/controls/icons/radio.xpm
|
135
|
-
- samples/controls/icons/combo.xpm
|
136
|
-
- samples/controls/icons/stattext.xpm
|
137
|
-
- samples/controls/icons/text.xpm
|
138
|
-
- samples/controls/icons/gauge.xpm
|
139
|
-
- samples/controls/icons/choice.xpm
|
140
|
-
- samples/controls/icons/list.xpm
|
141
|
-
- samples/controls/get_item_sample.rb
|
142
|
-
- samples/controls/mondrian.ico
|
143
|
-
- samples/controls/controls.rb
|
144
|
-
- samples/controls/mondrian.xpm
|
145
|
-
- samples/controls/test2.bmp
|
105
|
+
- samples/text/utf8.txt
|
106
|
+
- samples/text/mondrian.ico
|
107
|
+
- samples/text/scintilla.rb
|
146
108
|
- samples/html
|
147
109
|
- samples/html/html.rb
|
110
|
+
- samples/SAMPLES-LICENSE.TXT
|
111
|
+
- samples/sockets
|
112
|
+
- samples/sockets/wxSocketGUI.rb
|
113
|
+
- samples/sockets/res
|
114
|
+
- samples/sockets/res/message-new.png
|
115
|
+
- samples/sockets/res/user.png
|
116
|
+
- samples/sockets/SocketPackets.rb
|
117
|
+
- samples/sockets/wxClient.rb
|
118
|
+
- samples/sockets/wxServer.rb
|
148
119
|
- samples/bigdemo
|
120
|
+
- samples/bigdemo/wxToggleButton.rbw
|
121
|
+
- samples/bigdemo/wxButton.rbw
|
122
|
+
- samples/bigdemo/wxListCtrl_virtual.rbw
|
123
|
+
- samples/bigdemo/wxStaticBitmap.rbw
|
124
|
+
- samples/bigdemo/wxBitmapButton.rbw
|
125
|
+
- samples/bigdemo/Sizers.rbw
|
126
|
+
- samples/bigdemo/wxMDIWindows.rbw
|
127
|
+
- samples/bigdemo/wxGauge.rbw
|
128
|
+
- samples/bigdemo/wxProgressDialog.rbw
|
129
|
+
- samples/bigdemo/wxSpinButton.rbw
|
130
|
+
- samples/bigdemo/wxMenu.rbw
|
131
|
+
- samples/bigdemo/wxTextEntryDialog.rbw
|
132
|
+
- samples/bigdemo/wxMiniFrame.rbw
|
133
|
+
- samples/bigdemo/wxFileDialog.rbw
|
134
|
+
- samples/bigdemo/wxSpinCtrl.rbw
|
135
|
+
- samples/bigdemo/bigdemo.rb
|
136
|
+
- samples/bigdemo/wxCheckBox.rbw
|
137
|
+
- samples/bigdemo/wxNotebook.rbw
|
138
|
+
- samples/bigdemo/wxRadioBox.rbw
|
139
|
+
- samples/bigdemo/wxScrolledWindow.rbw
|
140
|
+
- samples/bigdemo/wxFindReplaceDialog.rbw
|
141
|
+
- samples/bigdemo/wxMessageDialog.rbw
|
142
|
+
- samples/bigdemo/wxFrame.rbw
|
143
|
+
- samples/bigdemo/wxStaticText.rbw
|
144
|
+
- samples/bigdemo/wxChoice.rbw
|
145
|
+
- samples/bigdemo/wxTreeCtrl.rbw
|
146
|
+
- samples/bigdemo/wxCalendarCtrl.rbw
|
147
|
+
- samples/bigdemo/ColorPanel.rbw
|
148
|
+
- samples/bigdemo/wxListBox.rbw
|
149
|
+
- samples/bigdemo/wxGenericDirCtrl.rbw
|
150
|
+
- samples/bigdemo/utils.rb
|
151
|
+
- samples/bigdemo/wxMultipleChoiceDialog.rbw
|
152
|
+
- samples/bigdemo/run.rb
|
153
|
+
- samples/bigdemo/wxDragImage.rbw
|
154
|
+
- samples/bigdemo/wxSingleChoiceDialog.rbw
|
155
|
+
- samples/bigdemo/MDIDemo.rbw
|
156
|
+
- samples/bigdemo/PopupMenu.rbw
|
157
|
+
- samples/bigdemo/wxCursor.rbw
|
158
|
+
- samples/bigdemo/wxChoicebook.rbw
|
159
|
+
- samples/bigdemo/wxCheckListBox.rbw
|
160
|
+
- samples/bigdemo/helpfile.htb
|
161
|
+
- samples/bigdemo/wxDialog.rbw
|
162
|
+
- samples/bigdemo/wxGrid.rbw
|
163
|
+
- samples/bigdemo/ShapedWindow.rbw
|
164
|
+
- samples/bigdemo/wxFontDialog.rbw
|
165
|
+
- samples/bigdemo/wxTextCtrl.rbw
|
166
|
+
- samples/bigdemo/About.rbw
|
167
|
+
- samples/bigdemo/wxSlider.rbw
|
168
|
+
- samples/bigdemo/GridSimple.rbw
|
169
|
+
- samples/bigdemo/wxDirDialog.rbw
|
149
170
|
- samples/bigdemo/icons
|
171
|
+
- samples/bigdemo/icons/ogl.xpm
|
172
|
+
- samples/bigdemo/icons/pointy.png
|
173
|
+
- samples/bigdemo/icons/ogl.ico
|
174
|
+
- samples/bigdemo/icons/tog2.bmp
|
175
|
+
- samples/bigdemo/icons/radio.xpm
|
176
|
+
- samples/bigdemo/icons/preview.xpm
|
150
177
|
- samples/bigdemo/icons/paste.xpm
|
178
|
+
- samples/bigdemo/icons/sashtest.ico
|
151
179
|
- samples/bigdemo/icons/wxwin48x48.png
|
152
|
-
- samples/bigdemo/icons/
|
153
|
-
- samples/bigdemo/icons/Test 015.jpg
|
154
|
-
- samples/bigdemo/icons/test2.png
|
155
|
-
- samples/bigdemo/icons/text.xpm
|
156
|
-
- samples/bigdemo/icons/Test 015.png
|
157
|
-
- samples/bigdemo/icons/paste.bmp
|
158
|
-
- samples/bigdemo/icons/gauge.xpm
|
159
|
-
- samples/bigdemo/icons/choice.xpm
|
160
|
-
- samples/bigdemo/icons/robert.xpm
|
161
|
-
- samples/bigdemo/icons/save.xpm
|
162
|
-
- samples/bigdemo/icons/radio.xpm
|
163
|
-
- samples/bigdemo/icons/text.bmp
|
180
|
+
- samples/bigdemo/icons/smiles.bmp
|
164
181
|
- samples/bigdemo/icons/wxwin32x32.png
|
165
|
-
- samples/bigdemo/icons/
|
166
|
-
- samples/bigdemo/icons/gauge.bmp
|
167
|
-
- samples/bigdemo/icons/wxwin16x16.png
|
168
|
-
- samples/bigdemo/icons/sashtest.ico
|
169
|
-
- samples/bigdemo/icons/choice.bmp
|
182
|
+
- samples/bigdemo/icons/print.xpm
|
170
183
|
- samples/bigdemo/icons/mondrian.xpm
|
171
|
-
- samples/bigdemo/icons/
|
172
|
-
- samples/bigdemo/icons/copy.xpm
|
173
|
-
- samples/bigdemo/icons/tog1.xpm
|
174
|
-
- samples/bigdemo/icons/list.xpm
|
175
|
-
- samples/bigdemo/icons/test2.bmp
|
176
|
-
- samples/bigdemo/icons/tog2.xpm
|
177
|
-
- samples/bigdemo/icons/mondrian.ico
|
178
|
-
- samples/bigdemo/icons/preview.xpm
|
179
|
-
- samples/bigdemo/icons/ogl.xpm
|
184
|
+
- samples/bigdemo/icons/cut.xpm
|
180
185
|
- samples/bigdemo/icons/wxwin.ico
|
186
|
+
- samples/bigdemo/icons/wxwin16x16.png
|
187
|
+
- samples/bigdemo/icons/Test 015.jpg
|
188
|
+
- samples/bigdemo/icons/text.bmp
|
189
|
+
- samples/bigdemo/icons/save.xpm
|
190
|
+
- samples/bigdemo/icons/combo.bmp
|
191
|
+
- samples/bigdemo/icons/list.xpm
|
181
192
|
- samples/bigdemo/icons/wxwin16x16.xpm
|
193
|
+
- samples/bigdemo/icons/gauge.bmp
|
182
194
|
- samples/bigdemo/icons/tog1.bmp
|
183
|
-
- samples/bigdemo/icons/
|
184
|
-
- samples/bigdemo/icons/tog2.bmp
|
185
|
-
- samples/bigdemo/icons/ogl.ico
|
186
|
-
- samples/bigdemo/icons/help.xpm
|
195
|
+
- samples/bigdemo/icons/smiley.xpm
|
187
196
|
- samples/bigdemo/icons/new.xpm
|
188
|
-
- samples/bigdemo/icons/
|
197
|
+
- samples/bigdemo/icons/open.xpm
|
198
|
+
- samples/bigdemo/icons/Test 015.png
|
199
|
+
- samples/bigdemo/icons/test2.bmp
|
200
|
+
- samples/bigdemo/icons/copy.xpm
|
201
|
+
- samples/bigdemo/icons/paste.bmp
|
189
202
|
- samples/bigdemo/icons/smiles.xpm
|
190
|
-
- samples/bigdemo/icons/
|
203
|
+
- samples/bigdemo/icons/choice.bmp
|
204
|
+
- samples/bigdemo/icons/smiley.ico
|
205
|
+
- samples/bigdemo/icons/list.bmp
|
206
|
+
- samples/bigdemo/icons/tog1.xpm
|
207
|
+
- samples/bigdemo/icons/robert.xpm
|
208
|
+
- samples/bigdemo/icons/choice.xpm
|
209
|
+
- samples/bigdemo/icons/test2.png
|
210
|
+
- samples/bigdemo/icons/test2.xpm
|
191
211
|
- samples/bigdemo/icons/combo.xpm
|
212
|
+
- samples/bigdemo/icons/text.xpm
|
213
|
+
- samples/bigdemo/icons/tog2.xpm
|
214
|
+
- samples/bigdemo/icons/stattext.xpm
|
215
|
+
- samples/bigdemo/icons/mondrian.ico
|
192
216
|
- samples/bigdemo/icons/ruby.png
|
193
|
-
- samples/bigdemo/icons/
|
194
|
-
- samples/bigdemo/icons/
|
195
|
-
- samples/bigdemo/icons/
|
196
|
-
- samples/bigdemo/icons/smiles.bmp
|
197
|
-
- samples/bigdemo/icons/smiley.ico
|
198
|
-
- samples/bigdemo/icons/combo.bmp
|
199
|
-
- samples/bigdemo/wxSingleChoiceDialog.rbw
|
200
|
-
- samples/bigdemo/wxFileDialog_Save.rbw
|
201
|
-
- samples/bigdemo/wxColourDialog.rbw
|
202
|
-
- samples/bigdemo/wxStaticBitmap.rbw
|
203
|
-
- samples/bigdemo/wxGrid.rbw
|
204
|
-
- samples/bigdemo/wxSashWindow.rbw
|
205
|
-
- samples/bigdemo/wxCheckBox.rbw
|
206
|
-
- samples/bigdemo/wxGauge.rbw
|
207
|
-
- samples/bigdemo/utils.rb
|
208
|
-
- samples/bigdemo/About.rbw
|
209
|
-
- samples/bigdemo/wxFindReplaceDialog.rbw
|
210
|
-
- samples/bigdemo/wxSpinCtrl.rbw
|
211
|
-
- samples/bigdemo/run.rb
|
212
|
-
- samples/bigdemo/wxCalendarCtrl.rbw
|
213
|
-
- samples/bigdemo/wxDialog.rbw
|
214
|
-
- samples/bigdemo/wxFileDialog.rbw
|
215
|
-
- samples/bigdemo/Sizers.rbw
|
216
|
-
- samples/bigdemo/wxToolBar.rbw
|
217
|
-
- samples/bigdemo/wxBitmapButton.rbw
|
218
|
-
- samples/bigdemo/wxTextCtrl.rbw
|
219
|
-
- samples/bigdemo/wxButton.rbw
|
220
|
-
- samples/bigdemo/wxToggleButton.rbw
|
221
|
-
- samples/bigdemo/wxHtmlHelpController.rbw
|
222
|
-
- samples/bigdemo/wxListBox.rbw
|
223
|
-
- samples/bigdemo/wxFontDialog.rbw
|
217
|
+
- samples/bigdemo/icons/gauge.xpm
|
218
|
+
- samples/bigdemo/icons/help.xpm
|
219
|
+
- samples/bigdemo/icons/radio.bmp
|
224
220
|
- samples/bigdemo/wxRadioButton.rbw
|
225
|
-
- samples/bigdemo/wxFrame.rbw
|
226
|
-
- samples/bigdemo/wxStaticText.rbw
|
227
|
-
- samples/bigdemo/helpfile.htb
|
228
|
-
- samples/bigdemo/wxDirDialog.rbw
|
229
|
-
- samples/bigdemo/wxGenericDirCtrl.rbw
|
230
|
-
- samples/bigdemo/bigdemo.rb
|
231
|
-
- samples/bigdemo/wxArtProvider.rbw
|
232
|
-
- samples/bigdemo/wxMenu.rbw
|
233
|
-
- samples/bigdemo/wxMiniFrame.rbw
|
234
|
-
- samples/bigdemo/wxStatusBar.rbw
|
235
|
-
- samples/bigdemo/PopupMenu.rbw
|
236
|
-
- samples/bigdemo/wxCursor.rbw
|
237
|
-
- samples/bigdemo/ColorPanel.rbw
|
238
|
-
- samples/bigdemo/wxSlider.rbw
|
239
|
-
- samples/bigdemo/wxCheckListBox.rbw
|
240
|
-
- samples/bigdemo/wxMDIWindows.rbw
|
241
|
-
- samples/bigdemo/tips.txt
|
242
|
-
- samples/bigdemo/wxTextEntryDialog.rbw
|
243
|
-
- samples/bigdemo/wxMultipleChoiceDialog.rbw
|
244
221
|
- samples/bigdemo/wxScrolledMessageDialog.rbw
|
245
222
|
- samples/bigdemo/wxSplitterWindow.rbw
|
246
|
-
- samples/bigdemo/
|
247
|
-
- samples/bigdemo/
|
248
|
-
- samples/bigdemo/
|
223
|
+
- samples/bigdemo/wxSashWindow.rbw
|
224
|
+
- samples/bigdemo/wxArtProvider.rbw
|
225
|
+
- samples/bigdemo/wxFileDialog_Save.rbw
|
226
|
+
- samples/bigdemo/tips.txt
|
227
|
+
- samples/bigdemo/wxStatusBar.rbw
|
249
228
|
- samples/bigdemo/wxComboBox.rbw
|
250
|
-
- samples/bigdemo/
|
251
|
-
- samples/bigdemo/
|
252
|
-
- samples/bigdemo/
|
253
|
-
- samples/bigdemo/
|
254
|
-
- samples/
|
255
|
-
- samples/
|
256
|
-
- samples/
|
257
|
-
- samples/
|
258
|
-
- samples/
|
259
|
-
- samples/
|
260
|
-
- samples/
|
261
|
-
- samples/
|
262
|
-
- samples/
|
263
|
-
- samples/
|
264
|
-
- samples/
|
265
|
-
- samples/
|
266
|
-
- samples/
|
267
|
-
- samples/
|
268
|
-
- samples/
|
269
|
-
- samples/
|
270
|
-
- samples/
|
271
|
-
- samples/
|
272
|
-
- samples/
|
273
|
-
- samples/
|
274
|
-
- samples/
|
275
|
-
- samples/
|
276
|
-
- samples/
|
277
|
-
- samples/
|
278
|
-
- samples/
|
279
|
-
- samples/
|
280
|
-
- samples/
|
281
|
-
- samples/
|
282
|
-
- samples/
|
229
|
+
- samples/bigdemo/wxColourDialog.rbw
|
230
|
+
- samples/bigdemo/demoTemplate.rbw
|
231
|
+
- samples/bigdemo/wxHtmlHelpController.rbw
|
232
|
+
- samples/bigdemo/wxToolBar.rbw
|
233
|
+
- samples/dragdrop
|
234
|
+
- samples/dragdrop/dragdrop.rb
|
235
|
+
- samples/grid
|
236
|
+
- samples/grid/grid.rb
|
237
|
+
- samples/grid/gridtablebase.rb
|
238
|
+
- samples/listbook
|
239
|
+
- samples/listbook/listbook.rb
|
240
|
+
- samples/listbook/listbook.xrc
|
241
|
+
- samples/drawing
|
242
|
+
- samples/drawing/images.rb
|
243
|
+
- samples/drawing/paperclip.png
|
244
|
+
- samples/drawing/graphics_drawing.rb
|
245
|
+
- samples/event
|
246
|
+
- samples/event/event.rb
|
247
|
+
- samples/xrc
|
248
|
+
- samples/xrc/samples.xrc
|
249
|
+
- samples/xrc/xrc_sample.rb
|
250
|
+
- samples/minimal
|
251
|
+
- samples/minimal/mondrian.png
|
252
|
+
- samples/minimal/minimal.rb
|
253
|
+
- samples/minimal/nothing.rb
|
254
|
+
- samples/minimal/mondrian.ico
|
255
|
+
- samples/treectrl
|
256
|
+
- samples/treectrl/treectrl.rb
|
257
|
+
- samples/treectrl/icon5.xpm
|
258
|
+
- samples/treectrl/icon1.xpm
|
259
|
+
- samples/treectrl/icon4.xpm
|
260
|
+
- samples/treectrl/icon2.xpm
|
261
|
+
- samples/treectrl/icon3.xpm
|
283
262
|
- samples/aui
|
284
263
|
- samples/aui/aui.rb
|
285
|
-
- samples/
|
264
|
+
- samples/controls
|
265
|
+
- samples/controls/get_item_sample.rb
|
266
|
+
- samples/controls/mondrian.xpm
|
267
|
+
- samples/controls/test2.bmp
|
268
|
+
- samples/controls/controls.rb
|
269
|
+
- samples/controls/icons
|
270
|
+
- samples/controls/icons/radio.xpm
|
271
|
+
- samples/controls/icons/list.xpm
|
272
|
+
- samples/controls/icons/choice.xpm
|
273
|
+
- samples/controls/icons/combo.xpm
|
274
|
+
- samples/controls/icons/text.xpm
|
275
|
+
- samples/controls/icons/stattext.xpm
|
276
|
+
- samples/controls/icons/gauge.xpm
|
277
|
+
- samples/controls/mondrian.ico
|
278
|
+
- samples/opengl
|
279
|
+
- samples/opengl/cube.rb
|
280
|
+
- samples/media
|
281
|
+
- samples/media/mediactrl.rb
|
282
|
+
- samples/dialogs
|
283
|
+
- samples/dialogs/dialogs.rb
|
284
|
+
- samples/dialogs/tips.txt
|
285
|
+
- samples/mdi
|
286
|
+
- samples/mdi/mdi.rb
|
287
|
+
- samples/printing
|
288
|
+
- samples/printing/mondrian.xpm
|
289
|
+
- samples/printing/printing.rb
|
290
|
+
- samples/printing/mondrian.ico
|
291
|
+
- samples/caret
|
292
|
+
- samples/caret/mondrian.xpm
|
293
|
+
- samples/caret/caret.rb
|
286
294
|
- README
|
287
295
|
- LICENSE
|
288
296
|
has_rdoc: false
|
@@ -307,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
315
|
requirements: []
|
308
316
|
|
309
317
|
rubyforge_project: wxruby
|
310
|
-
rubygems_version: 1.
|
318
|
+
rubygems_version: 1.2.0
|
311
319
|
signing_key:
|
312
320
|
specification_version: 2
|
313
321
|
summary: Ruby interface to the wxWidgets GUI library
|