pruebaa 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/MyClass.rb +4 -3
- data/bin/glade/MyClass.glade +15 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79dbd849b3735aa1d4659d53d2329b7844ee51bc
|
4
|
+
data.tar.gz: a62779de0f1bdda094ed2015dea07a1a5594c004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb17f6e0e2aac432a2cded98fd810d6f811794d1dbdd8aedd7e06b84e85b96681a8742600e59cda9d5e05d8ed8cbd24bc5be46c1cdf242b67468622ede1cd10
|
7
|
+
data.tar.gz: 08568faa667d6bd4c3b7a07e938b04f6dc6782a6516d57e2cb8631015b0484ea773a656ccf5c81640878195c79597489694419766fda1b6a5fd7426b4b0ee375
|
data/bin/MyClass.rb
CHANGED
@@ -4,12 +4,13 @@ class MyClass #(change name)
|
|
4
4
|
include GladeGUI
|
5
5
|
|
6
6
|
def before_show()
|
7
|
-
@button1 = "
|
7
|
+
@button1 = "Bienvenida"
|
8
|
+
@textview1 = 'Esto es un ejemplo de como construir gemas con una interfaz gráfica en ruby, esto de una manera eficiente. By: El rolas'
|
8
9
|
end
|
9
10
|
|
10
11
|
def button1__clicked(*args)
|
11
|
-
@builder["button1"].label =
|
12
|
-
end
|
12
|
+
@builder["button1"].label = 'Bienvenido al mundo con gráficos de ruby'
|
13
13
|
|
14
|
+
end
|
14
15
|
end
|
15
16
|
|
data/bin/glade/MyClass.glade
CHANGED
@@ -14,6 +14,20 @@
|
|
14
14
|
<object class="GtkVBox" id="vbox1">
|
15
15
|
<property name="visible">True</property>
|
16
16
|
<property name="can_focus">False</property>
|
17
|
+
<child>
|
18
|
+
<object class="GtkTextView" id="textview1">
|
19
|
+
<property name="visible">True</property>
|
20
|
+
<property name="can_focus">True</property>
|
21
|
+
<property name="pixels_above_lines">5</property>
|
22
|
+
<property name="editable">False</property>
|
23
|
+
<property name="justification">center</property>
|
24
|
+
</object>
|
25
|
+
<packing>
|
26
|
+
<property name="expand">True</property>
|
27
|
+
<property name="fill">True</property>
|
28
|
+
<property name="position">0</property>
|
29
|
+
</packing>
|
30
|
+
</child>
|
17
31
|
<child>
|
18
32
|
<object class="GtkHButtonBox" id="hbuttonbox1">
|
19
33
|
<property name="visible">True</property>
|
@@ -36,7 +50,7 @@
|
|
36
50
|
<packing>
|
37
51
|
<property name="expand">True</property>
|
38
52
|
<property name="fill">True</property>
|
39
|
-
<property name="position">
|
53
|
+
<property name="position">1</property>
|
40
54
|
</packing>
|
41
55
|
</child>
|
42
56
|
</object>
|