wxruby 1.9.0-i386-mswin32 → 1.9.1-i386-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/wx.rb +42 -35
- data/lib/wx/accessors.rb +52 -0
- data/lib/wx/classes/evthandler.rb +36 -32
- data/lib/wx/classes/grid.rb +13 -13
- 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/window.rb +4 -0
- data/lib/wx/keyword_ctors.rb +219 -0
- data/lib/wx/keyword_defs.rb +455 -0
- data/lib/wx/version.rb +1 -1
- data/lib/wxruby2.exp +0 -0
- data/lib/wxruby2.lib +0 -0
- data/lib/wxruby2.so +0 -0
- data/samples/SAMPLES-LICENSE.TXT +17 -17
- data/samples/aui/aui.rb +6 -5
- data/samples/bigdemo/About.rbw +39 -39
- data/samples/bigdemo/ColorPanel.rbw +25 -25
- data/samples/bigdemo/GridSimple.rbw +80 -80
- data/samples/bigdemo/MDIDemo.rbw +59 -59
- data/samples/bigdemo/PopupMenu.rbw +151 -151
- data/samples/bigdemo/Sizers.rbw +545 -545
- data/samples/bigdemo/bigdemo.rb +826 -826
- data/samples/bigdemo/demoTemplate.rbw +37 -37
- data/samples/bigdemo/icons/choice.xpm +27 -27
- data/samples/bigdemo/icons/combo.xpm +27 -27
- data/samples/bigdemo/icons/copy.xpm +25 -25
- data/samples/bigdemo/icons/cut.xpm +24 -24
- data/samples/bigdemo/icons/gauge.xpm +27 -27
- data/samples/bigdemo/icons/help.xpm +25 -25
- data/samples/bigdemo/icons/list.xpm +27 -27
- data/samples/bigdemo/icons/mondrian.xpm +44 -44
- data/samples/bigdemo/icons/new.xpm +24 -24
- data/samples/bigdemo/icons/ogl.ico +0 -0
- data/samples/bigdemo/icons/ogl.xpm +45 -45
- data/samples/bigdemo/icons/open.xpm +26 -26
- data/samples/bigdemo/icons/paste.xpm +38 -38
- data/samples/bigdemo/icons/preview.xpm +26 -26
- data/samples/bigdemo/icons/print.xpm +26 -26
- data/samples/bigdemo/icons/radio.xpm +27 -27
- data/samples/bigdemo/icons/robert.xpm +415 -415
- data/samples/bigdemo/icons/save.xpm +25 -25
- data/samples/bigdemo/icons/smiles.xpm +39 -39
- data/samples/bigdemo/icons/smiley.xpm +42 -42
- data/samples/bigdemo/icons/stattext.xpm +24 -24
- data/samples/bigdemo/icons/test2.bmp +0 -0
- data/samples/bigdemo/icons/test2.xpm +79 -79
- data/samples/bigdemo/icons/text.xpm +27 -27
- data/samples/bigdemo/icons/tog1.xpm +38 -38
- data/samples/bigdemo/icons/tog2.xpm +38 -38
- data/samples/bigdemo/icons/wxwin16x16.xpm +25 -25
- data/samples/bigdemo/tips.txt +7 -7
- data/samples/bigdemo/utils.rb +11 -11
- data/samples/bigdemo/wxButton.rbw +66 -66
- data/samples/bigdemo/wxCalendarCtrl.rbw +72 -72
- data/samples/bigdemo/wxCheckBox.rbw +52 -52
- data/samples/bigdemo/wxCheckListBox.rbw +77 -77
- data/samples/bigdemo/wxChoice.rbw +49 -49
- data/samples/bigdemo/wxColourDialog.rbw +34 -34
- data/samples/bigdemo/wxComboBox.rbw +79 -79
- data/samples/bigdemo/wxDialog.rbw +92 -92
- data/samples/bigdemo/wxDirDialog.rbw +32 -32
- data/samples/bigdemo/wxFileDialog.rbw +39 -39
- data/samples/bigdemo/wxFileDialog_Save.rbw +38 -38
- data/samples/bigdemo/wxFindReplaceDialog.rbw +85 -85
- data/samples/bigdemo/wxFontDialog.rbw +176 -176
- data/samples/bigdemo/wxFrame.rbw +55 -55
- data/samples/bigdemo/wxGauge.rbw +73 -73
- data/samples/bigdemo/wxGrid.rbw +68 -68
- data/samples/bigdemo/wxListBox.rbw +142 -142
- data/samples/bigdemo/wxListCtrl_virtual.rbw +109 -109
- data/samples/bigdemo/wxMDIWindows.rbw +52 -52
- data/samples/bigdemo/wxMenu.rbw +238 -238
- data/samples/bigdemo/wxMessageDialog.rbw +30 -30
- data/samples/bigdemo/wxMultipleChoiceDialog.rbw +34 -34
- data/samples/bigdemo/wxNotebook.rbw +138 -138
- data/samples/bigdemo/wxProgressDialog.rbw +45 -45
- data/samples/bigdemo/wxRadioBox.rbw +74 -74
- data/samples/bigdemo/wxRadioButton.rbw +127 -127
- data/samples/bigdemo/wxScrolledMessageDialog.rbw +59 -59
- data/samples/bigdemo/wxScrolledWindow.rbw +196 -196
- data/samples/bigdemo/wxSingleChoiceDialog.rbw +35 -35
- data/samples/bigdemo/wxSlider.rbw +44 -44
- data/samples/bigdemo/wxSpinButton.rbw +52 -52
- data/samples/bigdemo/wxSpinCtrl.rbw +53 -53
- data/samples/bigdemo/wxSplitterWindow.rbw +65 -65
- data/samples/bigdemo/wxStaticBitmap.rbw +53 -53
- data/samples/bigdemo/wxStaticText.rbw +57 -57
- data/samples/bigdemo/wxStatusBar.rbw +128 -128
- data/samples/bigdemo/wxTextCtrl.rbw +151 -151
- data/samples/bigdemo/wxTextEntryDialog.rbw +34 -34
- data/samples/bigdemo/wxToggleButton.rbw +51 -51
- data/samples/bigdemo/wxToolBar.rbw +133 -133
- data/samples/bigdemo/wxTreeCtrl.rbw +192 -192
- data/samples/calendar/calendar.rb +275 -275
- data/samples/caret/caret.rb +296 -296
- data/samples/caret/mondrian.xpm +44 -44
- data/samples/controls/controls.rb +1140 -1140
- data/samples/controls/get_item_sample.rb +87 -87
- data/samples/controls/icons/choice.xpm +27 -27
- data/samples/controls/icons/combo.xpm +27 -27
- data/samples/controls/icons/gauge.xpm +27 -27
- data/samples/controls/icons/list.xpm +27 -27
- data/samples/controls/icons/radio.xpm +27 -27
- data/samples/controls/icons/stattext.xpm +24 -24
- data/samples/controls/icons/text.xpm +27 -27
- data/samples/controls/mondrian.xpm +44 -44
- data/samples/dialogs/dialogs.rb +724 -724
- data/samples/dialogs/tips.txt +18 -18
- data/samples/etc/activation.rb +108 -108
- data/samples/etc/choice.rb +72 -72
- data/samples/etc/miniframe.rb +84 -84
- data/samples/etc/sash.rb +135 -135
- data/samples/etc/scrollwin.rb +116 -116
- data/samples/etc/system_settings.rb +258 -258
- data/samples/etc/wizard.rb +81 -81
- data/samples/event/event.rb +184 -0
- data/samples/images/images.rb +48 -48
- data/samples/listbook/listbook.rb +183 -183
- data/samples/listbook/listbook.xrc +370 -370
- data/samples/mdi/mdi.rb +87 -87
- data/samples/minimal/minimal.rb +83 -95
- data/samples/minimal/mondrian.png +0 -0
- data/samples/minimal/nothing.rb +46 -46
- data/samples/minimal/text.rb +35 -35
- data/samples/text/scintilla.rb +22 -28
- data/samples/text/textctrl.rb +124 -124
- data/samples/text/unicode.rb +238 -238
- data/samples/text/utf8.txt +14 -14
- data/samples/treectrl/treectrl.rb +1210 -1210
- data/samples/xrc/samples.xrc +46 -46
- data/samples/xrc/xrc_sample.rb +107 -107
- metadata +13 -5
- data/samples/minimal/mondrian.ico +0 -0
- data/samples/minimal/mondrian.xpm +0 -44
data/samples/xrc/samples.xrc
CHANGED
@@ -1,46 +1,46 @@
|
|
1
|
-
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
-
<resource xmlns="http://www.wxwindows.org/wxxrc">
|
3
|
-
<object class="wxDialog" name="SAMPLE_DIALOG">
|
4
|
-
<style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU</style>
|
5
|
-
<size>400,300</size>
|
6
|
-
<title>Sample</title>
|
7
|
-
<centered>1</centered>
|
8
|
-
<object class="wxBoxSizer">
|
9
|
-
<orient>wxHORIZONTAL</orient>
|
10
|
-
<object class="sizeritem">
|
11
|
-
<flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
12
|
-
<border>5</border>
|
13
|
-
<object class="wxBoxSizer">
|
14
|
-
<orient>wxVERTICAL</orient>
|
15
|
-
<object class="sizeritem">
|
16
|
-
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
17
|
-
<border>5</border>
|
18
|
-
<object class="wxButton" name="wxID_OK">
|
19
|
-
<size>-1,-1</size>
|
20
|
-
<style></style>
|
21
|
-
<label>Ok</label>
|
22
|
-
</object>
|
23
|
-
</object>
|
24
|
-
<object class="sizeritem">
|
25
|
-
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
26
|
-
<border>5</border>
|
27
|
-
<object class="wxButton" name="wxID_CANCEL">
|
28
|
-
<size>-1,-1</size>
|
29
|
-
<style></style>
|
30
|
-
<label>Cancel</label>
|
31
|
-
</object>
|
32
|
-
</object>
|
33
|
-
<object class="sizeritem">
|
34
|
-
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
35
|
-
<border>5</border>
|
36
|
-
<object class="wxButton" name="SAMPLE_MESSAGE">
|
37
|
-
<size>-1,-1</size>
|
38
|
-
<style></style>
|
39
|
-
<label>Message...</label>
|
40
|
-
</object>
|
41
|
-
</object>
|
42
|
-
</object>
|
43
|
-
</object>
|
44
|
-
</object>
|
45
|
-
</object>
|
46
|
-
</resource>
|
1
|
+
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2
|
+
<resource xmlns="http://www.wxwindows.org/wxxrc">
|
3
|
+
<object class="wxDialog" name="SAMPLE_DIALOG">
|
4
|
+
<style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU</style>
|
5
|
+
<size>400,300</size>
|
6
|
+
<title>Sample</title>
|
7
|
+
<centered>1</centered>
|
8
|
+
<object class="wxBoxSizer">
|
9
|
+
<orient>wxHORIZONTAL</orient>
|
10
|
+
<object class="sizeritem">
|
11
|
+
<flag>wxALIGN_CENTER_VERTICAL|wxALL</flag>
|
12
|
+
<border>5</border>
|
13
|
+
<object class="wxBoxSizer">
|
14
|
+
<orient>wxVERTICAL</orient>
|
15
|
+
<object class="sizeritem">
|
16
|
+
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
17
|
+
<border>5</border>
|
18
|
+
<object class="wxButton" name="wxID_OK">
|
19
|
+
<size>-1,-1</size>
|
20
|
+
<style></style>
|
21
|
+
<label>Ok</label>
|
22
|
+
</object>
|
23
|
+
</object>
|
24
|
+
<object class="sizeritem">
|
25
|
+
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
26
|
+
<border>5</border>
|
27
|
+
<object class="wxButton" name="wxID_CANCEL">
|
28
|
+
<size>-1,-1</size>
|
29
|
+
<style></style>
|
30
|
+
<label>Cancel</label>
|
31
|
+
</object>
|
32
|
+
</object>
|
33
|
+
<object class="sizeritem">
|
34
|
+
<flag>wxALIGN_CENTER_HORIZONTAL|wxALL</flag>
|
35
|
+
<border>5</border>
|
36
|
+
<object class="wxButton" name="SAMPLE_MESSAGE">
|
37
|
+
<size>-1,-1</size>
|
38
|
+
<style></style>
|
39
|
+
<label>Message...</label>
|
40
|
+
</object>
|
41
|
+
</object>
|
42
|
+
</object>
|
43
|
+
</object>
|
44
|
+
</object>
|
45
|
+
</object>
|
46
|
+
</resource>
|
data/samples/xrc/xrc_sample.rb
CHANGED
@@ -1,107 +1,107 @@
|
|
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
|
-
|
16
|
-
# Basic Frame Class. This creates the dialog window
|
17
|
-
class SimpleFrame < Wx::Frame
|
18
|
-
|
19
|
-
FILE_DIALOG = 1001
|
20
|
-
|
21
|
-
def initialize()
|
22
|
-
super(nil,-1,"Sample",Wx::Point.new(50,50),Wx::Size.new(300,300))
|
23
|
-
txt = "Choose 'Open Dialog' from the menu to see a dialog made with XRC"
|
24
|
-
Wx::StaticText.new( self, -1, txt, Wx::Point.new(10, 10) )
|
25
|
-
|
26
|
-
# Create a new menu
|
27
|
-
bar = Wx::MenuBar.new()
|
28
|
-
menu = Wx::Menu.new()
|
29
|
-
menu.append(FILE_DIALOG,"Open Dialog")
|
30
|
-
menu.append(Wx::ID_EXIT,"Quit")
|
31
|
-
bar.append(menu,"File")
|
32
|
-
|
33
|
-
set_menu_bar(bar)
|
34
|
-
|
35
|
-
#
|
36
|
-
# Assign the menu events
|
37
|
-
#
|
38
|
-
evt_menu(FILE_DIALOG) do
|
39
|
-
SimpleDialog.new(self).show_modal()
|
40
|
-
end
|
41
|
-
|
42
|
-
evt_menu(Wx::ID_EXIT) do
|
43
|
-
puts Wx::get_app.get_app_name
|
44
|
-
Wx::get_app.exit_main_loop()
|
45
|
-
end
|
46
|
-
|
47
|
-
evt_close() do
|
48
|
-
Wx::get_app.exit_main_loop()
|
49
|
-
end
|
50
|
-
end
|
51
|
-
|
52
|
-
end
|
53
|
-
|
54
|
-
# Dialog subclass. The components within the dialog are loaded from XRC.
|
55
|
-
class SimpleDialog < Wx::Dialog
|
56
|
-
def initialize(parent)
|
57
|
-
# To load a layout defined in XRC into a Ruby subclass of Dialog,
|
58
|
-
# first call the empty constructor. All the details of size,
|
59
|
-
# title, position and so on are loaded from the XRC by the call to
|
60
|
-
# load_frame_subclass. Using a non-empty constructor will cause
|
61
|
-
# errors on GTK.
|
62
|
-
super()
|
63
|
-
|
64
|
-
# Load the dialog from XRC. We define $xml in on_init.
|
65
|
-
# We could use XmlResource.get() over and over again, but
|
66
|
-
# honestly, thats just too much work.
|
67
|
-
$xml.load_dialog_subclass(self,parent,'SAMPLE_DIALOG')
|
68
|
-
|
69
|
-
# Get the buttons. The xrcid method turns a string identifier
|
70
|
-
# used in an xml file into a numeric identifier as used in
|
71
|
-
# wxruby.
|
72
|
-
@ok = find_window_by_id( Wx::xrcid('wxID_OK') )
|
73
|
-
@cancel = find_window_by_id( Wx::xrcid('wxID_CANCEL') )
|
74
|
-
@message = find_window_by_id( Wx::xrcid('SAMPLE_MESSAGE') )
|
75
|
-
|
76
|
-
# Bind the buttons to event handlers
|
77
|
-
evt_button( @ok.get_id ) { end_modal(Wx::ID_OK) }
|
78
|
-
evt_button( @cancel.get_id ) { end_modal(Wx::ID_CANCEL) }
|
79
|
-
evt_button( @message.get_id ) do
|
80
|
-
Wx::message_box("And now a message from our sponsors.")
|
81
|
-
end
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
|
-
#
|
86
|
-
# Application class.
|
87
|
-
#
|
88
|
-
class XrcApp < Wx::App
|
89
|
-
|
90
|
-
def on_init
|
91
|
-
# Create a resource handler
|
92
|
-
$xml = Wx::XmlResource.get();
|
93
|
-
$xml.init_all_handlers();
|
94
|
-
|
95
|
-
|
96
|
-
# Load a resource file
|
97
|
-
xrc_file = File.join( File.dirname(__FILE__), 'samples.xrc' )
|
98
|
-
$xml.load(xrc_file)
|
99
|
-
|
100
|
-
# Show the main frame.
|
101
|
-
main = SimpleFrame.new()
|
102
|
-
main.show(true)
|
103
|
-
end
|
104
|
-
|
105
|
-
end
|
106
|
-
|
107
|
-
XrcApp.new.main_loop()
|
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
|
+
|
16
|
+
# Basic Frame Class. This creates the dialog window
|
17
|
+
class SimpleFrame < Wx::Frame
|
18
|
+
|
19
|
+
FILE_DIALOG = 1001
|
20
|
+
|
21
|
+
def initialize()
|
22
|
+
super(nil,-1,"Sample",Wx::Point.new(50,50),Wx::Size.new(300,300))
|
23
|
+
txt = "Choose 'Open Dialog' from the menu to see a dialog made with XRC"
|
24
|
+
Wx::StaticText.new( self, -1, txt, Wx::Point.new(10, 10) )
|
25
|
+
|
26
|
+
# Create a new menu
|
27
|
+
bar = Wx::MenuBar.new()
|
28
|
+
menu = Wx::Menu.new()
|
29
|
+
menu.append(FILE_DIALOG,"Open Dialog")
|
30
|
+
menu.append(Wx::ID_EXIT,"Quit")
|
31
|
+
bar.append(menu,"File")
|
32
|
+
|
33
|
+
set_menu_bar(bar)
|
34
|
+
|
35
|
+
#
|
36
|
+
# Assign the menu events
|
37
|
+
#
|
38
|
+
evt_menu(FILE_DIALOG) do
|
39
|
+
SimpleDialog.new(self).show_modal()
|
40
|
+
end
|
41
|
+
|
42
|
+
evt_menu(Wx::ID_EXIT) do
|
43
|
+
puts Wx::get_app.get_app_name
|
44
|
+
Wx::get_app.exit_main_loop()
|
45
|
+
end
|
46
|
+
|
47
|
+
evt_close() do
|
48
|
+
Wx::get_app.exit_main_loop()
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
|
54
|
+
# Dialog subclass. The components within the dialog are loaded from XRC.
|
55
|
+
class SimpleDialog < Wx::Dialog
|
56
|
+
def initialize(parent)
|
57
|
+
# To load a layout defined in XRC into a Ruby subclass of Dialog,
|
58
|
+
# first call the empty constructor. All the details of size,
|
59
|
+
# title, position and so on are loaded from the XRC by the call to
|
60
|
+
# load_frame_subclass. Using a non-empty constructor will cause
|
61
|
+
# errors on GTK.
|
62
|
+
super()
|
63
|
+
|
64
|
+
# Load the dialog from XRC. We define $xml in on_init.
|
65
|
+
# We could use XmlResource.get() over and over again, but
|
66
|
+
# honestly, thats just too much work.
|
67
|
+
$xml.load_dialog_subclass(self,parent,'SAMPLE_DIALOG')
|
68
|
+
|
69
|
+
# Get the buttons. The xrcid method turns a string identifier
|
70
|
+
# used in an xml file into a numeric identifier as used in
|
71
|
+
# wxruby.
|
72
|
+
@ok = find_window_by_id( Wx::xrcid('wxID_OK') )
|
73
|
+
@cancel = find_window_by_id( Wx::xrcid('wxID_CANCEL') )
|
74
|
+
@message = find_window_by_id( Wx::xrcid('SAMPLE_MESSAGE') )
|
75
|
+
|
76
|
+
# Bind the buttons to event handlers
|
77
|
+
evt_button( @ok.get_id ) { end_modal(Wx::ID_OK) }
|
78
|
+
evt_button( @cancel.get_id ) { end_modal(Wx::ID_CANCEL) }
|
79
|
+
evt_button( @message.get_id ) do
|
80
|
+
Wx::message_box("And now a message from our sponsors.")
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
#
|
86
|
+
# Application class.
|
87
|
+
#
|
88
|
+
class XrcApp < Wx::App
|
89
|
+
|
90
|
+
def on_init
|
91
|
+
# Create a resource handler
|
92
|
+
$xml = Wx::XmlResource.get();
|
93
|
+
$xml.init_all_handlers();
|
94
|
+
|
95
|
+
|
96
|
+
# Load a resource file
|
97
|
+
xrc_file = File.join( File.dirname(__FILE__), 'samples.xrc' )
|
98
|
+
$xml.load(xrc_file)
|
99
|
+
|
100
|
+
# Show the main frame.
|
101
|
+
main = SimpleFrame.new()
|
102
|
+
main.show(true)
|
103
|
+
end
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
XrcApp.new.main_loop()
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
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.1
|
7
|
+
date: 2007-09-10 00:00:00 -07:00
|
8
8
|
summary: Ruby interface to the wxWidgets GUI library
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -30,7 +30,13 @@ authors:
|
|
30
30
|
files:
|
31
31
|
- lib/wx
|
32
32
|
- lib/wx.rb
|
33
|
+
- lib/wxruby2.exp
|
34
|
+
- lib/wxruby2.lib
|
35
|
+
- lib/wxruby2.so
|
36
|
+
- lib/wx/accessors.rb
|
33
37
|
- lib/wx/classes
|
38
|
+
- lib/wx/keyword_ctors.rb
|
39
|
+
- lib/wx/keyword_defs.rb
|
34
40
|
- lib/wx/version.rb
|
35
41
|
- lib/wx/classes/app.rb
|
36
42
|
- lib/wx/classes/artprovider.rb
|
@@ -55,6 +61,8 @@ files:
|
|
55
61
|
- lib/wx/classes/previewframe.rb
|
56
62
|
- lib/wx/classes/rect.rb
|
57
63
|
- lib/wx/classes/size.rb
|
64
|
+
- lib/wx/classes/styledtextctrl.rb
|
65
|
+
- lib/wx/classes/textctrl.rb
|
58
66
|
- lib/wx/classes/texturlevent.rb
|
59
67
|
- lib/wx/classes/timer.rb
|
60
68
|
- lib/wx/classes/window.rb
|
@@ -66,6 +74,7 @@ files:
|
|
66
74
|
- samples/controls
|
67
75
|
- samples/dialogs
|
68
76
|
- samples/etc
|
77
|
+
- samples/event
|
69
78
|
- samples/grid
|
70
79
|
- samples/html
|
71
80
|
- samples/images
|
@@ -216,6 +225,7 @@ files:
|
|
216
225
|
- samples/etc/scrollwin.rb
|
217
226
|
- samples/etc/system_settings.rb
|
218
227
|
- samples/etc/wizard.rb
|
228
|
+
- samples/event/event.rb
|
219
229
|
- samples/grid/grid.rb
|
220
230
|
- samples/html/html.rb
|
221
231
|
- samples/images/images.rb
|
@@ -225,8 +235,7 @@ files:
|
|
225
235
|
- samples/listbook/listbook.xrc
|
226
236
|
- samples/mdi/mdi.rb
|
227
237
|
- samples/minimal/minimal.rb
|
228
|
-
- samples/minimal/mondrian.
|
229
|
-
- samples/minimal/mondrian.xpm
|
238
|
+
- samples/minimal/mondrian.png
|
230
239
|
- samples/minimal/nothing.rb
|
231
240
|
- samples/minimal/text.rb
|
232
241
|
- samples/printing/mondrian.ico
|
@@ -246,7 +255,6 @@ files:
|
|
246
255
|
- samples/treectrl/treectrl.rb
|
247
256
|
- samples/xrc/samples.xrc
|
248
257
|
- samples/xrc/xrc_sample.rb
|
249
|
-
- lib/wxruby2.so
|
250
258
|
test_files: []
|
251
259
|
|
252
260
|
rdoc_options: []
|
Binary file
|
@@ -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
|
-
};
|