trofima 0.0.1

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.
@@ -0,0 +1,16 @@
1
+ # -*- encoding : utf-8 -*-
2
+
3
+ class HomeScreen #(change name)
4
+
5
+ include GladeGUI
6
+
7
+ def show()
8
+ load_glade(__FILE__) #loads file, glade/MyClass.glade into @builder
9
+ @label1 = "Τρόφιμα v0.0.1"
10
+ set_glade_all() #populates glade controls with insance variables (i.e. Myclass.label1)
11
+ show_window()
12
+ end
13
+
14
+
15
+ end
16
+
@@ -0,0 +1,32 @@
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="GtkWindow" id="window1">
6
+ <property name="visible">True</property>
7
+ <property name="can_focus">False</property>
8
+ <property name="modal">True</property>
9
+ <property name="window_position">center-always</property>
10
+ <signal name="destroy" handler="destroy_window" swapped="no"/>
11
+ <child>
12
+ <object class="GtkVBox" id="vbox2">
13
+ <property name="visible">True</property>
14
+ <property name="can_focus">False</property>
15
+ <child>
16
+ <object class="GtkLabel" id="label1">
17
+ <property name="visible">True</property>
18
+ <property name="can_focus">False</property>
19
+ <property name="xpad">160</property>
20
+ <property name="ypad">100</property>
21
+ <property name="label" translatable="yes">label</property>
22
+ </object>
23
+ <packing>
24
+ <property name="expand">False</property>
25
+ <property name="fill">False</property>
26
+ <property name="position">0</property>
27
+ </packing>
28
+ </child>
29
+ </object>
30
+ </child>
31
+ </object>
32
+ </interface>
@@ -0,0 +1,15 @@
1
+ # -*- encoding : utf-8 -*-
2
+ #!/usr/bin/ruby
3
+
4
+ require 'vrlib'
5
+
6
+ #make program output in real time so errors visible in VR.
7
+ STDOUT.sync = true
8
+ STDERR.sync = true
9
+
10
+ #everything in these directories will be included
11
+ my_path = File.expand_path(File.dirname(__FILE__))
12
+ require_all Dir.glob(my_path + "/bin/**/*.rb")
13
+
14
+ HomeScreen.new.show
15
+
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: trofima
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Your Name
9
+ autorequire:
10
+ bindir:
11
+ - .
12
+ cert_chain: []
13
+ date: 2012-10-05 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: vrlib
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 0.0.1
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 0.0.1
31
+ - !ruby/object:Gem::Dependency
32
+ name: gtk2
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 0.0.1
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 0.0.1
47
+ - !ruby/object:Gem::Dependency
48
+ name: require_all
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.1
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: 0.0.1
63
+ description: Full description here
64
+ email: you@yoursite.com
65
+ executables:
66
+ - trofima.rb
67
+ extensions: []
68
+ extra_rdoc_files: []
69
+ files:
70
+ - bin/HomeScreen.rb
71
+ - trofima.rb
72
+ - bin/glade/HomeScreen.glade
73
+ - ./trofima.rb
74
+ homepage: http://www.yoursite.org/
75
+ licenses: []
76
+ post_install_message:
77
+ rdoc_options: []
78
+ require_paths:
79
+ - .
80
+ required_ruby_version: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ required_rubygems_version: !ruby/object:Gem::Requirement
87
+ none: false
88
+ requirements:
89
+ - - ! '>='
90
+ - !ruby/object:Gem::Version
91
+ version: '0'
92
+ requirements: []
93
+ rubyforge_project: nowarning
94
+ rubygems_version: 1.8.24
95
+ signing_key:
96
+ specification_version: 3
97
+ summary: Short Description Here.
98
+ test_files: []