visualruby 1.0.19 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. checksums.yaml +4 -4
  2. data/Splash.rb +40 -0
  3. data/bin/editor/VR_Document.rb +81 -74
  4. data/bin/editor/VR_TabSearch.rb +5 -7
  5. data/bin/editor/VR_Tabs.rb +57 -36
  6. data/bin/editor/VR_TextShell.rb +12 -34
  7. data/bin/editor/VR_TextViewCommon.rb +9 -28
  8. data/bin/main/NewProjectGUI.rb +14 -13
  9. data/bin/main/OpenProject.rb +69 -0
  10. data/bin/main/ProjectChooserView.rb +3 -2
  11. data/bin/main/ProjectTree.rb +25 -0
  12. data/bin/main/RubygemsAPI.rb +15 -11
  13. data/bin/main/VR_ENV.rb +38 -60
  14. data/bin/main/VR_ENV_GLOBAL.rb +45 -44
  15. data/bin/main/VR_File_Tree.rb +29 -21
  16. data/bin/main/VR_Local_Gem_Tree.rb +4 -19
  17. data/bin/main/VR_Main.rb +128 -144
  18. data/bin/main/VR_Remote_Gem_Tree.rb +6 -19
  19. data/bin/main/glade/NewProjectGUI.glade +94 -98
  20. data/bin/main/glade/OpenProject.glade +259 -0
  21. data/bin/main/glade/RubygemsAPI.glade +98 -62
  22. data/bin/main/glade/VR_ENV.glade +46 -55
  23. data/bin/main/glade/VR_ENV_GLOBAL.glade +251 -180
  24. data/bin/main/glade/VR_File_Tree.glade +25 -16
  25. data/bin/main/glade/VR_Local_Gem_Tree.glade +16 -8
  26. data/bin/main/glade/VR_Main.glade +410 -449
  27. data/bin/main/glade/VR_Remote_Gem_Tree.glade +33 -31
  28. data/bin/tools/VR_Tools.rb +60 -46
  29. data/{visualruby_examples → examples}/active_record/active_record.rb +16 -10
  30. data/{visualruby_examples → examples}/active_record/bin/ChoosePerson.rb +7 -0
  31. data/examples/active_record/bin/Person.rb +21 -0
  32. data/examples/active_record/bin/glade/ChoosePerson.glade +89 -0
  33. data/examples/active_record/bin/glade/Person.glade +197 -0
  34. data/{visualruby_examples → examples}/active_record/db/development.sqlite3 +0 -0
  35. data/{visualruby_examples → examples}/active_record2/bin/CompanyGUI.rb +7 -7
  36. data/{visualruby_examples → examples}/active_record2/bin/Employee.rb +0 -0
  37. data/{visualruby_examples → examples}/active_record2/bin/Employer.rb +0 -0
  38. data/{visualruby_examples → examples}/active_record2/bin/Paycheck.rb +0 -0
  39. data/examples/active_record2/bin/glade/CompanyGUI.glade +149 -0
  40. data/examples/active_record2/bin/glade/Employee.glade +126 -0
  41. data/{visualruby_examples → examples}/active_record2/bin/glade/Employer.glade +0 -0
  42. data/{visualruby_examples → examples}/active_record2/bin/glade/Paycheck.glade +0 -0
  43. data/{visualruby_examples → examples}/active_record2/db/development.sqlite3 +0 -0
  44. data/{visualruby_examples → examples}/active_record2/main.rb +15 -9
  45. data/examples/alert_box/bin/AlertBoxDemo.rb +80 -0
  46. data/examples/alert_box/bin/glade/AlertBoxDemo.glade +234 -0
  47. data/examples/alert_box/main.rb +12 -0
  48. data/{visualruby_examples → examples}/all_widgets/bin/AllWidgets.rb +18 -10
  49. data/{visualruby_examples → examples}/all_widgets/bin/glade/AllWidgets.glade +52 -16
  50. data/{visualruby_examples → examples}/all_widgets/bin/splash.png +0 -0
  51. data/examples/all_widgets/main.rb +12 -0
  52. data/{visualruby_examples → examples}/calculator/bin/Calculator.rb +23 -22
  53. data/{visualruby_examples → examples}/calculator/bin/glade/Calculator.glade +81 -51
  54. data/examples/calculator/main.rb +13 -0
  55. data/examples/child_window/bin/ChildWindowDemo.rb +52 -0
  56. data/examples/child_window/bin/ModalWindow.rb +9 -0
  57. data/examples/child_window/bin/ModelessWindow.rb +9 -0
  58. data/examples/child_window/bin/MyChildClass.rb +21 -0
  59. data/examples/child_window/bin/glade/ChildWindowDemo.glade +87 -0
  60. data/examples/child_window/bin/glade/ModalWindow.glade +61 -0
  61. data/examples/child_window/bin/glade/ModelessWindow.glade +61 -0
  62. data/{visualruby_examples → examples}/child_window/bin/glade/MyChildClass.glade +14 -12
  63. data/examples/child_window/main.rb +12 -0
  64. data/{visualruby_examples → examples}/drag_drop/bin/DragDropDemo.rb +9 -10
  65. data/examples/drag_drop/bin/glade/DragDropDemo.glade +161 -0
  66. data/{visualruby_examples → examples}/drag_drop/img/folder.png +0 -0
  67. data/{visualruby_examples → examples}/drag_drop/img/glade.png +0 -0
  68. data/{visualruby_examples → examples}/drag_drop/img/gtk-edit.png +0 -0
  69. data/{visualruby_examples → examples}/drag_drop/img/obj.png +0 -0
  70. data/{visualruby_examples → examples}/drag_drop/img/png.png +0 -0
  71. data/{visualruby_examples → examples}/drag_drop/img/rb.png +0 -0
  72. data/{visualruby_examples → examples}/drag_drop/img/ruby.png +0 -0
  73. data/{visualruby_examples → examples}/drag_drop/img/unknown.png +0 -0
  74. data/examples/drag_drop/main.rb +11 -0
  75. data/examples/filetreeview/bin/ProjectTree.rb +32 -0
  76. data/examples/filetreeview/bin/ProjectTreeGUI.rb +28 -0
  77. data/examples/filetreeview/bin/glade/ProjectTreeGUI.glade +156 -0
  78. data/examples/filetreeview/main.rb +13 -0
  79. data/{visualruby_examples → examples}/listview/bin/SongListView.rb +24 -20
  80. data/{visualruby_examples → examples}/listview/bin/SongListViewGUI.rb +12 -11
  81. data/{visualruby_examples → examples}/listview/bin/audio-x-generic.png +0 -0
  82. data/examples/listview/bin/glade/SongListViewGUI.glade +195 -0
  83. data/examples/listview/main.rb +10 -0
  84. data/examples/listview_objects/bin/DataObject.rb +53 -0
  85. data/{visualruby_examples → examples}/listview_objects/bin/ListViewObjects.rb +7 -4
  86. data/examples/listview_objects/bin/ListViewObjectsGUI.rb +26 -0
  87. data/examples/listview_objects/bin/glade/DataObject.glade +196 -0
  88. data/examples/listview_objects/bin/glade/ListViewObjectsGUI.glade +87 -0
  89. data/examples/listview_objects/main.rb +12 -0
  90. data/examples/settings_file/bin/MainApp.rb +38 -0
  91. data/examples/settings_file/bin/SavableSettings.rb +39 -0
  92. data/examples/settings_file/bin/glade/MainApp.glade +87 -0
  93. data/examples/settings_file/bin/glade/SavableSettings.glade +162 -0
  94. data/examples/settings_file/main.rb +14 -0
  95. data/examples/settings_file/settings.yaml +15 -0
  96. data/examples/simple_ruby_gui/bin/DataObjectGUI.rb +21 -0
  97. data/examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade +195 -0
  98. data/examples/simple_ruby_gui/main.rb +16 -0
  99. data/{visualruby_examples → examples}/treeview/bin/MyClass.rb +1 -5
  100. data/examples/treeview/bin/glade/MyClass.glade +24 -0
  101. data/examples/treeview/main.rb +13 -0
  102. data/skeleton/document/New.glade +3 -4
  103. data/skeleton/document/NewWindow.rb +1 -1
  104. data/skeleton/project/bin/MyClass.rb +2 -2
  105. data/skeleton/project/bin/glade/MyClass.glade +12 -26
  106. data/skeleton/project/main.rb +4 -8
  107. data/vr +41 -37
  108. data/vrlib/lib/Alert.rb +67 -0
  109. data/vrlib/lib/DragDrop.rb +90 -0
  110. data/vrlib/lib/GladeGUI.rb +433 -0
  111. data/vrlib/lib/IconHash.rb +18 -0
  112. data/vrlib/lib/SavableClass.rb +56 -0
  113. data/vrlib/lib/SimpleComboBoxEntry.rb +8 -0
  114. data/vrlib/lib/glade/Alert.glade +119 -0
  115. data/vrlib/lib/treeview/FileTreeView.rb +113 -0
  116. data/vrlib/lib/treeview/IterMethods.rb +82 -0
  117. data/vrlib/lib/treeview/ListView.rb +85 -0
  118. data/vrlib/lib/treeview/TreeView.rb +43 -0
  119. data/vrlib/lib/treeview/ViewCommon.rb +370 -0
  120. data/vrlib/lib/treeview/columns/CalendarCol.rb +89 -0
  121. data/vrlib/lib/treeview/columns/CellRendererCombo.rb +66 -0
  122. data/vrlib/lib/treeview/columns/CellRendererDate.rb +45 -0
  123. data/vrlib/lib/treeview/columns/CellRendererObject.rb +57 -0
  124. data/vrlib/lib/treeview/columns/CellRendererPhone.rb +45 -0
  125. data/vrlib/lib/treeview/columns/CellRendererPixbuf.rb +16 -0
  126. data/vrlib/lib/treeview/columns/CellRendererProgress.rb +17 -0
  127. data/vrlib/lib/treeview/columns/CellRendererSpin.rb +37 -0
  128. data/vrlib/lib/treeview/columns/CellRendererText.rb +38 -0
  129. data/vrlib/lib/treeview/columns/CellRendererToggle.rb +47 -0
  130. data/vrlib/lib/treeview/columns/ComboCol.rb +43 -0
  131. data/vrlib/lib/treeview/columns/CurrencyCol.rb +23 -0
  132. data/vrlib/lib/treeview/columns/DateCol.rb +20 -0
  133. data/vrlib/lib/treeview/columns/ImageCol.rb +27 -0
  134. data/vrlib/lib/treeview/columns/ProgressCol.rb +27 -0
  135. data/vrlib/lib/treeview/columns/SpinCol.rb +11 -0
  136. data/vrlib/lib/treeview/columns/TextCol.rb +65 -0
  137. data/vrlib/lib/treeview/columns/TreeViewColumn.rb +93 -0
  138. data/{bin/main/glade/ProjectChooserGUI.glade → vrlib/lib/treeview/columns/glade/CalendarCol.glade} +71 -63
  139. data/{bin/main/glade/Splash.glade → vrlib/lib/treeview/columns/glade/ImageCol.glade} +5 -6
  140. data/vrlib/lib/treeview/columns/glade/TextCol.glade +82 -0
  141. data/vrlib/rdoc_replace.yaml +77 -0
  142. data/vrlib/vrlib.rb +7 -0
  143. metadata +163 -136
  144. data/bin/editor/glade/VR_Document.glade +0 -160
  145. data/bin/main/ProjectChooserGUI.rb +0 -41
  146. data/bin/main/Splash.rb +0 -22
  147. data/visualruby_examples/active_record/.vr_settings.yaml +0 -47
  148. data/visualruby_examples/active_record/bin/Person.rb +0 -13
  149. data/visualruby_examples/active_record/bin/glade/ChoosePerson.glade +0 -61
  150. data/visualruby_examples/active_record/bin/glade/Person.glade +0 -148
  151. data/visualruby_examples/active_record2/.vr_settings.yaml +0 -16
  152. data/visualruby_examples/active_record2/bin/glade/CompanyGUI.glade +0 -167
  153. data/visualruby_examples/active_record2/bin/glade/Employee.glade +0 -123
  154. data/visualruby_examples/all_widgets/.vr_settings.yaml +0 -13
  155. data/visualruby_examples/all_widgets/main.rb +0 -14
  156. data/visualruby_examples/calculator/.vr_settings.yaml +0 -11
  157. data/visualruby_examples/calculator/main.rb +0 -13
  158. data/visualruby_examples/child_window/.vr_settings.yaml +0 -16
  159. data/visualruby_examples/child_window/bin/ChildWindowDemo.rb +0 -39
  160. data/visualruby_examples/child_window/bin/MyChildClass.rb +0 -40
  161. data/visualruby_examples/child_window/bin/glade/ChildWindowDemo.glade +0 -101
  162. data/visualruby_examples/child_window/main.rb +0 -13
  163. data/visualruby_examples/drag_drop/.vr_settings.yaml +0 -12
  164. data/visualruby_examples/drag_drop/bin/glade/DragDropDemo.glade +0 -143
  165. data/visualruby_examples/drag_drop/main.rb +0 -14
  166. data/visualruby_examples/listview/.vr_settings.yaml +0 -12
  167. data/visualruby_examples/listview/bin/glade/SongListViewGUI.glade +0 -220
  168. data/visualruby_examples/listview/main.rb +0 -19
  169. data/visualruby_examples/listview_objects/.vr_settings.yaml +0 -16
  170. data/visualruby_examples/listview_objects/bin/DataObject.rb +0 -32
  171. data/visualruby_examples/listview_objects/bin/DataObjectGUI.rb +0 -41
  172. data/visualruby_examples/listview_objects/bin/ListViewObjectsGUI.rb +0 -18
  173. data/visualruby_examples/listview_objects/bin/glade/DataObject.glade +0 -198
  174. data/visualruby_examples/listview_objects/bin/glade/ListViewObjectsGUI.glade +0 -102
  175. data/visualruby_examples/listview_objects/main.rb +0 -13
  176. data/visualruby_examples/simple_ruby_gui/.vr_settings.yaml +0 -16
  177. data/visualruby_examples/simple_ruby_gui/bin/DataObjectGUI.rb +0 -20
  178. data/visualruby_examples/simple_ruby_gui/bin/glade/DataObjectGUI.glade +0 -163
  179. data/visualruby_examples/simple_ruby_gui/main.rb +0 -16
  180. data/visualruby_examples/treeview/.vr_settings.yaml +0 -12
  181. data/visualruby_examples/treeview/bin/glade/MyClass.glade +0 -48
  182. 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: 1.0.19
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-05-07 00:00:00.000000000 Z
12
+ date: 2016-06-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: rdoc
15
+ name: vrlib
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
18
  - - ">="
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
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: '0'
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: gtksourceview2
29
+ name: gtksourceview3
44
30
  requirement: !ruby/object:Gem::Requirement
45
31
  requirements:
46
32
  - - ">="
47
33
  - !ruby/object:Gem::Version
48
- version: 2.1.0
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: 2.1.0
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
- - bin/editor/VR_Document.rb
69
- - bin/editor/VR_TabSearch.rb
70
- - bin/editor/VR_Tabs.rb
71
- - bin/editor/VR_TextShell.rb
72
- - bin/editor/VR_TextViewCommon.rb
73
- - bin/editor/glade/VR_Document.glade
74
- - bin/main/GemTree.rb
75
- - bin/main/NewProjectGUI.rb
76
- - bin/main/ProjectChooserGUI.rb
77
- - bin/main/ProjectChooserView.rb
78
- - bin/main/RubygemsAPI.rb
79
- - bin/main/Splash.rb
80
- - bin/main/VR_ENV.rb
81
- - bin/main/VR_ENV_GLOBAL.rb
82
- - bin/main/VR_File_Tree.rb
83
- - bin/main/VR_Local_Gem_Tree.rb
84
- - bin/main/VR_Main.rb
85
- - bin/main/VR_Remote_Gem_Tree.rb
86
- - bin/main/glade/NewProjectGUI.glade
87
- - bin/main/glade/ProjectChooserGUI.glade
88
- - bin/main/glade/RubygemsAPI.glade
89
- - bin/main/glade/Splash.glade
90
- - bin/main/glade/VR_ENV.glade
91
- - bin/main/glade/VR_ENV_GLOBAL.glade
92
- - bin/main/glade/VR_File_Tree.glade
93
- - bin/main/glade/VR_Local_Gem_Tree.glade
94
- - bin/main/glade/VR_Main.glade
95
- - bin/main/glade/VR_Remote_Gem_Tree.glade
96
- - bin/tools/VR_Tools.rb
97
- - img/close.png
98
- - img/folder.png
99
- - img/glade.png
100
- - img/gtk-edit.png
101
- - img/obj.png
102
- - img/png.png
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
- - lib
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
@@ -1,13 +0,0 @@
1
- class Person < ActiveRecord::Base
2
-
3
- include GladeGUI
4
-
5
- def before_show
6
- set_glade_all()
7
- end
8
-
9
- def to_s
10
- "#{self.name} (#{self.email})"
11
- end
12
-
13
- end