wxruby 1.9.9-x86-linux → 1.9.10-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wx/classes/bitmap.rb +29 -1
- data/lib/wx/classes/clipboard.rb +19 -3
- data/lib/wx/classes/colour.rb +6 -4
- data/lib/wx/classes/data_object.rb +14 -0
- data/lib/wx/classes/data_object_simple.rb +6 -0
- data/lib/wx/classes/dataformat.rb +23 -0
- data/lib/wx/classes/evthandler.rb +31 -4
- data/lib/wx/classes/genericdirctrl.rb +36 -0
- data/lib/wx/classes/grid.rb +8 -0
- data/lib/wx/classes/hboxsizer.rb +6 -0
- data/lib/wx/classes/icon.rb +12 -1
- data/lib/wx/classes/image.rb +13 -1
- data/lib/wx/classes/listctrl.rb +12 -0
- data/lib/wx/classes/point.rb +8 -0
- data/lib/wx/classes/rect.rb +10 -1
- data/lib/wx/classes/richtextctrl.rb +22 -0
- data/lib/wx/classes/size.rb +9 -0
- data/lib/wx/classes/sizer.rb +18 -3
- data/lib/wx/classes/toolbar.rb +4 -6
- data/lib/wx/classes/vboxsizer.rb +6 -0
- data/lib/wx/classes/window.rb +7 -0
- data/lib/wx/classes/xmlresource.rb +17 -0
- data/lib/wx/helpers.rb +16 -1
- data/lib/wx/keyword_ctors.rb +3 -2
- data/lib/wx/keyword_defs.rb +27 -5
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby2.so +0 -0
- data/samples/bigdemo/About.rbw +1 -1
- data/samples/bigdemo/wxCheckListBox.rbw +40 -50
- data/samples/bigdemo/wxListCtrl_virtual.rbw +8 -3
- data/samples/bigdemo/wxSashWindow.rbw +2 -2
- data/samples/bigdemo/wxTreeCtrl.rbw +4 -3
- data/samples/calendar/calendar.rb +143 -158
- data/samples/dialogs/dialogs.rb +74 -0
- data/samples/etc/toolbar_sizer_additem.rb +55 -0
- data/samples/event/update_ui_event.rb +70 -0
- data/samples/grid/gridtablebase.rb +43 -29
- data/samples/mdi/mdi.rb +22 -14
- data/samples/minimal/minimal.rb +3 -3
- data/samples/text/format-text-bold.png +0 -0
- data/samples/text/format-text-italic.png +0 -0
- data/samples/text/format-text-underline.png +0 -0
- data/samples/text/rich_textctrl.rb +98 -0
- data/samples/text/textctrl.rb +0 -2
- data/samples/treectrl/treectrl.rb +10 -18
- data/samples/xrc/xrc_sample.rb +48 -68
- metadata +222 -210
data/samples/text/textctrl.rb
CHANGED
@@ -679,6 +679,7 @@ end
|
|
679
679
|
class MyFrame < Wx::Frame
|
680
680
|
def initialize(title, x, y, w, h)
|
681
681
|
super( nil, :title => title, :pos => [ x, y ], :size => [ w, h ] )
|
682
|
+
@splitter = nil
|
682
683
|
@treectrl = nil
|
683
684
|
@textctrl = nil
|
684
685
|
@s_num = 0
|
@@ -772,9 +773,11 @@ class MyFrame < Wx::Frame
|
|
772
773
|
menu_bar.append(item_menu, "&Item")
|
773
774
|
self.menu_bar = menu_bar
|
774
775
|
|
776
|
+
@splitter = Wx::SplitterWindow.new(self, :style => Wx::SP_BORDER)
|
777
|
+
@splitter.minimum_pane_size = 100
|
775
778
|
|
776
779
|
# create the controls
|
777
|
-
@textctrl = Wx::TextCtrl.new(
|
780
|
+
@textctrl = Wx::TextCtrl.new( @splitter,
|
778
781
|
:text => '',
|
779
782
|
:style => Wx::TE_MULTILINE|Wx::SUNKEN_BORDER)
|
780
783
|
|
@@ -789,8 +792,9 @@ class MyFrame < Wx::Frame
|
|
789
792
|
# set our text control as the log target
|
790
793
|
logWindow = Wx::LogTextCtrl.new(@textctrl)
|
791
794
|
Wx::Log::active_target = logWindow
|
795
|
+
|
796
|
+
@splitter.split_horizontally(@treectrl, @textctrl, 500)
|
792
797
|
|
793
|
-
evt_size :on_size
|
794
798
|
evt_close :on_close
|
795
799
|
|
796
800
|
evt_menu Wx::ID_EXIT, :on_quit
|
@@ -859,18 +863,18 @@ class MyFrame < Wx::Frame
|
|
859
863
|
end
|
860
864
|
|
861
865
|
def create_tree(style)
|
862
|
-
@treectrl = MyTreeCtrl.new(
|
863
|
-
resize
|
866
|
+
@treectrl = MyTreeCtrl.new(@splitter, :style => style)
|
864
867
|
end
|
865
868
|
|
866
869
|
def tog_style(id,flag)
|
867
|
-
|
868
870
|
style = @treectrl.window_style_flag ^ flag
|
869
871
|
|
870
872
|
# most treectrl styles can't be changed on the fly using the native
|
871
873
|
# control and the tree must be recreated
|
872
|
-
@treectrl
|
874
|
+
old_tree = @treectrl
|
873
875
|
create_tree(style)
|
876
|
+
@splitter.replace_window old_tree, @treectrl
|
877
|
+
old_tree.destroy
|
874
878
|
menu_bar.check(id, (style & flag) != 0)
|
875
879
|
end
|
876
880
|
|
@@ -926,18 +930,6 @@ class MyFrame < Wx::Frame
|
|
926
930
|
do_sort(true)
|
927
931
|
end
|
928
932
|
|
929
|
-
def on_size(event)
|
930
|
-
if @treectrl && @textctrl
|
931
|
-
resize
|
932
|
-
end
|
933
|
-
event.skip
|
934
|
-
end
|
935
|
-
|
936
|
-
def resize
|
937
|
-
my_size = self.client_size
|
938
|
-
@treectrl.size = [ my_size.x, 2 * my_size.y / 3 ]
|
939
|
-
end
|
940
|
-
|
941
933
|
def on_close(event)
|
942
934
|
Wx::Log::active_target = nil
|
943
935
|
destroy
|
data/samples/xrc/xrc_sample.rb
CHANGED
@@ -9,88 +9,68 @@ require 'wx'
|
|
9
9
|
|
10
10
|
# Basic Frame Class. This creates the dialog window
|
11
11
|
class SimpleFrame < Wx::Frame
|
12
|
+
def initialize()
|
13
|
+
super nil, :title => "Sample", :position => [50, 50], :size => [300, 300]
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
-
def initialize()
|
16
|
-
super(nil,-1,"Sample",Wx::Point.new(50,50),Wx::Size.new(300,300))
|
17
|
-
txt = "Choose 'Open Dialog' from the menu to see a dialog made with XRC"
|
18
|
-
Wx::StaticText.new( self, -1, txt, Wx::Point.new(10, 10) )
|
15
|
+
txt = "Choose 'Open Dialog' from the menu to see a dialog made with XRC"
|
16
|
+
Wx::StaticText.new self, :label => txt, :position => [20, 20]
|
19
17
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
#
|
32
|
-
evt_menu(FILE_DIALOG) do
|
33
|
-
SimpleDialog.new(self).show_modal()
|
34
|
-
end
|
35
|
-
|
36
|
-
evt_menu(Wx::ID_EXIT) do
|
37
|
-
puts Wx::get_app.get_app_name
|
38
|
-
Wx::get_app.exit_main_loop()
|
39
|
-
end
|
40
|
-
|
41
|
-
evt_close() do
|
42
|
-
Wx::get_app.exit_main_loop()
|
43
|
-
end
|
44
|
-
end
|
45
|
-
|
18
|
+
# Create a new menu
|
19
|
+
self.menu_bar = Wx::MenuBar.new
|
20
|
+
menu = Wx::Menu.new
|
21
|
+
menu.append Wx::ID_OPEN, "Open Dialog"
|
22
|
+
menu.append Wx::ID_EXIT, "Quit"
|
23
|
+
menu_bar.append(menu,"File")
|
24
|
+
|
25
|
+
# Assign the menu events
|
26
|
+
evt_menu(Wx::ID_OPEN) { SimpleDialog.new(self).show_modal }
|
27
|
+
evt_menu(Wx::ID_EXIT) { close }
|
28
|
+
end
|
46
29
|
end
|
47
30
|
|
48
31
|
# Dialog subclass. The components within the dialog are loaded from XRC.
|
49
32
|
class SimpleDialog < Wx::Dialog
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
33
|
+
def initialize(parent)
|
34
|
+
# To load a layout defined in XRC into a Ruby subclass of Dialog,
|
35
|
+
# first call the empty constructor. All the details of size,
|
36
|
+
# title, position and so on are loaded from the XRC by the call to
|
37
|
+
# load_frame_subclass. Using a non-empty constructor will cause
|
38
|
+
# errors on GTK.
|
39
|
+
super()
|
40
|
+
|
41
|
+
# Load the dialog from XRC. We define $xml in on_init.
|
42
|
+
# We could use XmlResource.get() over and over again, but
|
43
|
+
# honestly, thats just too much work.
|
44
|
+
$xml.load_dialog_subclass(self,parent,'SAMPLE_DIALOG')
|
62
45
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
46
|
+
# Get the buttons. The xrcid method turns a string identifier
|
47
|
+
# used in an xml file into a numeric identifier as used in
|
48
|
+
# wxruby.
|
49
|
+
@ok = find_window_by_id( Wx::xrcid('wxID_OK') )
|
50
|
+
@cancel = find_window_by_id( Wx::xrcid('wxID_CANCEL') )
|
51
|
+
@message = find_window_by_id( Wx::xrcid('SAMPLE_MESSAGE') )
|
69
52
|
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
53
|
+
# Bind the buttons to event handlers
|
54
|
+
evt_button(@ok) { end_modal(Wx::ID_OK) }
|
55
|
+
evt_button(@cancel) { end_modal(Wx::ID_CANCEL) }
|
56
|
+
evt_button(@message) do
|
57
|
+
Wx::message_box("And now a message from our sponsors.")
|
58
|
+
end
|
59
|
+
end
|
77
60
|
end
|
78
61
|
|
79
|
-
#
|
80
62
|
# Application class.
|
81
|
-
#
|
82
63
|
class XrcApp < Wx::App
|
83
64
|
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
# Show the main frame.
|
90
|
-
main = SimpleFrame.new()
|
91
|
-
main.show(true)
|
92
|
-
end
|
65
|
+
def on_init
|
66
|
+
# Get a new resources object
|
67
|
+
xrc_file = File.join( File.dirname(__FILE__), 'samples.xrc' )
|
68
|
+
$xml = Wx::XmlResource.new(xrc_file)
|
93
69
|
|
70
|
+
# Show the main frame.
|
71
|
+
main = SimpleFrame.new()
|
72
|
+
main.show(true)
|
73
|
+
end
|
94
74
|
end
|
95
75
|
|
96
76
|
XrcApp.new.main_loop()
|
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.10
|
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:
|
12
|
+
date: 2009-02-04 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -22,277 +22,289 @@ extensions: []
|
|
22
22
|
extra_rdoc_files: []
|
23
23
|
|
24
24
|
files:
|
25
|
+
- lib/wx.rb
|
26
|
+
- lib/wxruby2.so
|
25
27
|
- lib/wx
|
28
|
+
- lib/wx/accessors.rb
|
26
29
|
- lib/wx/classes
|
27
|
-
- lib/wx/classes/simplehelpprovider.rb
|
28
|
-
- lib/wx/classes/imagelist.rb
|
29
|
-
- lib/wx/classes/animation.rb
|
30
|
-
- lib/wx/classes/helpcontrollerhelpprovider.rb
|
31
|
-
- lib/wx/classes/commandevent.rb
|
32
|
-
- lib/wx/classes/timer.rb
|
33
|
-
- lib/wx/classes/htmlhelpcontroller.rb
|
34
|
-
- lib/wx/classes/iconbundle.rb
|
35
|
-
- lib/wx/classes/checklistbox.rb
|
36
|
-
- lib/wx/classes/menuitem.rb
|
37
|
-
- lib/wx/classes/treectrl.rb
|
38
|
-
- lib/wx/classes/clientdc.rb
|
39
|
-
- lib/wx/classes/icon.rb
|
40
|
-
- lib/wx/classes/point.rb
|
41
30
|
- lib/wx/classes/helpcontroller.rb
|
42
|
-
- lib/wx/classes/
|
43
|
-
- lib/wx/classes/
|
44
|
-
- lib/wx/classes/acceleratortable.rb
|
45
|
-
- lib/wx/classes/rect.rb
|
46
|
-
- lib/wx/classes/clipboard.rb
|
31
|
+
- lib/wx/classes/texturlevent.rb
|
32
|
+
- lib/wx/classes/styledtextctrl.rb
|
47
33
|
- lib/wx/classes/locale.rb
|
48
|
-
- lib/wx/classes/listctrl.rb
|
49
|
-
- lib/wx/classes/standardpaths.rb
|
50
34
|
- lib/wx/classes/artprovider.rb
|
51
|
-
- lib/wx/classes/toolbar.rb
|
52
|
-
- lib/wx/classes/colour.rb
|
53
|
-
- lib/wx/classes/font.rb
|
54
|
-
- lib/wx/classes/object.rb
|
55
|
-
- lib/wx/classes/window.rb
|
56
35
|
- lib/wx/classes/functions.rb
|
57
|
-
- lib/wx/classes/
|
58
|
-
- lib/wx/classes/textctrl.rb
|
59
|
-
- lib/wx/classes/texturlevent.rb
|
60
|
-
- lib/wx/classes/controlwithitems.rb
|
61
|
-
- lib/wx/classes/auinotebook.rb
|
62
|
-
- lib/wx/classes/richtextctrl.rb
|
63
|
-
- lib/wx/classes/app.rb
|
36
|
+
- lib/wx/classes/data_object.rb
|
64
37
|
- lib/wx/classes/busycursor.rb
|
65
|
-
- lib/wx/classes/
|
66
|
-
- lib/wx/classes/event.rb
|
67
|
-
- lib/wx/classes/image.rb
|
68
|
-
- lib/wx/classes/paintdc.rb
|
69
|
-
- lib/wx/classes/listbox.rb
|
70
|
-
- lib/wx/classes/grid.rb
|
71
|
-
- lib/wx/classes/dc.rb
|
72
|
-
- lib/wx/classes/gauge.rb
|
73
|
-
- lib/wx/classes/sound.rb
|
74
|
-
- lib/wx/classes/choice.rb
|
75
|
-
- lib/wx/classes/evthandler.rb
|
38
|
+
- lib/wx/classes/icon.rb
|
76
39
|
- lib/wx/classes/previewframe.rb
|
77
|
-
- lib/wx/classes/
|
78
|
-
- lib/wx/classes/
|
40
|
+
- lib/wx/classes/evthandler.rb
|
41
|
+
- lib/wx/classes/clientdc.rb
|
79
42
|
- lib/wx/classes/helpprovider.rb
|
43
|
+
- lib/wx/classes/hboxsizer.rb
|
80
44
|
- lib/wx/classes/mediactrl.rb
|
81
|
-
- lib/wx/classes/
|
45
|
+
- lib/wx/classes/gauge.rb
|
46
|
+
- lib/wx/classes/checklistbox.rb
|
47
|
+
- lib/wx/classes/window.rb
|
48
|
+
- lib/wx/classes/genericdirctrl.rb
|
49
|
+
- lib/wx/classes/vboxsizer.rb
|
50
|
+
- lib/wx/classes/xmlresource.rb
|
51
|
+
- lib/wx/classes/image.rb
|
82
52
|
- lib/wx/classes/combobox.rb
|
83
|
-
- lib/wx/classes/
|
53
|
+
- lib/wx/classes/paintdc.rb
|
54
|
+
- lib/wx/classes/timer.rb
|
55
|
+
- lib/wx/classes/htmlwindow.rb
|
56
|
+
- lib/wx/classes/richtextctrl.rb
|
57
|
+
- lib/wx/classes/toolbartool.rb
|
58
|
+
- lib/wx/classes/animation.rb
|
59
|
+
- lib/wx/classes/menu.rb
|
60
|
+
- lib/wx/classes/sizer.rb
|
61
|
+
- lib/wx/classes/colour.rb
|
62
|
+
- lib/wx/classes/listctrl.rb
|
63
|
+
- lib/wx/classes/htmlhelpcontroller.rb
|
64
|
+
- lib/wx/classes/clipboard.rb
|
65
|
+
- lib/wx/classes/choice.rb
|
66
|
+
- lib/wx/classes/dc.rb
|
67
|
+
- lib/wx/classes/simplehelpprovider.rb
|
68
|
+
- lib/wx/classes/grid.rb
|
69
|
+
- lib/wx/classes/helpcontrollerhelpprovider.rb
|
84
70
|
- lib/wx/classes/bitmap.rb
|
71
|
+
- lib/wx/classes/acceleratortable.rb
|
72
|
+
- lib/wx/classes/toolbar.rb
|
73
|
+
- lib/wx/classes/auinotebook.rb
|
74
|
+
- lib/wx/classes/rect.rb
|
75
|
+
- lib/wx/classes/imagelist.rb
|
76
|
+
- lib/wx/classes/data_object_simple.rb
|
77
|
+
- lib/wx/classes/controlwithitems.rb
|
78
|
+
- lib/wx/classes/size.rb
|
79
|
+
- lib/wx/classes/font.rb
|
80
|
+
- lib/wx/classes/notebook.rb
|
81
|
+
- lib/wx/classes/iconbundle.rb
|
82
|
+
- lib/wx/classes/textctrl.rb
|
83
|
+
- lib/wx/classes/sound.rb
|
84
|
+
- lib/wx/classes/treectrl.rb
|
85
|
+
- lib/wx/classes/object.rb
|
86
|
+
- lib/wx/classes/menuitem.rb
|
87
|
+
- lib/wx/classes/event.rb
|
88
|
+
- lib/wx/classes/standardpaths.rb
|
89
|
+
- lib/wx/classes/commandevent.rb
|
90
|
+
- lib/wx/classes/dataformat.rb
|
91
|
+
- lib/wx/classes/listbox.rb
|
92
|
+
- lib/wx/classes/app.rb
|
93
|
+
- lib/wx/classes/point.rb
|
85
94
|
- lib/wx/keyword_ctors.rb
|
86
|
-
- lib/wx/helpers.rb
|
87
|
-
- lib/wx/accessors.rb
|
88
95
|
- lib/wx/keyword_defs.rb
|
96
|
+
- lib/wx/helpers.rb
|
89
97
|
- lib/wx/version.rb
|
90
|
-
-
|
91
|
-
-
|
92
|
-
- samples/media
|
93
|
-
- samples/media/mediactrl.rb
|
94
|
-
- samples/event
|
95
|
-
- samples/event/event.rb
|
96
|
-
- samples/dialogs
|
97
|
-
- samples/dialogs/dialogs.rb
|
98
|
-
- samples/dialogs/tips.txt
|
99
|
-
- samples/opengl
|
100
|
-
- samples/opengl/cube.rb
|
101
|
-
- samples/text
|
102
|
-
- samples/text/mondrian.ico
|
103
|
-
- samples/text/scintilla.rb
|
104
|
-
- samples/text/utf8.txt
|
105
|
-
- samples/text/unicode.rb
|
106
|
-
- samples/text/mondrian.xpm
|
107
|
-
- samples/text/textctrl.rb
|
108
|
-
- samples/treectrl
|
109
|
-
- samples/treectrl/icon4.xpm
|
110
|
-
- samples/treectrl/icon5.xpm
|
111
|
-
- samples/treectrl/treectrl.rb
|
112
|
-
- samples/treectrl/icon1.xpm
|
113
|
-
- samples/treectrl/icon2.xpm
|
114
|
-
- samples/treectrl/icon3.xpm
|
98
|
+
- samples/mdi
|
99
|
+
- samples/mdi/mdi.rb
|
115
100
|
- samples/grid
|
116
|
-
- samples/grid/grid.rb
|
117
101
|
- samples/grid/gridtablebase.rb
|
118
|
-
- samples/
|
119
|
-
- samples/listbook/listbook.xrc
|
120
|
-
- samples/listbook/listbook.rb
|
121
|
-
- samples/minimal
|
122
|
-
- samples/minimal/mondrian.ico
|
123
|
-
- samples/minimal/minimal.rb
|
124
|
-
- samples/minimal/nothing.rb
|
125
|
-
- samples/minimal/mondrian.png
|
126
|
-
- samples/printing
|
127
|
-
- samples/printing/mondrian.ico
|
128
|
-
- samples/printing/mondrian.xpm
|
129
|
-
- samples/printing/printing.rb
|
130
|
-
- samples/drawing
|
131
|
-
- samples/drawing/paperclip.png
|
132
|
-
- samples/drawing/images.rb
|
133
|
-
- samples/drawing/graphics_drawing.rb
|
134
|
-
- samples/xrc
|
135
|
-
- samples/xrc/samples.xrc
|
136
|
-
- samples/xrc/xrc_sample.rb
|
137
|
-
- samples/caret
|
138
|
-
- samples/caret/caret.rb
|
139
|
-
- samples/caret/mondrian.xpm
|
140
|
-
- samples/dragdrop
|
141
|
-
- samples/dragdrop/dragdrop.rb
|
102
|
+
- samples/grid/grid.rb
|
142
103
|
- samples/controls
|
143
104
|
- samples/controls/icons
|
144
|
-
- samples/controls/icons/
|
105
|
+
- samples/controls/icons/text.xpm
|
145
106
|
- samples/controls/icons/combo.xpm
|
107
|
+
- samples/controls/icons/list.xpm
|
108
|
+
- samples/controls/icons/radio.xpm
|
146
109
|
- samples/controls/icons/stattext.xpm
|
147
|
-
- samples/controls/icons/text.xpm
|
148
110
|
- samples/controls/icons/gauge.xpm
|
149
111
|
- samples/controls/icons/choice.xpm
|
150
|
-
- samples/controls/icons/list.xpm
|
151
|
-
- samples/controls/get_item_sample.rb
|
152
|
-
- samples/controls/mondrian.ico
|
153
|
-
- samples/controls/controls.rb
|
154
112
|
- samples/controls/mondrian.xpm
|
113
|
+
- samples/controls/controls.rb
|
114
|
+
- samples/controls/mondrian.ico
|
155
115
|
- samples/controls/test2.bmp
|
156
|
-
- samples/
|
157
|
-
- samples/
|
116
|
+
- samples/controls/get_item_sample.rb
|
117
|
+
- samples/minimal
|
118
|
+
- samples/minimal/mondrian.ico
|
119
|
+
- samples/minimal/mondrian.png
|
120
|
+
- samples/minimal/minimal.rb
|
121
|
+
- samples/minimal/nothing.rb
|
122
|
+
- samples/aui
|
123
|
+
- samples/aui/aui.rb
|
124
|
+
- samples/opengl
|
125
|
+
- samples/opengl/cube.rb
|
126
|
+
- samples/event
|
127
|
+
- samples/event/update_ui_event.rb
|
128
|
+
- samples/event/event.rb
|
129
|
+
- samples/text
|
130
|
+
- samples/text/scintilla.rb
|
131
|
+
- samples/text/mondrian.xpm
|
132
|
+
- samples/text/format-text-italic.png
|
133
|
+
- samples/text/rich_textctrl.rb
|
134
|
+
- samples/text/mondrian.ico
|
135
|
+
- samples/text/utf8.txt
|
136
|
+
- samples/text/format-text-bold.png
|
137
|
+
- samples/text/unicode.rb
|
138
|
+
- samples/text/format-text-underline.png
|
139
|
+
- samples/text/textctrl.rb
|
140
|
+
- samples/media
|
141
|
+
- samples/media/mediactrl.rb
|
158
142
|
- samples/bigdemo
|
143
|
+
- samples/bigdemo/wxToolBar.rbw
|
144
|
+
- samples/bigdemo/wxListBox.rbw
|
159
145
|
- samples/bigdemo/icons
|
160
|
-
- samples/bigdemo/icons/paste.xpm
|
161
|
-
- samples/bigdemo/icons/wxwin48x48.png
|
162
|
-
- samples/bigdemo/icons/stattext.xpm
|
163
|
-
- samples/bigdemo/icons/Test 015.jpg
|
164
|
-
- samples/bigdemo/icons/test2.png
|
165
146
|
- samples/bigdemo/icons/text.xpm
|
166
147
|
- samples/bigdemo/icons/Test 015.png
|
167
|
-
- samples/bigdemo/icons/
|
168
|
-
- samples/bigdemo/icons/gauge.xpm
|
169
|
-
- samples/bigdemo/icons/choice.xpm
|
170
|
-
- samples/bigdemo/icons/robert.xpm
|
148
|
+
- samples/bigdemo/icons/combo.xpm
|
171
149
|
- samples/bigdemo/icons/save.xpm
|
172
|
-
- samples/bigdemo/icons/
|
173
|
-
- samples/bigdemo/icons/
|
174
|
-
- samples/bigdemo/icons/
|
175
|
-
- samples/bigdemo/icons/test2.xpm
|
176
|
-
- samples/bigdemo/icons/gauge.bmp
|
177
|
-
- samples/bigdemo/icons/wxwin16x16.png
|
178
|
-
- samples/bigdemo/icons/sashtest.ico
|
179
|
-
- samples/bigdemo/icons/choice.bmp
|
150
|
+
- samples/bigdemo/icons/list.xpm
|
151
|
+
- samples/bigdemo/icons/ogl.ico
|
152
|
+
- samples/bigdemo/icons/new.xpm
|
180
153
|
- samples/bigdemo/icons/mondrian.xpm
|
181
|
-
- samples/bigdemo/icons/
|
182
|
-
- samples/bigdemo/icons/copy.xpm
|
154
|
+
- samples/bigdemo/icons/ruby.png
|
183
155
|
- samples/bigdemo/icons/tog1.xpm
|
184
|
-
- samples/bigdemo/icons/
|
185
|
-
- samples/bigdemo/icons/
|
186
|
-
- samples/bigdemo/icons/
|
156
|
+
- samples/bigdemo/icons/wxwin.ico
|
157
|
+
- samples/bigdemo/icons/smiles.xpm
|
158
|
+
- samples/bigdemo/icons/sashtest.ico
|
159
|
+
- samples/bigdemo/icons/combo.bmp
|
160
|
+
- samples/bigdemo/icons/test2.xpm
|
161
|
+
- samples/bigdemo/icons/smiley.ico
|
162
|
+
- samples/bigdemo/icons/help.xpm
|
163
|
+
- samples/bigdemo/icons/wxwin32x32.png
|
164
|
+
- samples/bigdemo/icons/smiles.bmp
|
165
|
+
- samples/bigdemo/icons/wxwin48x48.png
|
166
|
+
- samples/bigdemo/icons/radio.xpm
|
187
167
|
- samples/bigdemo/icons/mondrian.ico
|
188
|
-
- samples/bigdemo/icons/
|
168
|
+
- samples/bigdemo/icons/list.bmp
|
169
|
+
- samples/bigdemo/icons/tog1.bmp
|
170
|
+
- samples/bigdemo/icons/open.xpm
|
171
|
+
- samples/bigdemo/icons/copy.xpm
|
172
|
+
- samples/bigdemo/icons/paste.bmp
|
173
|
+
- samples/bigdemo/icons/gauge.bmp
|
174
|
+
- samples/bigdemo/icons/radio.bmp
|
189
175
|
- samples/bigdemo/icons/ogl.xpm
|
190
|
-
- samples/bigdemo/icons/
|
176
|
+
- samples/bigdemo/icons/test2.bmp
|
177
|
+
- samples/bigdemo/icons/text.bmp
|
178
|
+
- samples/bigdemo/icons/test2.png
|
179
|
+
- samples/bigdemo/icons/wxwin16x16.png
|
180
|
+
- samples/bigdemo/icons/stattext.xpm
|
191
181
|
- samples/bigdemo/icons/wxwin16x16.xpm
|
192
|
-
- samples/bigdemo/icons/
|
193
|
-
- samples/bigdemo/icons/
|
194
|
-
- samples/bigdemo/icons/tog2.
|
195
|
-
- samples/bigdemo/icons/ogl.ico
|
196
|
-
- samples/bigdemo/icons/help.xpm
|
197
|
-
- samples/bigdemo/icons/new.xpm
|
198
|
-
- samples/bigdemo/icons/cut.xpm
|
199
|
-
- samples/bigdemo/icons/smiles.xpm
|
182
|
+
- samples/bigdemo/icons/gauge.xpm
|
183
|
+
- samples/bigdemo/icons/paste.xpm
|
184
|
+
- samples/bigdemo/icons/tog2.xpm
|
200
185
|
- samples/bigdemo/icons/print.xpm
|
201
|
-
- samples/bigdemo/icons/
|
202
|
-
- samples/bigdemo/icons/
|
203
|
-
- samples/bigdemo/icons/
|
186
|
+
- samples/bigdemo/icons/choice.xpm
|
187
|
+
- samples/bigdemo/icons/preview.xpm
|
188
|
+
- samples/bigdemo/icons/robert.xpm
|
189
|
+
- samples/bigdemo/icons/choice.bmp
|
204
190
|
- samples/bigdemo/icons/pointy.png
|
191
|
+
- samples/bigdemo/icons/tog2.bmp
|
192
|
+
- samples/bigdemo/icons/Test 015.jpg
|
205
193
|
- samples/bigdemo/icons/smiley.xpm
|
206
|
-
- samples/bigdemo/icons/
|
207
|
-
- samples/bigdemo/
|
208
|
-
- samples/bigdemo/icons/combo.bmp
|
209
|
-
- samples/bigdemo/wxSingleChoiceDialog.rbw
|
210
|
-
- samples/bigdemo/wxFileDialog_Save.rbw
|
211
|
-
- samples/bigdemo/wxColourDialog.rbw
|
194
|
+
- samples/bigdemo/icons/cut.xpm
|
195
|
+
- samples/bigdemo/wxCalendarCtrl.rbw
|
212
196
|
- samples/bigdemo/wxStaticBitmap.rbw
|
213
|
-
- samples/bigdemo/
|
214
|
-
- samples/bigdemo/wxSashWindow.rbw
|
215
|
-
- samples/bigdemo/wxCheckBox.rbw
|
216
|
-
- samples/bigdemo/wxGauge.rbw
|
217
|
-
- samples/bigdemo/utils.rb
|
218
|
-
- samples/bigdemo/About.rbw
|
219
|
-
- samples/bigdemo/wxFindReplaceDialog.rbw
|
197
|
+
- samples/bigdemo/wxSlider.rbw
|
220
198
|
- samples/bigdemo/wxSpinCtrl.rbw
|
221
|
-
- samples/bigdemo/
|
222
|
-
- samples/bigdemo/wxCalendarCtrl.rbw
|
223
|
-
- samples/bigdemo/wxDialog.rbw
|
224
|
-
- samples/bigdemo/wxFileDialog.rbw
|
199
|
+
- samples/bigdemo/wxCheckBox.rbw
|
225
200
|
- samples/bigdemo/Sizers.rbw
|
226
|
-
- samples/bigdemo/
|
227
|
-
- samples/bigdemo/wxBitmapButton.rbw
|
228
|
-
- samples/bigdemo/wxTextCtrl.rbw
|
229
|
-
- samples/bigdemo/wxButton.rbw
|
230
|
-
- samples/bigdemo/wxToggleButton.rbw
|
231
|
-
- samples/bigdemo/wxHtmlHelpController.rbw
|
232
|
-
- samples/bigdemo/wxListBox.rbw
|
233
|
-
- samples/bigdemo/wxFontDialog.rbw
|
234
|
-
- samples/bigdemo/wxRadioButton.rbw
|
201
|
+
- samples/bigdemo/wxGrid.rbw
|
235
202
|
- samples/bigdemo/wxFrame.rbw
|
236
|
-
- samples/bigdemo/
|
203
|
+
- samples/bigdemo/wxSplitterWindow.rbw
|
204
|
+
- samples/bigdemo/wxRadioButton.rbw
|
205
|
+
- samples/bigdemo/wxDialog.rbw
|
237
206
|
- samples/bigdemo/helpfile.htb
|
238
|
-
- samples/bigdemo/wxDirDialog.rbw
|
239
207
|
- samples/bigdemo/wxGenericDirCtrl.rbw
|
240
|
-
- samples/bigdemo/
|
208
|
+
- samples/bigdemo/wxTextEntryDialog.rbw
|
209
|
+
- samples/bigdemo/wxListCtrl_virtual.rbw
|
210
|
+
- samples/bigdemo/wxFindReplaceDialog.rbw
|
211
|
+
- samples/bigdemo/wxColourDialog.rbw
|
212
|
+
- samples/bigdemo/wxRadioBox.rbw
|
213
|
+
- samples/bigdemo/wxChoice.rbw
|
241
214
|
- samples/bigdemo/wxArtProvider.rbw
|
215
|
+
- samples/bigdemo/wxMessageDialog.rbw
|
216
|
+
- samples/bigdemo/wxScrolledWindow.rbw
|
217
|
+
- samples/bigdemo/wxStaticText.rbw
|
218
|
+
- samples/bigdemo/wxNotebook.rbw
|
242
219
|
- samples/bigdemo/wxMenu.rbw
|
243
|
-
- samples/bigdemo/
|
220
|
+
- samples/bigdemo/wxChoicebook.rbw
|
244
221
|
- samples/bigdemo/wxStatusBar.rbw
|
222
|
+
- samples/bigdemo/wxHtmlHelpController.rbw
|
223
|
+
- samples/bigdemo/wxComboBox.rbw
|
224
|
+
- samples/bigdemo/wxFileDialog_Save.rbw
|
225
|
+
- samples/bigdemo/wxFileDialog.rbw
|
226
|
+
- samples/bigdemo/wxMiniFrame.rbw
|
227
|
+
- samples/bigdemo/wxSpinButton.rbw
|
228
|
+
- samples/bigdemo/wxGauge.rbw
|
229
|
+
- samples/bigdemo/wxBitmapButton.rbw
|
230
|
+
- samples/bigdemo/wxMultipleChoiceDialog.rbw
|
245
231
|
- samples/bigdemo/PopupMenu.rbw
|
246
|
-
- samples/bigdemo/
|
247
|
-
- samples/bigdemo/ColorPanel.rbw
|
248
|
-
- samples/bigdemo/wxSlider.rbw
|
232
|
+
- samples/bigdemo/wxToggleButton.rbw
|
249
233
|
- samples/bigdemo/wxCheckListBox.rbw
|
234
|
+
- samples/bigdemo/wxTreeCtrl.rbw
|
235
|
+
- samples/bigdemo/wxProgressDialog.rbw
|
236
|
+
- samples/bigdemo/wxDragImage.rbw
|
237
|
+
- samples/bigdemo/wxButton.rbw
|
238
|
+
- samples/bigdemo/MDIDemo.rbw
|
239
|
+
- samples/bigdemo/run.rb
|
250
240
|
- samples/bigdemo/wxMDIWindows.rbw
|
241
|
+
- samples/bigdemo/GridSimple.rbw
|
242
|
+
- samples/bigdemo/wxCursor.rbw
|
243
|
+
- samples/bigdemo/utils.rb
|
244
|
+
- samples/bigdemo/ShapedWindow.rbw
|
245
|
+
- samples/bigdemo/wxTextCtrl.rbw
|
251
246
|
- samples/bigdemo/tips.txt
|
252
|
-
- samples/bigdemo/
|
253
|
-
- samples/bigdemo/
|
247
|
+
- samples/bigdemo/bigdemo.rb
|
248
|
+
- samples/bigdemo/wxSashWindow.rbw
|
249
|
+
- samples/bigdemo/wxSingleChoiceDialog.rbw
|
250
|
+
- samples/bigdemo/wxFontDialog.rbw
|
251
|
+
- samples/bigdemo/About.rbw
|
254
252
|
- samples/bigdemo/wxScrolledMessageDialog.rbw
|
255
|
-
- samples/bigdemo/
|
253
|
+
- samples/bigdemo/wxDirDialog.rbw
|
254
|
+
- samples/bigdemo/ColorPanel.rbw
|
256
255
|
- samples/bigdemo/demoTemplate.rbw
|
257
|
-
- samples/
|
258
|
-
- samples/
|
259
|
-
- samples/
|
260
|
-
- samples/bigdemo/ShapedWindow.rbw
|
261
|
-
- samples/bigdemo/wxNotebook.rbw
|
262
|
-
- samples/bigdemo/GridSimple.rbw
|
263
|
-
- samples/bigdemo/wxDragImage.rbw
|
264
|
-
- samples/bigdemo/wxTreeCtrl.rbw
|
265
|
-
- samples/bigdemo/wxProgressDialog.rbw
|
266
|
-
- samples/bigdemo/wxChoice.rbw
|
267
|
-
- samples/bigdemo/wxScrolledWindow.rbw
|
268
|
-
- samples/bigdemo/MDIDemo.rbw
|
269
|
-
- samples/bigdemo/wxSpinButton.rbw
|
270
|
-
- samples/bigdemo/wxChoicebook.rbw
|
271
|
-
- samples/bigdemo/wxListCtrl_virtual.rbw
|
272
|
-
- samples/mdi
|
273
|
-
- samples/mdi/mdi.rb
|
274
|
-
- samples/calendar
|
275
|
-
- samples/calendar/calendar.rb
|
256
|
+
- samples/xrc
|
257
|
+
- samples/xrc/xrc_sample.rb
|
258
|
+
- samples/xrc/samples.xrc
|
276
259
|
- samples/etc
|
277
|
-
- samples/etc/
|
278
|
-
- samples/etc/threaded.rb
|
279
|
-
- samples/etc/wizard.rb
|
260
|
+
- samples/etc/toolbar_sizer_additem.rb
|
280
261
|
- samples/etc/activation.rb
|
262
|
+
- samples/etc/threaded.rb
|
281
263
|
- samples/etc/system_settings.rb
|
282
|
-
- samples/etc/miniframe.rb
|
283
264
|
- samples/etc/choice.rb
|
265
|
+
- samples/etc/miniframe.rb
|
266
|
+
- samples/etc/sash.rb
|
267
|
+
- samples/etc/wizard.rb
|
284
268
|
- samples/etc/scrollwin.rb
|
269
|
+
- samples/calendar
|
270
|
+
- samples/calendar/calendar.rb
|
271
|
+
- samples/dragdrop
|
272
|
+
- samples/dragdrop/dragdrop.rb
|
273
|
+
- samples/listbook
|
274
|
+
- samples/listbook/listbook.xrc
|
275
|
+
- samples/listbook/listbook.rb
|
276
|
+
- samples/SAMPLES-LICENSE.TXT
|
277
|
+
- samples/dialogs
|
278
|
+
- samples/dialogs/dialogs.rb
|
279
|
+
- samples/dialogs/tips.txt
|
280
|
+
- samples/html
|
281
|
+
- samples/html/html.rb
|
285
282
|
- samples/sockets
|
283
|
+
- samples/sockets/wxClient.rb
|
286
284
|
- samples/sockets/res
|
287
285
|
- samples/sockets/res/user.png
|
288
286
|
- samples/sockets/res/message-new.png
|
289
|
-
- samples/sockets/
|
287
|
+
- samples/sockets/wxSocketGUI.rb
|
290
288
|
- samples/sockets/SocketPackets.rb
|
291
289
|
- samples/sockets/wxServer.rb
|
292
|
-
- samples/
|
293
|
-
- samples/
|
294
|
-
- samples/
|
295
|
-
- samples/
|
290
|
+
- samples/printing
|
291
|
+
- samples/printing/mondrian.xpm
|
292
|
+
- samples/printing/mondrian.ico
|
293
|
+
- samples/printing/printing.rb
|
294
|
+
- samples/drawing
|
295
|
+
- samples/drawing/images.rb
|
296
|
+
- samples/drawing/paperclip.png
|
297
|
+
- samples/drawing/graphics_drawing.rb
|
298
|
+
- samples/treectrl
|
299
|
+
- samples/treectrl/icon2.xpm
|
300
|
+
- samples/treectrl/icon1.xpm
|
301
|
+
- samples/treectrl/icon3.xpm
|
302
|
+
- samples/treectrl/icon4.xpm
|
303
|
+
- samples/treectrl/icon5.xpm
|
304
|
+
- samples/treectrl/treectrl.rb
|
305
|
+
- samples/caret
|
306
|
+
- samples/caret/caret.rb
|
307
|
+
- samples/caret/mondrian.xpm
|
296
308
|
- README
|
297
309
|
- LICENSE
|
298
310
|
has_rdoc: false
|
@@ -317,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
317
329
|
requirements: []
|
318
330
|
|
319
331
|
rubyforge_project: wxruby
|
320
|
-
rubygems_version: 1.3.
|
332
|
+
rubygems_version: 1.3.1
|
321
333
|
signing_key:
|
322
334
|
specification_version: 2
|
323
335
|
summary: Ruby interface to the wxWidgets GUI library
|