glimmer-dsl-gtk 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/LICENSE.txt +56 -20
  4. data/README.md +538 -36
  5. data/VERSION +1 -1
  6. data/bin/girb +58 -22
  7. data/bin/girb_runner.rb +58 -20
  8. data/glimmer-dsl-gtk.gemspec +0 -0
  9. data/lib/glimmer/dsl/gtk/dsl.rb +58 -18
  10. data/lib/glimmer/dsl/gtk/on_expression.rb +56 -18
  11. data/lib/glimmer/dsl/gtk/operation_expression.rb +79 -0
  12. data/lib/glimmer/dsl/gtk/property_expression.rb +59 -21
  13. data/lib/glimmer/dsl/gtk/shape_expression.rb +86 -0
  14. data/lib/glimmer/dsl/gtk/widget_expression.rb +57 -19
  15. data/lib/glimmer/gtk/shape/arc.rb +70 -0
  16. data/lib/glimmer/gtk/shape/circle.rb +67 -0
  17. data/lib/glimmer/gtk/shape/path.rb +109 -0
  18. data/lib/glimmer/gtk/shape/polygon.rb +92 -0
  19. data/lib/glimmer/gtk/shape/polyline.rb +91 -0
  20. data/lib/glimmer/gtk/shape/rectangle.rb +70 -0
  21. data/lib/glimmer/gtk/shape/rounded_rectangle.rb +70 -0
  22. data/lib/glimmer/gtk/shape/triangle.rb +67 -0
  23. data/lib/glimmer/gtk/shape.rb +198 -0
  24. data/lib/glimmer/gtk/widget_proxy/application_proxy.rb +56 -18
  25. data/lib/glimmer/gtk/widget_proxy/box_proxy.rb +56 -18
  26. data/lib/glimmer/gtk/widget_proxy/drawing_area_proxy.rb +93 -0
  27. data/lib/glimmer/gtk/widget_proxy/message_dialog_proxy.rb +56 -18
  28. data/lib/glimmer/gtk/widget_proxy/window_proxy.rb +56 -18
  29. data/lib/glimmer/gtk/widget_proxy.rb +70 -30
  30. data/lib/glimmer/gtk.rb +59 -21
  31. data/lib/glimmer-dsl-gtk.rb +56 -18
  32. data/samples/elaborate/widget_gallery.rb +141 -0
  33. data/samples/hello/hello_drawing_area.rb +86 -0
  34. data/samples/hello/hello_drawing_area_manual.rb +140 -0
  35. metadata +21 -6
@@ -1,23 +1,61 @@
1
1
  # Copyright (c) 2021 Andy Maleh
2
2
  #
3
- # Permission is hereby granted, free of charge, to any person obtaining
4
- # a copy of this software and associated documentation files (the
5
- # "Software"), to deal in the Software without restriction, including
6
- # without limitation the rights to use, copy, modify, merge, publish,
7
- # distribute, sublicense, and/or sell copies of the Software, and to
8
- # permit persons to whom the Software is furnished to do so, subject to
9
- # the following conditions:
10
- #
11
- # The above copyright notice and this permission notice shall be
12
- # included in all copies or substantial portions of the Software.
13
- #
14
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3
+ # GNU LESSER GENERAL PUBLIC LICENSE
4
+ # Version 3, 29 June 2007
5
+ #
6
+ # Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
7
+ #
8
+ # Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
9
+ #
10
+ # This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
11
+ #
12
+ # 0. Additional Definitions.
13
+ # As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License.
14
+ #
15
+ # “The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
16
+ #
17
+ # An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
18
+ #
19
+ # A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”.
20
+ #
21
+ # The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
22
+ #
23
+ # The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
24
+ #
25
+ # 1. Exception to Section 3 of the GNU GPL.
26
+ # You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
27
+ #
28
+ # 2. Conveying Modified Versions.
29
+ # If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
30
+ #
31
+ # a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
32
+ # b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
33
+ # 3. Object Code Incorporating Material from Library Header Files.
34
+ # The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
35
+ #
36
+ # a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
37
+ # b) Accompany the object code with a copy of the GNU GPL and this license document.
38
+ # 4. Combined Works.
39
+ # You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
40
+ #
41
+ # a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
42
+ # b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
43
+ # c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
44
+ # d) Do one of the following:
45
+ # 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
46
+ # 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
47
+ # e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
48
+ # 5. Combined Libraries.
49
+ # You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
50
+ #
51
+ # a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
52
+ # b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
53
+ # 6. Revised Versions of the GNU Lesser General Public License.
54
+ # The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
55
+ #
56
+ # Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
57
+ #
58
+ # If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
21
59
 
22
60
  $LOAD_PATH.unshift(File.expand_path('..', __FILE__))
23
61
 
@@ -0,0 +1,141 @@
1
+ require 'glimmer-dsl-gtk'
2
+
3
+ include Glimmer
4
+
5
+ application('org.glimmer.hello-application') {
6
+ on(:activate) do |app|
7
+ application_window(app) {
8
+ title 'Widget Gallery'
9
+
10
+ notebook { |n|
11
+ f1 = frame {
12
+ alignment(1, 1, 1, 1) {
13
+ padding 15, 15, 15, 15
14
+
15
+ box(:vertical) {
16
+ spacing 10
17
+
18
+ label('Entry')
19
+ entry {
20
+ text 'Enter One Line of Text'
21
+ }
22
+
23
+ label('Search Entry')
24
+ search_entry {
25
+ text 'Enter Search Term'
26
+ }
27
+
28
+ label('Spin Button')
29
+ spin_button(1, 100, 1) {
30
+ }
31
+
32
+ label('Combo Box Text')
33
+ cb = combo_box_text {
34
+ }
35
+ 3.times { |n| cb.append_text "Option #{n + 1}" }
36
+ }
37
+ }
38
+ }
39
+ n.set_tab_label_text(f1.gtk, 'Text')
40
+
41
+ f2 = frame {
42
+ alignment(1, 1, 1, 1) {
43
+ padding 15, 15, 15, 15
44
+
45
+ box(:vertical) {
46
+ spacing 10
47
+
48
+ label('Button')
49
+ button('Push Me')
50
+
51
+ label('Radio Button')
52
+ box(:horizontal) {
53
+ rb = radio_button('One')
54
+ radio_button(rb, 'Two')
55
+ radio_button(rb, 'Three')
56
+ }
57
+
58
+ label('Check Button')
59
+ box(:horizontal) {
60
+ check_button('One')
61
+ check_button('Two')
62
+ check_button('Three')
63
+ }
64
+ }
65
+ }
66
+ }
67
+ n.set_tab_label_text(f2.gtk, 'Button')
68
+
69
+ f3 = frame {
70
+ alignment(1, 1, 1, 1) {
71
+ padding 15, 15, 15, 15
72
+
73
+ box(:vertical) {
74
+ spacing 10
75
+
76
+ label('Horizontal Scale')
77
+ h_scale(1, 100, 1) {
78
+ visible true
79
+ }
80
+
81
+ label('Vertical Scale')
82
+ v_scale(1, 100, 1) {
83
+ visible true
84
+ height_request 200
85
+ }
86
+ }
87
+ }
88
+ }
89
+ n.set_tab_label_text(f3.gtk, 'Selection')
90
+
91
+ f4 = frame {
92
+ alignment(1, 1, 1, 1) {
93
+ padding 15, 15, 15, 15
94
+
95
+ box(:vertical) {
96
+ spacing 10
97
+
98
+ label('Expander')
99
+ 3.times do |n|
100
+ expander {
101
+ label "Item #{n + 1}"
102
+
103
+ label("Item #{n + 1} Expanded") {
104
+ }
105
+ }
106
+ end
107
+ }
108
+ }
109
+ }
110
+ n.set_tab_label_text(f4.gtk, 'Organizer')
111
+
112
+ f5 = frame {
113
+ alignment(1, 1, 1, 1) {
114
+ padding 15, 15, 15, 15
115
+
116
+ box(:vertical) {
117
+ spacing 10
118
+
119
+ label('Progress Bar')
120
+ pb = progress_bar {
121
+ text 'Progress Bar'
122
+ }
123
+ Thread.new do
124
+ 101.times.cycle do |n|
125
+ pb.fraction = n / 100.0
126
+ sleep(0.1) # yields back to main GUI thread
127
+ end
128
+ end
129
+
130
+ label('Spinner')
131
+ spinner {
132
+ active true
133
+ }
134
+ }
135
+ }
136
+ }
137
+ n.set_tab_label_text(f5.gtk, 'Progress')
138
+ }
139
+ }.present
140
+ end
141
+ }.run
@@ -0,0 +1,86 @@
1
+ require 'glimmer-dsl-gtk'
2
+
3
+ include Glimmer
4
+
5
+ window {
6
+ title 'Hello, Drawing Area!'
7
+ default_size 400, 400
8
+
9
+ drawing_area {
10
+ rectangle(0, 0, 400, 400) {
11
+ fill 255, 255, 255
12
+ }
13
+
14
+ arc(85, 85, 45, (Math::PI/180)*90, -(Math::PI/180)*90) {
15
+ fill 255, 0, 0
16
+ stroke 0, 128, 255
17
+ line_width 3
18
+ }
19
+
20
+ arc(85, 185, 45, (Math::PI/180)*100, -(Math::PI/180)*30) {
21
+ fill 255, 0, 0
22
+ stroke 0, 128, 255
23
+ line_width 3
24
+ }
25
+
26
+ circle(85, 285, 45) {
27
+ fill 255, 0, 0
28
+ stroke 0, 128, 255
29
+ line_width 3
30
+ }
31
+
32
+ rectangle(140, 40, 180, 90) {
33
+ fill 255, 255, 0
34
+ stroke 255, 0, 0
35
+ line_width 3
36
+ }
37
+
38
+ rounded_rectangle(140, 140, 180, 90, 30, 20) {
39
+ fill 255, 255, 0
40
+ stroke 255, 0, 0
41
+ line_width 3
42
+ }
43
+
44
+ triangle(140, 240, 320, 240, 230, 330) {
45
+ fill 255, 255, 0
46
+ stroke 255, 0, 0
47
+ line_width 3
48
+ }
49
+
50
+ path {
51
+ move_to 160, 100
52
+ curve_to 190, 60, 200, 80, 210, 70
53
+ curve_to 240, 80, 250, 100, 260, 90
54
+ curve_to 290, 90, 300, 110, 310, 100
55
+
56
+ fill 0, 255, 0
57
+ stroke 0, 0, 255
58
+ line_width 3
59
+ }
60
+
61
+ path {
62
+ move_to 200, 150
63
+ line_to 270, 170
64
+ line_to 250, 220
65
+ line_to 220, 190
66
+ line_to 200, 200
67
+ line_to 180, 170
68
+ close_path
69
+
70
+ fill 0, 255, 0
71
+ stroke 0, 0, 255
72
+ line_width 3
73
+ }
74
+
75
+ polygon(200, 260, 270, 270, 250, 290, 220, 290, 200, 280, 180, 270) {
76
+ fill 0, 255, 0
77
+ stroke 0, 0, 255
78
+ line_width 3
79
+ }
80
+
81
+ polyline(270, 320, 250, 340, 220, 340, 200, 330, 180, 320) {
82
+ stroke 0, 0, 255
83
+ line_width 3
84
+ }
85
+ }
86
+ }.show
@@ -0,0 +1,140 @@
1
+ require 'glimmer-dsl-gtk'
2
+
3
+ include Glimmer
4
+
5
+ window {
6
+ title 'Hello, Drawing Area (Manual)!'
7
+ default_size 400, 400
8
+
9
+ drawing_area {
10
+ on(:draw) do |drawing_area_widget, cairo_context|
11
+ cairo_context.rectangle(0, 0, 400, 400)
12
+ cairo_context.set_source_rgb(255, 255, 255)
13
+ cairo_context.fill
14
+
15
+ cairo_context.arc(85, 85, 45, (Math::PI/180)*90, -(Math::PI/180)*90)
16
+ cairo_context.set_source_rgb(255, 0, 0)
17
+ cairo_context.fill
18
+
19
+ cairo_context.arc(85, 85, 45, (Math::PI/180)*90, -(Math::PI/180)*90)
20
+ cairo_context.set_source_rgb(0, 128, 255)
21
+ cairo_context.set_line_width(3)
22
+ cairo_context.stroke
23
+
24
+ cairo_context.arc(85, 185, 45, (Math::PI/180)*100, -(Math::PI/180)*30)
25
+ cairo_context.set_source_rgb(255, 0, 0)
26
+ cairo_context.fill
27
+
28
+ cairo_context.arc(85, 185, 45, (Math::PI/180)*100, -(Math::PI/180)*30)
29
+ cairo_context.set_source_rgb(0, 128, 255)
30
+ cairo_context.set_line_width(3)
31
+ cairo_context.stroke
32
+
33
+ cairo_context.circle(85, 285, 45)
34
+ cairo_context.set_source_rgb(255, 0, 0)
35
+ cairo_context.fill
36
+
37
+ cairo_context.circle(85, 285, 45)
38
+ cairo_context.set_source_rgb(0, 128, 255)
39
+ cairo_context.set_line_width(3)
40
+ cairo_context.stroke
41
+
42
+ cairo_context.rectangle(140, 40, 180, 90)
43
+ cairo_context.set_source_rgb(255, 255, 0)
44
+ cairo_context.fill
45
+
46
+ cairo_context.rectangle(140, 40, 180, 90)
47
+ cairo_context.set_source_rgb(255, 0, 0)
48
+ cairo_context.set_line_width(3)
49
+ cairo_context.stroke
50
+
51
+ cairo_context.rounded_rectangle(140, 140, 180, 90, 30, 20)
52
+ cairo_context.set_source_rgb(255, 255, 0)
53
+ cairo_context.fill
54
+
55
+ cairo_context.rounded_rectangle(140, 140, 180, 90, 30, 20)
56
+ cairo_context.set_source_rgb(255, 0, 0)
57
+ cairo_context.set_line_width(3)
58
+ cairo_context.stroke
59
+
60
+ cairo_context.triangle(140, 240, 320, 240, 230, 330)
61
+ cairo_context.set_source_rgb(255, 255, 0)
62
+ cairo_context.fill
63
+
64
+ cairo_context.triangle(140, 240, 320, 240, 230, 330)
65
+ cairo_context.set_source_rgb(255, 0, 0)
66
+ cairo_context.set_line_width(3)
67
+ cairo_context.stroke
68
+
69
+ cairo_context.new_path
70
+ cairo_context.move_to 160, 100
71
+ cairo_context.curve_to 190, 60, 200, 80, 210, 70
72
+ cairo_context.curve_to 240, 80, 250, 100, 260, 90
73
+ cairo_context.curve_to 290, 90, 300, 110, 310, 100
74
+ cairo_context.set_source_rgb(0, 255, 0)
75
+ cairo_context.fill
76
+
77
+ cairo_context.new_path
78
+ cairo_context.move_to 160, 100
79
+ cairo_context.curve_to 190, 60, 200, 80, 210, 70
80
+ cairo_context.curve_to 240, 80, 250, 100, 260, 90
81
+ cairo_context.curve_to 290, 90, 300, 110, 310, 100
82
+ cairo_context.set_source_rgb(0, 0, 255)
83
+ cairo_context.stroke
84
+
85
+ cairo_context.new_path
86
+ cairo_context.move_to 200, 150
87
+ cairo_context.line_to 270, 170
88
+ cairo_context.line_to 250, 220
89
+ cairo_context.line_to 220, 190
90
+ cairo_context.line_to 200, 200
91
+ cairo_context.line_to 180, 170
92
+ cairo_context.close_path
93
+ cairo_context.set_source_rgb(0, 255, 0)
94
+ cairo_context.fill
95
+
96
+ cairo_context.new_path
97
+ cairo_context.move_to 200, 150
98
+ cairo_context.line_to 270, 170
99
+ cairo_context.line_to 250, 220
100
+ cairo_context.line_to 220, 190
101
+ cairo_context.line_to 200, 200
102
+ cairo_context.line_to 180, 170
103
+ cairo_context.close_path
104
+ cairo_context.set_source_rgb(0, 0, 255)
105
+ cairo_context.stroke
106
+
107
+ cairo_context.new_path
108
+ cairo_context.move_to 200, 260
109
+ cairo_context.line_to 270, 270
110
+ cairo_context.line_to 250, 290
111
+ cairo_context.line_to 220, 290
112
+ cairo_context.line_to 200, 280
113
+ cairo_context.line_to 180, 270
114
+ cairo_context.close_path
115
+ cairo_context.set_source_rgb(0, 255, 0)
116
+ cairo_context.fill
117
+
118
+ cairo_context.new_path
119
+ cairo_context.move_to 200, 260
120
+ cairo_context.line_to 270, 270
121
+ cairo_context.line_to 250, 290
122
+ cairo_context.line_to 220, 290
123
+ cairo_context.line_to 200, 280
124
+ cairo_context.line_to 180, 270
125
+ cairo_context.close_path
126
+ cairo_context.set_source_rgb(0, 0, 255)
127
+ cairo_context.stroke
128
+
129
+ cairo_context.new_path
130
+ cairo_context.move_to 200, 260
131
+ cairo_context.move_to 270, 320
132
+ cairo_context.line_to 250, 340
133
+ cairo_context.line_to 220, 340
134
+ cairo_context.line_to 200, 330
135
+ cairo_context.line_to 180, 320
136
+ cairo_context.set_source_rgb(0, 0, 255)
137
+ cairo_context.stroke
138
+ end
139
+ }
140
+ }.show
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-gtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-05 00:00:00.000000000 Z
11
+ date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: glimmer
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.0
19
+ version: 2.5.4
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.4.0
26
+ version: 2.5.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: os
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -162,21 +162,36 @@ files:
162
162
  - lib/glimmer-dsl-gtk.rb
163
163
  - lib/glimmer/dsl/gtk/dsl.rb
164
164
  - lib/glimmer/dsl/gtk/on_expression.rb
165
+ - lib/glimmer/dsl/gtk/operation_expression.rb
165
166
  - lib/glimmer/dsl/gtk/property_expression.rb
167
+ - lib/glimmer/dsl/gtk/shape_expression.rb
166
168
  - lib/glimmer/dsl/gtk/widget_expression.rb
167
169
  - lib/glimmer/gtk.rb
170
+ - lib/glimmer/gtk/shape.rb
171
+ - lib/glimmer/gtk/shape/arc.rb
172
+ - lib/glimmer/gtk/shape/circle.rb
173
+ - lib/glimmer/gtk/shape/path.rb
174
+ - lib/glimmer/gtk/shape/polygon.rb
175
+ - lib/glimmer/gtk/shape/polyline.rb
176
+ - lib/glimmer/gtk/shape/rectangle.rb
177
+ - lib/glimmer/gtk/shape/rounded_rectangle.rb
178
+ - lib/glimmer/gtk/shape/triangle.rb
168
179
  - lib/glimmer/gtk/widget_proxy.rb
169
180
  - lib/glimmer/gtk/widget_proxy/application_proxy.rb
170
181
  - lib/glimmer/gtk/widget_proxy/box_proxy.rb
182
+ - lib/glimmer/gtk/widget_proxy/drawing_area_proxy.rb
171
183
  - lib/glimmer/gtk/widget_proxy/message_dialog_proxy.rb
172
184
  - lib/glimmer/gtk/widget_proxy/window_proxy.rb
185
+ - samples/elaborate/widget_gallery.rb
173
186
  - samples/hello/hello_application.rb
174
187
  - samples/hello/hello_button.rb
188
+ - samples/hello/hello_drawing_area.rb
189
+ - samples/hello/hello_drawing_area_manual.rb
175
190
  - samples/hello/hello_entry.rb
176
191
  - samples/hello/hello_world.rb
177
192
  homepage: http://github.com/AndyObtiva/glimmer-dsl-gtk
178
193
  licenses:
179
- - MIT
194
+ - LGPL
180
195
  metadata: {}
181
196
  post_install_message:
182
197
  rdoc_options: []
@@ -194,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
194
209
  - !ruby/object:Gem::Version
195
210
  version: '0'
196
211
  requirements: []
197
- rubygems_version: 3.2.22
212
+ rubygems_version: 3.3.1
198
213
  signing_key:
199
214
  specification_version: 4
200
215
  summary: Glimmer DSL for GTK