visualruby 1.0.19 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Splash.rb +40 -0
- data/bin/editor/VR_Document.rb +81 -74
- data/bin/editor/VR_TabSearch.rb +5 -7
- data/bin/editor/VR_Tabs.rb +57 -36
- data/bin/editor/VR_TextShell.rb +12 -34
- data/bin/editor/VR_TextViewCommon.rb +9 -28
- data/bin/main/NewProjectGUI.rb +14 -13
- data/bin/main/OpenProject.rb +69 -0
- data/bin/main/ProjectChooserView.rb +3 -2
- data/bin/main/ProjectTree.rb +25 -0
- data/bin/main/RubygemsAPI.rb +15 -11
- data/bin/main/VR_ENV.rb +38 -60
- data/bin/main/VR_ENV_GLOBAL.rb +45 -44
- data/bin/main/VR_File_Tree.rb +29 -21
- data/bin/main/VR_Local_Gem_Tree.rb +4 -19
- data/bin/main/VR_Main.rb +128 -144
- data/bin/main/VR_Remote_Gem_Tree.rb +6 -19
- data/bin/main/glade/NewProjectGUI.glade +94 -98
- data/bin/main/glade/OpenProject.glade +259 -0
- data/bin/main/glade/RubygemsAPI.glade +98 -62
- data/bin/main/glade/VR_ENV.glade +46 -55
- data/bin/main/glade/VR_ENV_GLOBAL.glade +251 -180
- data/bin/main/glade/VR_File_Tree.glade +25 -16
- data/bin/main/glade/VR_Local_Gem_Tree.glade +16 -8
- data/bin/main/glade/VR_Main.glade +410 -449
- data/bin/main/glade/VR_Remote_Gem_Tree.glade +33 -31
- data/bin/tools/VR_Tools.rb +60 -46
- data/{visualruby_examples → examples}/active_record/active_record.rb +16 -10
- data/{visualruby_examples → examples}/active_record/bin/ChoosePerson.rb +7 -0
- data/examples/active_record/bin/Person.rb +21 -0
- data/examples/active_record/bin/glade/ChoosePerson.glade +89 -0
- data/examples/active_record/bin/glade/Person.glade +197 -0
- data/{visualruby_examples → examples}/active_record/db/development.sqlite3 +0 -0
- data/{visualruby_examples → examples}/active_record2/bin/CompanyGUI.rb +7 -7
- data/{visualruby_examples → examples}/active_record2/bin/Employee.rb +0 -0
- data/{visualruby_examples → examples}/active_record2/bin/Employer.rb +0 -0
- data/{visualruby_examples → examples}/active_record2/bin/Paycheck.rb +0 -0
- data/examples/active_record2/bin/glade/CompanyGUI.glade +149 -0
- data/examples/active_record2/bin/glade/Employee.glade +126 -0
- data/{visualruby_examples → examples}/active_record2/bin/glade/Employer.glade +0 -0
- data/{visualruby_examples → examples}/active_record2/bin/glade/Paycheck.glade +0 -0
- data/{visualruby_examples → examples}/active_record2/db/development.sqlite3 +0 -0
- data/{visualruby_examples → examples}/active_record2/main.rb +15 -9
- data/examples/alert_box/bin/AlertBoxDemo.rb +80 -0
- data/examples/alert_box/bin/glade/AlertBoxDemo.glade +234 -0
- data/examples/alert_box/main.rb +12 -0
- data/{visualruby_examples → examples}/all_widgets/bin/AllWidgets.rb +18 -10
- data/{visualruby_examples → examples}/all_widgets/bin/glade/AllWidgets.glade +52 -16
- data/{visualruby_examples → examples}/all_widgets/bin/splash.png +0 -0
- data/examples/all_widgets/main.rb +12 -0
- data/{visualruby_examples → examples}/calculator/bin/Calculator.rb +23 -22
- data/{visualruby_examples → examples}/calculator/bin/glade/Calculator.glade +81 -51
- data/examples/calculator/main.rb +13 -0
- data/examples/child_window/bin/ChildWindowDemo.rb +52 -0
- data/examples/child_window/bin/ModalWindow.rb +9 -0
- data/examples/child_window/bin/ModelessWindow.rb +9 -0
- data/examples/child_window/bin/MyChildClass.rb +21 -0
- data/examples/child_window/bin/glade/ChildWindowDemo.glade +87 -0
- data/examples/child_window/bin/glade/ModalWindow.glade +61 -0
- data/examples/child_window/bin/glade/ModelessWindow.glade +61 -0
- data/{visualruby_examples → examples}/child_window/bin/glade/MyChildClass.glade +14 -12
- data/examples/child_window/main.rb +12 -0
- data/{visualruby_examples → examples}/drag_drop/bin/DragDropDemo.rb +9 -10
- data/examples/drag_drop/bin/glade/DragDropDemo.glade +161 -0
- data/{visualruby_examples → examples}/drag_drop/img/folder.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/glade.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/gtk-edit.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/obj.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/png.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/rb.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/ruby.png +0 -0
- data/{visualruby_examples → examples}/drag_drop/img/unknown.png +0 -0
- data/examples/drag_drop/main.rb +11 -0
- data/examples/filetreeview/bin/ProjectTree.rb +32 -0
- data/examples/filetreeview/bin/ProjectTreeGUI.rb +28 -0
- data/examples/filetreeview/bin/glade/ProjectTreeGUI.glade +156 -0
- data/examples/filetreeview/main.rb +13 -0
- data/{visualruby_examples → examples}/listview/bin/SongListView.rb +24 -20
- data/{visualruby_examples → examples}/listview/bin/SongListViewGUI.rb +12 -11
- data/{visualruby_examples → examples}/listview/bin/audio-x-generic.png +0 -0
- data/examples/listview/bin/glade/SongListViewGUI.glade +195 -0
- data/examples/listview/main.rb +10 -0
- data/examples/listview_objects/bin/DataObject.rb +53 -0
- data/{visualruby_examples → examples}/listview_objects/bin/ListViewObjects.rb +7 -4
- data/examples/listview_objects/bin/ListViewObjectsGUI.rb +26 -0
- data/examples/listview_objects/bin/glade/DataObject.glade +196 -0
- data/examples/listview_objects/bin/glade/ListViewObjectsGUI.glade +87 -0
- data/examples/listview_objects/main.rb +12 -0
- data/examples/settings_file/bin/MainApp.rb +38 -0
- data/examples/settings_file/bin/SavableSettings.rb +39 -0
- data/examples/settings_file/bin/glade/MainApp.glade +87 -0
- data/examples/settings_file/bin/glade/SavableSettings.glade +162 -0
- data/examples/settings_file/main.rb +14 -0
- data/examples/settings_file/settings.yaml +15 -0
- data/examples/simple_ruby_gui/bin/DataObjectGUI.rb +21 -0
- data/examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade +195 -0
- data/examples/simple_ruby_gui/main.rb +16 -0
- data/{visualruby_examples → examples}/treeview/bin/MyClass.rb +1 -5
- data/examples/treeview/bin/glade/MyClass.glade +24 -0
- data/examples/treeview/main.rb +13 -0
- data/skeleton/document/New.glade +3 -4
- data/skeleton/document/NewWindow.rb +1 -1
- data/skeleton/project/bin/MyClass.rb +2 -2
- data/skeleton/project/bin/glade/MyClass.glade +12 -26
- data/skeleton/project/main.rb +4 -8
- data/vr +41 -37
- data/vrlib/lib/Alert.rb +67 -0
- data/vrlib/lib/DragDrop.rb +90 -0
- data/vrlib/lib/GladeGUI.rb +433 -0
- data/vrlib/lib/IconHash.rb +18 -0
- data/vrlib/lib/SavableClass.rb +56 -0
- data/vrlib/lib/SimpleComboBoxEntry.rb +8 -0
- data/vrlib/lib/glade/Alert.glade +119 -0
- data/vrlib/lib/treeview/FileTreeView.rb +113 -0
- data/vrlib/lib/treeview/IterMethods.rb +82 -0
- data/vrlib/lib/treeview/ListView.rb +85 -0
- data/vrlib/lib/treeview/TreeView.rb +43 -0
- data/vrlib/lib/treeview/ViewCommon.rb +370 -0
- data/vrlib/lib/treeview/columns/CalendarCol.rb +89 -0
- data/vrlib/lib/treeview/columns/CellRendererCombo.rb +66 -0
- data/vrlib/lib/treeview/columns/CellRendererDate.rb +45 -0
- data/vrlib/lib/treeview/columns/CellRendererObject.rb +57 -0
- data/vrlib/lib/treeview/columns/CellRendererPhone.rb +45 -0
- data/vrlib/lib/treeview/columns/CellRendererPixbuf.rb +16 -0
- data/vrlib/lib/treeview/columns/CellRendererProgress.rb +17 -0
- data/vrlib/lib/treeview/columns/CellRendererSpin.rb +37 -0
- data/vrlib/lib/treeview/columns/CellRendererText.rb +38 -0
- data/vrlib/lib/treeview/columns/CellRendererToggle.rb +47 -0
- data/vrlib/lib/treeview/columns/ComboCol.rb +43 -0
- data/vrlib/lib/treeview/columns/CurrencyCol.rb +23 -0
- data/vrlib/lib/treeview/columns/DateCol.rb +20 -0
- data/vrlib/lib/treeview/columns/ImageCol.rb +27 -0
- data/vrlib/lib/treeview/columns/ProgressCol.rb +27 -0
- data/vrlib/lib/treeview/columns/SpinCol.rb +11 -0
- data/vrlib/lib/treeview/columns/TextCol.rb +65 -0
- data/vrlib/lib/treeview/columns/TreeViewColumn.rb +93 -0
- data/{bin/main/glade/ProjectChooserGUI.glade → vrlib/lib/treeview/columns/glade/CalendarCol.glade} +71 -63
- data/{bin/main/glade/Splash.glade → vrlib/lib/treeview/columns/glade/ImageCol.glade} +5 -6
- data/vrlib/lib/treeview/columns/glade/TextCol.glade +82 -0
- data/vrlib/rdoc_replace.yaml +77 -0
- data/vrlib/vrlib.rb +7 -0
- metadata +163 -136
- data/bin/editor/glade/VR_Document.glade +0 -160
- data/bin/main/ProjectChooserGUI.rb +0 -41
- data/bin/main/Splash.rb +0 -22
- data/visualruby_examples/active_record/.vr_settings.yaml +0 -47
- data/visualruby_examples/active_record/bin/Person.rb +0 -13
- data/visualruby_examples/active_record/bin/glade/ChoosePerson.glade +0 -61
- data/visualruby_examples/active_record/bin/glade/Person.glade +0 -148
- data/visualruby_examples/active_record2/.vr_settings.yaml +0 -16
- data/visualruby_examples/active_record2/bin/glade/CompanyGUI.glade +0 -167
- data/visualruby_examples/active_record2/bin/glade/Employee.glade +0 -123
- data/visualruby_examples/all_widgets/.vr_settings.yaml +0 -13
- data/visualruby_examples/all_widgets/main.rb +0 -14
- data/visualruby_examples/calculator/.vr_settings.yaml +0 -11
- data/visualruby_examples/calculator/main.rb +0 -13
- data/visualruby_examples/child_window/.vr_settings.yaml +0 -16
- data/visualruby_examples/child_window/bin/ChildWindowDemo.rb +0 -39
- data/visualruby_examples/child_window/bin/MyChildClass.rb +0 -40
- data/visualruby_examples/child_window/bin/glade/ChildWindowDemo.glade +0 -101
- data/visualruby_examples/child_window/main.rb +0 -13
- data/visualruby_examples/drag_drop/.vr_settings.yaml +0 -12
- data/visualruby_examples/drag_drop/bin/glade/DragDropDemo.glade +0 -143
- data/visualruby_examples/drag_drop/main.rb +0 -14
- data/visualruby_examples/listview/.vr_settings.yaml +0 -12
- data/visualruby_examples/listview/bin/glade/SongListViewGUI.glade +0 -220
- data/visualruby_examples/listview/main.rb +0 -19
- data/visualruby_examples/listview_objects/.vr_settings.yaml +0 -16
- data/visualruby_examples/listview_objects/bin/DataObject.rb +0 -32
- data/visualruby_examples/listview_objects/bin/DataObjectGUI.rb +0 -41
- data/visualruby_examples/listview_objects/bin/ListViewObjectsGUI.rb +0 -18
- data/visualruby_examples/listview_objects/bin/glade/DataObject.glade +0 -198
- data/visualruby_examples/listview_objects/bin/glade/ListViewObjectsGUI.glade +0 -102
- data/visualruby_examples/listview_objects/main.rb +0 -13
- data/visualruby_examples/simple_ruby_gui/.vr_settings.yaml +0 -16
- data/visualruby_examples/simple_ruby_gui/bin/DataObjectGUI.rb +0 -20
- data/visualruby_examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade +0 -163
- data/visualruby_examples/simple_ruby_gui/main.rb +0 -16
- data/visualruby_examples/treeview/.vr_settings.yaml +0 -12
- data/visualruby_examples/treeview/bin/glade/MyClass.glade +0 -48
- data/visualruby_examples/treeview/main.rb +0 -14
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: visualruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Cunningham
|
@@ -9,50 +9,36 @@ autorequire:
|
|
9
9
|
bindir:
|
10
10
|
- "."
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name:
|
15
|
+
name: vrlib
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 3.0.0
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: vrlib
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - '='
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 1.0.19
|
35
|
-
type: :runtime
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - '='
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: 1.0.19
|
27
|
+
version: 3.0.0
|
42
28
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
29
|
+
name: gtksourceview3
|
44
30
|
requirement: !ruby/object:Gem::Requirement
|
45
31
|
requirements:
|
46
32
|
- - ">="
|
47
33
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
34
|
+
version: 3.0.0
|
49
35
|
type: :runtime
|
50
36
|
prerelease: false
|
51
37
|
version_requirements: !ruby/object:Gem::Requirement
|
52
38
|
requirements:
|
53
39
|
- - ">="
|
54
40
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
41
|
+
version: 3.0.0
|
56
42
|
description: |-
|
57
43
|
Visualruby is a complete IDE for making graphical user interfaces with ruby. It utilizes glade interface designer to create windows, and uses a library of GUI helpers to make coding GTK+ programs easy. The IDE really helps you organize your files and your thoughts because it names your ruby files and glade files by a naming convention. You files take on the names MyClass.rb, and MyClass.glade. Then you can easily edit the GUI (glade file) by right clicking on your class's file.
|
58
44
|
It also creates .gemspec files for you, then you can right-click on the .gemspec file to install it, or upload it to rubygems.org. You can also yank your gems with one click.
|
@@ -64,125 +50,166 @@ executables:
|
|
64
50
|
extensions: []
|
65
51
|
extra_rdoc_files: []
|
66
52
|
files:
|
53
|
+
- "./Splash.rb"
|
54
|
+
- "./bin/editor/VR_Document.rb"
|
55
|
+
- "./bin/editor/VR_TabSearch.rb"
|
56
|
+
- "./bin/editor/VR_Tabs.rb"
|
57
|
+
- "./bin/editor/VR_TextShell.rb"
|
58
|
+
- "./bin/editor/VR_TextViewCommon.rb"
|
59
|
+
- "./bin/main/GemTree.rb"
|
60
|
+
- "./bin/main/NewProjectGUI.rb"
|
61
|
+
- "./bin/main/OpenProject.rb"
|
62
|
+
- "./bin/main/ProjectChooserView.rb"
|
63
|
+
- "./bin/main/ProjectTree.rb"
|
64
|
+
- "./bin/main/RubygemsAPI.rb"
|
65
|
+
- "./bin/main/VR_ENV.rb"
|
66
|
+
- "./bin/main/VR_ENV_GLOBAL.rb"
|
67
|
+
- "./bin/main/VR_File_Tree.rb"
|
68
|
+
- "./bin/main/VR_Local_Gem_Tree.rb"
|
69
|
+
- "./bin/main/VR_Main.rb"
|
70
|
+
- "./bin/main/VR_Remote_Gem_Tree.rb"
|
71
|
+
- "./bin/main/glade/NewProjectGUI.glade"
|
72
|
+
- "./bin/main/glade/OpenProject.glade"
|
73
|
+
- "./bin/main/glade/RubygemsAPI.glade"
|
74
|
+
- "./bin/main/glade/VR_ENV.glade"
|
75
|
+
- "./bin/main/glade/VR_ENV_GLOBAL.glade"
|
76
|
+
- "./bin/main/glade/VR_File_Tree.glade"
|
77
|
+
- "./bin/main/glade/VR_Local_Gem_Tree.glade"
|
78
|
+
- "./bin/main/glade/VR_Main.glade"
|
79
|
+
- "./bin/main/glade/VR_Remote_Gem_Tree.glade"
|
80
|
+
- "./bin/tools/VR_Tools.rb"
|
81
|
+
- "./examples/active_record/active_record.rb"
|
82
|
+
- "./examples/active_record/bin/ChoosePerson.rb"
|
83
|
+
- "./examples/active_record/bin/Person.rb"
|
84
|
+
- "./examples/active_record/bin/glade/ChoosePerson.glade"
|
85
|
+
- "./examples/active_record/bin/glade/Person.glade"
|
86
|
+
- "./examples/active_record/db/development.sqlite3"
|
87
|
+
- "./examples/active_record2/bin/CompanyGUI.rb"
|
88
|
+
- "./examples/active_record2/bin/Employee.rb"
|
89
|
+
- "./examples/active_record2/bin/Employer.rb"
|
90
|
+
- "./examples/active_record2/bin/Paycheck.rb"
|
91
|
+
- "./examples/active_record2/bin/glade/CompanyGUI.glade"
|
92
|
+
- "./examples/active_record2/bin/glade/Employee.glade"
|
93
|
+
- "./examples/active_record2/bin/glade/Employer.glade"
|
94
|
+
- "./examples/active_record2/bin/glade/Paycheck.glade"
|
95
|
+
- "./examples/active_record2/db/development.sqlite3"
|
96
|
+
- "./examples/active_record2/main.rb"
|
97
|
+
- "./examples/alert_box/bin/AlertBoxDemo.rb"
|
98
|
+
- "./examples/alert_box/bin/glade/AlertBoxDemo.glade"
|
99
|
+
- "./examples/alert_box/main.rb"
|
100
|
+
- "./examples/all_widgets/bin/AllWidgets.rb"
|
101
|
+
- "./examples/all_widgets/bin/glade/AllWidgets.glade"
|
102
|
+
- "./examples/all_widgets/bin/splash.png"
|
103
|
+
- "./examples/all_widgets/main.rb"
|
104
|
+
- "./examples/calculator/bin/Calculator.rb"
|
105
|
+
- "./examples/calculator/bin/glade/Calculator.glade"
|
106
|
+
- "./examples/calculator/main.rb"
|
107
|
+
- "./examples/child_window/bin/ChildWindowDemo.rb"
|
108
|
+
- "./examples/child_window/bin/ModalWindow.rb"
|
109
|
+
- "./examples/child_window/bin/ModelessWindow.rb"
|
110
|
+
- "./examples/child_window/bin/MyChildClass.rb"
|
111
|
+
- "./examples/child_window/bin/glade/ChildWindowDemo.glade"
|
112
|
+
- "./examples/child_window/bin/glade/ModalWindow.glade"
|
113
|
+
- "./examples/child_window/bin/glade/ModelessWindow.glade"
|
114
|
+
- "./examples/child_window/bin/glade/MyChildClass.glade"
|
115
|
+
- "./examples/child_window/main.rb"
|
116
|
+
- "./examples/drag_drop/bin/DragDropDemo.rb"
|
117
|
+
- "./examples/drag_drop/bin/glade/DragDropDemo.glade"
|
118
|
+
- "./examples/drag_drop/img/folder.png"
|
119
|
+
- "./examples/drag_drop/img/glade.png"
|
120
|
+
- "./examples/drag_drop/img/gtk-edit.png"
|
121
|
+
- "./examples/drag_drop/img/obj.png"
|
122
|
+
- "./examples/drag_drop/img/png.png"
|
123
|
+
- "./examples/drag_drop/img/rb.png"
|
124
|
+
- "./examples/drag_drop/img/ruby.png"
|
125
|
+
- "./examples/drag_drop/img/unknown.png"
|
126
|
+
- "./examples/drag_drop/main.rb"
|
127
|
+
- "./examples/filetreeview/bin/ProjectTree.rb"
|
128
|
+
- "./examples/filetreeview/bin/ProjectTreeGUI.rb"
|
129
|
+
- "./examples/filetreeview/bin/glade/ProjectTreeGUI.glade"
|
130
|
+
- "./examples/filetreeview/main.rb"
|
131
|
+
- "./examples/listview/bin/SongListView.rb"
|
132
|
+
- "./examples/listview/bin/SongListViewGUI.rb"
|
133
|
+
- "./examples/listview/bin/audio-x-generic.png"
|
134
|
+
- "./examples/listview/bin/glade/SongListViewGUI.glade"
|
135
|
+
- "./examples/listview/main.rb"
|
136
|
+
- "./examples/listview_objects/bin/DataObject.rb"
|
137
|
+
- "./examples/listview_objects/bin/ListViewObjects.rb"
|
138
|
+
- "./examples/listview_objects/bin/ListViewObjectsGUI.rb"
|
139
|
+
- "./examples/listview_objects/bin/glade/DataObject.glade"
|
140
|
+
- "./examples/listview_objects/bin/glade/ListViewObjectsGUI.glade"
|
141
|
+
- "./examples/listview_objects/main.rb"
|
142
|
+
- "./examples/settings_file/bin/MainApp.rb"
|
143
|
+
- "./examples/settings_file/bin/SavableSettings.rb"
|
144
|
+
- "./examples/settings_file/bin/glade/MainApp.glade"
|
145
|
+
- "./examples/settings_file/bin/glade/SavableSettings.glade"
|
146
|
+
- "./examples/settings_file/main.rb"
|
147
|
+
- "./examples/settings_file/settings.yaml"
|
148
|
+
- "./examples/simple_ruby_gui/bin/DataObjectGUI.rb"
|
149
|
+
- "./examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade"
|
150
|
+
- "./examples/simple_ruby_gui/main.rb"
|
151
|
+
- "./examples/treeview/bin/MyClass.rb"
|
152
|
+
- "./examples/treeview/bin/glade/MyClass.glade"
|
153
|
+
- "./examples/treeview/main.rb"
|
154
|
+
- "./img/close.png"
|
155
|
+
- "./img/folder.png"
|
156
|
+
- "./img/glade.png"
|
157
|
+
- "./img/gtk-edit.png"
|
158
|
+
- "./img/obj.png"
|
159
|
+
- "./img/png.png"
|
160
|
+
- "./img/rb.png"
|
161
|
+
- "./img/ruby.png"
|
162
|
+
- "./img/splash.png"
|
163
|
+
- "./img/unknown.png"
|
164
|
+
- "./skeleton/document/New.glade"
|
165
|
+
- "./skeleton/document/NewWindow.rb"
|
166
|
+
- "./skeleton/project/bin/MyClass.rb"
|
167
|
+
- "./skeleton/project/bin/glade/MyClass.glade"
|
168
|
+
- "./skeleton/project/main.rb"
|
67
169
|
- "./vr"
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
-
|
90
|
-
-
|
91
|
-
-
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
-
|
96
|
-
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
-
|
100
|
-
-
|
101
|
-
-
|
102
|
-
-
|
103
|
-
- img/rb.png
|
104
|
-
- img/ruby.png
|
105
|
-
- img/splash.png
|
106
|
-
- img/unknown.png
|
107
|
-
- skeleton/document/New.glade
|
108
|
-
- skeleton/document/NewWindow.rb
|
109
|
-
- skeleton/project/bin/MyClass.rb
|
110
|
-
- skeleton/project/bin/glade/MyClass.glade
|
111
|
-
- skeleton/project/main.rb
|
112
|
-
- visualruby_examples/active_record/.vr_settings.yaml
|
113
|
-
- visualruby_examples/active_record/active_record.rb
|
114
|
-
- visualruby_examples/active_record/bin/ChoosePerson.rb
|
115
|
-
- visualruby_examples/active_record/bin/Person.rb
|
116
|
-
- visualruby_examples/active_record/bin/glade/ChoosePerson.glade
|
117
|
-
- visualruby_examples/active_record/bin/glade/Person.glade
|
118
|
-
- visualruby_examples/active_record/db/development.sqlite3
|
119
|
-
- visualruby_examples/active_record2/.vr_settings.yaml
|
120
|
-
- visualruby_examples/active_record2/bin/CompanyGUI.rb
|
121
|
-
- visualruby_examples/active_record2/bin/Employee.rb
|
122
|
-
- visualruby_examples/active_record2/bin/Employer.rb
|
123
|
-
- visualruby_examples/active_record2/bin/Paycheck.rb
|
124
|
-
- visualruby_examples/active_record2/bin/glade/CompanyGUI.glade
|
125
|
-
- visualruby_examples/active_record2/bin/glade/Employee.glade
|
126
|
-
- visualruby_examples/active_record2/bin/glade/Employer.glade
|
127
|
-
- visualruby_examples/active_record2/bin/glade/Paycheck.glade
|
128
|
-
- visualruby_examples/active_record2/db/development.sqlite3
|
129
|
-
- visualruby_examples/active_record2/main.rb
|
130
|
-
- visualruby_examples/all_widgets/.vr_settings.yaml
|
131
|
-
- visualruby_examples/all_widgets/bin/AllWidgets.rb
|
132
|
-
- visualruby_examples/all_widgets/bin/glade/AllWidgets.glade
|
133
|
-
- visualruby_examples/all_widgets/bin/splash.png
|
134
|
-
- visualruby_examples/all_widgets/main.rb
|
135
|
-
- visualruby_examples/calculator/.vr_settings.yaml
|
136
|
-
- visualruby_examples/calculator/bin/Calculator.rb
|
137
|
-
- visualruby_examples/calculator/bin/glade/Calculator.glade
|
138
|
-
- visualruby_examples/calculator/main.rb
|
139
|
-
- visualruby_examples/child_window/.vr_settings.yaml
|
140
|
-
- visualruby_examples/child_window/bin/ChildWindowDemo.rb
|
141
|
-
- visualruby_examples/child_window/bin/MyChildClass.rb
|
142
|
-
- visualruby_examples/child_window/bin/glade/ChildWindowDemo.glade
|
143
|
-
- visualruby_examples/child_window/bin/glade/MyChildClass.glade
|
144
|
-
- visualruby_examples/child_window/main.rb
|
145
|
-
- visualruby_examples/drag_drop/.vr_settings.yaml
|
146
|
-
- visualruby_examples/drag_drop/bin/DragDropDemo.rb
|
147
|
-
- visualruby_examples/drag_drop/bin/glade/DragDropDemo.glade
|
148
|
-
- visualruby_examples/drag_drop/img/folder.png
|
149
|
-
- visualruby_examples/drag_drop/img/glade.png
|
150
|
-
- visualruby_examples/drag_drop/img/gtk-edit.png
|
151
|
-
- visualruby_examples/drag_drop/img/obj.png
|
152
|
-
- visualruby_examples/drag_drop/img/png.png
|
153
|
-
- visualruby_examples/drag_drop/img/rb.png
|
154
|
-
- visualruby_examples/drag_drop/img/ruby.png
|
155
|
-
- visualruby_examples/drag_drop/img/unknown.png
|
156
|
-
- visualruby_examples/drag_drop/main.rb
|
157
|
-
- visualruby_examples/listview/.vr_settings.yaml
|
158
|
-
- visualruby_examples/listview/bin/SongListView.rb
|
159
|
-
- visualruby_examples/listview/bin/SongListViewGUI.rb
|
160
|
-
- visualruby_examples/listview/bin/audio-x-generic.png
|
161
|
-
- visualruby_examples/listview/bin/glade/SongListViewGUI.glade
|
162
|
-
- visualruby_examples/listview/main.rb
|
163
|
-
- visualruby_examples/listview_objects/.vr_settings.yaml
|
164
|
-
- visualruby_examples/listview_objects/bin/DataObject.rb
|
165
|
-
- visualruby_examples/listview_objects/bin/DataObjectGUI.rb
|
166
|
-
- visualruby_examples/listview_objects/bin/ListViewObjects.rb
|
167
|
-
- visualruby_examples/listview_objects/bin/ListViewObjectsGUI.rb
|
168
|
-
- visualruby_examples/listview_objects/bin/glade/DataObject.glade
|
169
|
-
- visualruby_examples/listview_objects/bin/glade/ListViewObjectsGUI.glade
|
170
|
-
- visualruby_examples/listview_objects/main.rb
|
171
|
-
- visualruby_examples/simple_ruby_gui/.vr_settings.yaml
|
172
|
-
- visualruby_examples/simple_ruby_gui/bin/DataObjectGUI.rb
|
173
|
-
- visualruby_examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade
|
174
|
-
- visualruby_examples/simple_ruby_gui/main.rb
|
175
|
-
- visualruby_examples/treeview/.vr_settings.yaml
|
176
|
-
- visualruby_examples/treeview/bin/MyClass.rb
|
177
|
-
- visualruby_examples/treeview/bin/glade/MyClass.glade
|
178
|
-
- visualruby_examples/treeview/main.rb
|
170
|
+
- "./vrlib/lib/Alert.rb"
|
171
|
+
- "./vrlib/lib/DragDrop.rb"
|
172
|
+
- "./vrlib/lib/GladeGUI.rb"
|
173
|
+
- "./vrlib/lib/IconHash.rb"
|
174
|
+
- "./vrlib/lib/SavableClass.rb"
|
175
|
+
- "./vrlib/lib/SimpleComboBoxEntry.rb"
|
176
|
+
- "./vrlib/lib/glade/Alert.glade"
|
177
|
+
- "./vrlib/lib/treeview/FileTreeView.rb"
|
178
|
+
- "./vrlib/lib/treeview/IterMethods.rb"
|
179
|
+
- "./vrlib/lib/treeview/ListView.rb"
|
180
|
+
- "./vrlib/lib/treeview/TreeView.rb"
|
181
|
+
- "./vrlib/lib/treeview/ViewCommon.rb"
|
182
|
+
- "./vrlib/lib/treeview/columns/CalendarCol.rb"
|
183
|
+
- "./vrlib/lib/treeview/columns/CellRendererCombo.rb"
|
184
|
+
- "./vrlib/lib/treeview/columns/CellRendererDate.rb"
|
185
|
+
- "./vrlib/lib/treeview/columns/CellRendererObject.rb"
|
186
|
+
- "./vrlib/lib/treeview/columns/CellRendererPhone.rb"
|
187
|
+
- "./vrlib/lib/treeview/columns/CellRendererPixbuf.rb"
|
188
|
+
- "./vrlib/lib/treeview/columns/CellRendererProgress.rb"
|
189
|
+
- "./vrlib/lib/treeview/columns/CellRendererSpin.rb"
|
190
|
+
- "./vrlib/lib/treeview/columns/CellRendererText.rb"
|
191
|
+
- "./vrlib/lib/treeview/columns/CellRendererToggle.rb"
|
192
|
+
- "./vrlib/lib/treeview/columns/ComboCol.rb"
|
193
|
+
- "./vrlib/lib/treeview/columns/CurrencyCol.rb"
|
194
|
+
- "./vrlib/lib/treeview/columns/DateCol.rb"
|
195
|
+
- "./vrlib/lib/treeview/columns/ImageCol.rb"
|
196
|
+
- "./vrlib/lib/treeview/columns/ProgressCol.rb"
|
197
|
+
- "./vrlib/lib/treeview/columns/SpinCol.rb"
|
198
|
+
- "./vrlib/lib/treeview/columns/TextCol.rb"
|
199
|
+
- "./vrlib/lib/treeview/columns/TreeViewColumn.rb"
|
200
|
+
- "./vrlib/lib/treeview/columns/glade/CalendarCol.glade"
|
201
|
+
- "./vrlib/lib/treeview/columns/glade/ImageCol.glade"
|
202
|
+
- "./vrlib/lib/treeview/columns/glade/TextCol.glade"
|
203
|
+
- "./vrlib/rdoc_replace.yaml"
|
204
|
+
- "./vrlib/vrlib.rb"
|
179
205
|
homepage: http://www.visualruby.net/
|
180
|
-
licenses:
|
206
|
+
licenses:
|
207
|
+
- MIT
|
181
208
|
metadata: {}
|
182
209
|
post_install_message:
|
183
210
|
rdoc_options: []
|
184
211
|
require_paths:
|
185
|
-
-
|
212
|
+
- vrlib
|
186
213
|
required_ruby_version: !ruby/object:Gem::Requirement
|
187
214
|
requirements:
|
188
215
|
- - ">="
|
@@ -195,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
222
|
version: '0'
|
196
223
|
requirements: []
|
197
224
|
rubyforge_project: nowarning
|
198
|
-
rubygems_version: 2.5.1
|
225
|
+
rubygems_version: 2.4.5.1
|
199
226
|
signing_key:
|
200
227
|
specification_version: 4
|
201
228
|
summary: Create IDE designed to make great GUIs with Ruby
|
@@ -1,160 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<interface>
|
3
|
-
<requires lib="gtk+" version="2.16"/>
|
4
|
-
<!-- interface-naming-policy project-wide -->
|
5
|
-
<object class="GtkDialog" id="dialogSave">
|
6
|
-
<property name="border_width">5</property>
|
7
|
-
<property name="title" translatable="yes">Save Changes?</property>
|
8
|
-
<property name="modal">True</property>
|
9
|
-
<property name="type_hint">normal</property>
|
10
|
-
<child internal-child="vbox">
|
11
|
-
<object class="GtkVBox" id="dialog-vbox1">
|
12
|
-
<property name="visible">True</property>
|
13
|
-
<property name="spacing">2</property>
|
14
|
-
<child>
|
15
|
-
<object class="GtkLabel" id="labelSave">
|
16
|
-
<property name="visible">True</property>
|
17
|
-
<property name="label" translatable="yes">label</property>
|
18
|
-
</object>
|
19
|
-
<packing>
|
20
|
-
<property name="padding">20</property>
|
21
|
-
<property name="position">1</property>
|
22
|
-
</packing>
|
23
|
-
</child>
|
24
|
-
<child internal-child="action_area">
|
25
|
-
<object class="GtkHButtonBox" id="dialog-action_area1">
|
26
|
-
<property name="visible">True</property>
|
27
|
-
<property name="layout_style">end</property>
|
28
|
-
<child>
|
29
|
-
<object class="GtkButton" id="button1">
|
30
|
-
<property name="label" translatable="yes">Save Changes</property>
|
31
|
-
<property name="visible">True</property>
|
32
|
-
<property name="can_focus">True</property>
|
33
|
-
<property name="receives_default">True</property>
|
34
|
-
</object>
|
35
|
-
<packing>
|
36
|
-
<property name="expand">False</property>
|
37
|
-
<property name="fill">False</property>
|
38
|
-
<property name="position">0</property>
|
39
|
-
</packing>
|
40
|
-
</child>
|
41
|
-
<child>
|
42
|
-
<object class="GtkButton" id="button2">
|
43
|
-
<property name="label" translatable="yes">Discard Changes</property>
|
44
|
-
<property name="visible">True</property>
|
45
|
-
<property name="can_focus">True</property>
|
46
|
-
<property name="receives_default">True</property>
|
47
|
-
<property name="xalign">0.52999997138977051</property>
|
48
|
-
</object>
|
49
|
-
<packing>
|
50
|
-
<property name="expand">False</property>
|
51
|
-
<property name="fill">False</property>
|
52
|
-
<property name="position">1</property>
|
53
|
-
</packing>
|
54
|
-
</child>
|
55
|
-
<child>
|
56
|
-
<object class="GtkButton" id="button3">
|
57
|
-
<property name="label" translatable="yes">Cancel</property>
|
58
|
-
<property name="visible">True</property>
|
59
|
-
<property name="can_focus">True</property>
|
60
|
-
<property name="receives_default">True</property>
|
61
|
-
</object>
|
62
|
-
<packing>
|
63
|
-
<property name="expand">False</property>
|
64
|
-
<property name="fill">False</property>
|
65
|
-
<property name="position">2</property>
|
66
|
-
</packing>
|
67
|
-
</child>
|
68
|
-
</object>
|
69
|
-
<packing>
|
70
|
-
<property name="expand">False</property>
|
71
|
-
<property name="pack_type">end</property>
|
72
|
-
<property name="position">0</property>
|
73
|
-
</packing>
|
74
|
-
</child>
|
75
|
-
</object>
|
76
|
-
</child>
|
77
|
-
<action-widgets>
|
78
|
-
<action-widget response="2">button1</action-widget>
|
79
|
-
<action-widget response="1">button2</action-widget>
|
80
|
-
<action-widget response="0">button3</action-widget>
|
81
|
-
</action-widgets>
|
82
|
-
</object>
|
83
|
-
<object class="GtkDialog" id="dialogModifiedTime">
|
84
|
-
<property name="border_width">5</property>
|
85
|
-
<property name="title" translatable="yes">WARNING! File Altered!</property>
|
86
|
-
<property name="type_hint">normal</property>
|
87
|
-
<child internal-child="vbox">
|
88
|
-
<object class="GtkVBox" id="dialog-vbox2">
|
89
|
-
<property name="visible">True</property>
|
90
|
-
<property name="spacing">2</property>
|
91
|
-
<child>
|
92
|
-
<object class="GtkLabel" id="labelModified">
|
93
|
-
<property name="visible">True</property>
|
94
|
-
<property name="label" translatable="yes">label</property>
|
95
|
-
<property name="use_markup">True</property>
|
96
|
-
</object>
|
97
|
-
<packing>
|
98
|
-
<property name="padding">10</property>
|
99
|
-
<property name="position">1</property>
|
100
|
-
</packing>
|
101
|
-
</child>
|
102
|
-
<child internal-child="action_area">
|
103
|
-
<object class="GtkHButtonBox" id="dialog-action_area2">
|
104
|
-
<property name="visible">True</property>
|
105
|
-
<property name="layout_style">end</property>
|
106
|
-
<child>
|
107
|
-
<object class="GtkButton" id="button4">
|
108
|
-
<property name="label" translatable="yes">Keep Current Version</property>
|
109
|
-
<property name="visible">True</property>
|
110
|
-
<property name="can_focus">True</property>
|
111
|
-
<property name="receives_default">True</property>
|
112
|
-
</object>
|
113
|
-
<packing>
|
114
|
-
<property name="expand">False</property>
|
115
|
-
<property name="fill">False</property>
|
116
|
-
<property name="position">0</property>
|
117
|
-
</packing>
|
118
|
-
</child>
|
119
|
-
<child>
|
120
|
-
<object class="GtkButton" id="button5">
|
121
|
-
<property name="label" translatable="yes">Reload From Disk</property>
|
122
|
-
<property name="visible">True</property>
|
123
|
-
<property name="can_focus">True</property>
|
124
|
-
<property name="receives_default">True</property>
|
125
|
-
</object>
|
126
|
-
<packing>
|
127
|
-
<property name="expand">False</property>
|
128
|
-
<property name="fill">False</property>
|
129
|
-
<property name="position">1</property>
|
130
|
-
</packing>
|
131
|
-
</child>
|
132
|
-
<child>
|
133
|
-
<object class="GtkButton" id="button6">
|
134
|
-
<property name="label" translatable="yes">Cancel</property>
|
135
|
-
<property name="visible">True</property>
|
136
|
-
<property name="can_focus">True</property>
|
137
|
-
<property name="receives_default">True</property>
|
138
|
-
</object>
|
139
|
-
<packing>
|
140
|
-
<property name="expand">False</property>
|
141
|
-
<property name="fill">False</property>
|
142
|
-
<property name="position">2</property>
|
143
|
-
</packing>
|
144
|
-
</child>
|
145
|
-
</object>
|
146
|
-
<packing>
|
147
|
-
<property name="expand">False</property>
|
148
|
-
<property name="pack_type">end</property>
|
149
|
-
<property name="position">0</property>
|
150
|
-
</packing>
|
151
|
-
</child>
|
152
|
-
</object>
|
153
|
-
</child>
|
154
|
-
<action-widgets>
|
155
|
-
<action-widget response="2">button4</action-widget>
|
156
|
-
<action-widget response="1">button5</action-widget>
|
157
|
-
<action-widget response="0">button6</action-widget>
|
158
|
-
</action-widgets>
|
159
|
-
</object>
|
160
|
-
</interface>
|
@@ -1,41 +0,0 @@
|
|
1
|
-
|
2
|
-
class ProjectChooserGUI < ProjectChooserView
|
3
|
-
|
4
|
-
include GladeGUI
|
5
|
-
|
6
|
-
def initialize(parent)
|
7
|
-
@parent = parent
|
8
|
-
@parent.proj_path = nil
|
9
|
-
super()
|
10
|
-
load_glade(__FILE__) #don't set parent here! Want modal window.
|
11
|
-
end
|
12
|
-
|
13
|
-
def show()
|
14
|
-
@builder["scrolledwindowProjTree"].add(self)
|
15
|
-
refresh(false)
|
16
|
-
show_window()
|
17
|
-
end
|
18
|
-
|
19
|
-
def buttonOpen__clicked(*args)
|
20
|
-
return unless row = selected_rows.first
|
21
|
-
@parent.proj_path = row[:file_name]
|
22
|
-
destroy_window()
|
23
|
-
end
|
24
|
-
|
25
|
-
def buttonSelect_clicked
|
26
|
-
if folder = VR::Dialog.folder_box(@builder)
|
27
|
-
@parent.proj_path = folder
|
28
|
-
destroy_window()
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
def checkBackup_toggled
|
33
|
-
refresh(@builder["checkBackup"].active?)
|
34
|
-
end
|
35
|
-
|
36
|
-
def self__row_activated(*args)
|
37
|
-
buttonOpen__clicked
|
38
|
-
end
|
39
|
-
|
40
|
-
|
41
|
-
end
|
data/bin/main/Splash.rb
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
|
2
|
-
class Splash #(change name)
|
3
|
-
|
4
|
-
include GladeGUI
|
5
|
-
|
6
|
-
def show(parent)
|
7
|
-
load_glade(__FILE__) #loads file, glade/MyClass.glade into @builder
|
8
|
-
@builder["image1"].file = File.dirname(__FILE__) + "/../../img/splash.png"
|
9
|
-
show_window()
|
10
|
-
# wait_destroy()
|
11
|
-
end
|
12
|
-
|
13
|
-
def wait_destroy
|
14
|
-
t = Thread.new {
|
15
|
-
sleep(1.5)
|
16
|
-
destroy_window()
|
17
|
-
t.join
|
18
|
-
}
|
19
|
-
end
|
20
|
-
|
21
|
-
|
22
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
--- !ruby/object:VR_ENV
|
2
|
-
backup_path: /home/eric
|
3
|
-
browser: firefox
|
4
|
-
current_file: /home/eric/vrp/vrx/visualruby_examples/active_record/active_record.rb
|
5
|
-
font_name: Monospace 10
|
6
|
-
glade_path: glade-gtk2
|
7
|
-
height: 674
|
8
|
-
open_files:
|
9
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/bin/Person.rb
|
10
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/bin/ChoosePerson.rb
|
11
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/active_record.rb
|
12
|
-
open_folders:
|
13
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record
|
14
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/bin
|
15
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/bin/glade
|
16
|
-
- /home/eric/vrp/vrx/visualruby_examples/active_record/db
|
17
|
-
panel_pos: 453
|
18
|
-
rdoc_command_line: rdoc -x README
|
19
|
-
run_command_line: ruby active_record.rb
|
20
|
-
tab_spaces: 2
|
21
|
-
width: 934
|
22
|
-
builder: !ruby/object:Gtk::Builder {}
|
23
|
-
glade_box: !ruby/object:VR::SimpleComboBoxEntry {}
|
24
|
-
browser_box: !ruby/object:VR::SimpleComboBoxEntry {}
|
25
|
-
buttonChooseFolder: ! '...'
|
26
|
-
vbox1: !ruby/object:Gtk::VBox {}
|
27
|
-
label7: ! 'Editor Font:'
|
28
|
-
label3: ! 'Back-up Path:'
|
29
|
-
window1: !ruby/object:Gtk::Window {}
|
30
|
-
hbuttonbox1: !ruby/object:Gtk::HButtonBox {}
|
31
|
-
buttonCancel: Cancel
|
32
|
-
label8: ! 'RDoc Command Line: '
|
33
|
-
table1: !ruby/object:Gtk::Table {}
|
34
|
-
buttonTryBrowser: Try
|
35
|
-
buttonSave: Save
|
36
|
-
hboxBrowser: !ruby/object:Gtk::HBox {}
|
37
|
-
hboxGlade: !ruby/object:Gtk::HBox {}
|
38
|
-
label1: <big><big><b>Visual Ruby Settings</b></big></big>
|
39
|
-
label2: ! 'Browser Command Line:'
|
40
|
-
label4: ! 'Spaces for Each Tab in Editor:'
|
41
|
-
label5: ! 'Glade Command Line:'
|
42
|
-
label6: ! 'Command Line when "Run" is pressed:'
|
43
|
-
hbox1: !ruby/object:Gtk::HBox {}
|
44
|
-
hbox2: !ruby/object:Gtk::HBox {}
|
45
|
-
hbox3: !ruby/object:Gtk::HBox {}
|
46
|
-
hbox4: !ruby/object:Gtk::HBox {}
|
47
|
-
buttonTryGlade: Try
|