tkxxs 0.1.0
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 +15 -0
- data/.autotest +25 -0
- data/.gemtest +0 -0
- data/CONTRIBUTORS +2 -0
- data/History.txt +6 -0
- data/LICENSE +9 -0
- data/Manifest.txt +20 -0
- data/README.txt +168 -0
- data/Rakefile +42 -0
- data/ext/readme.txt +3 -0
- data/ext/tkballoonhelp.rb +332 -0
- data/ext/tkballoonhelp_ORIGINAL.rb +208 -0
- data/images/screenshot.png +0 -0
- data/lib/icon.gif +0 -0
- data/lib/tkxxs.rb +708 -0
- data/lib/tkxxs/conf.rb +259 -0
- data/lib/tkxxs/tkxxs_classes.rb +1571 -0
- data/lib/tkxxs/version.rb +4 -0
- data/rdoc_developers_hanna.bat +15 -0
- data/rdoc_users_hanna.bat +16 -0
- data/samples/big_example.rb +522 -0
- data/samples/small_example.rb +24 -0
- metadata +156 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
begin
|
2
|
+
require 'tkxxs'
|
3
|
+
rescue LoadError
|
4
|
+
require( File.dirname( File.dirname(__FILE__)) +'/lib/tkxxs')
|
5
|
+
end
|
6
|
+
include TKXXS
|
7
|
+
|
8
|
+
class MyTinyUI
|
9
|
+
|
10
|
+
def initialize( )
|
11
|
+
@outW = OutW.new # create Output Window
|
12
|
+
@outW.puts "Hello"
|
13
|
+
ask_name
|
14
|
+
|
15
|
+
Tk.mainloop # You always needs this!
|
16
|
+
end # initialize
|
17
|
+
|
18
|
+
def ask_name( )
|
19
|
+
name = ask_single_line("Your name?")
|
20
|
+
@outW.puts "Hello #{name}."
|
21
|
+
end # ask_name
|
22
|
+
end
|
23
|
+
|
24
|
+
MyTinyUI.new
|
metadata
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tkxxs
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Axel Friedrich
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-01-01 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: Platform
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.4.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.4.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '3.10'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '3.10'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: hoe
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.5'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.5'
|
55
|
+
description: ! 'TKXXS provides a very simple and very easy to use GUI (graphical user
|
56
|
+
interface) for Ruby; It gives you a persistent output window and popping up (modal)
|
57
|
+
dialogs for input; For a screenshot, see: images/screenshot.png; Tested on Windows,
|
58
|
+
only.
|
59
|
+
|
60
|
+
|
61
|
+
TKXXS shall:
|
62
|
+
|
63
|
+
|
64
|
+
* improve the usability of little applications, which otherwise would use a command
|
65
|
+
line interface (CLI); for example by a GUI-file chooser
|
66
|
+
|
67
|
+
* give a simple GUI front-end for apps, which take parameters on the command line.
|
68
|
+
(stdout can easily be redirected to the OutputWindow.)
|
69
|
+
|
70
|
+
* take only little more effort and coding time over programming a CLI;
|
71
|
+
|
72
|
+
* be able to easily upgrade existing CLI-applications;
|
73
|
+
|
74
|
+
* be comfortable in use (e.g. provide incremental search, tool-tip-help, ...);
|
75
|
+
|
76
|
+
* be easy to install.
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
Drawbacks:
|
81
|
+
|
82
|
+
* I''v tested it only on Windows. Other operating system probably will need modifications,
|
83
|
+
which I would like to merge in.
|
84
|
+
|
85
|
+
* For sure some more drawbacks which I''m not aware of now.
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
TKXXS uses TK (easy to install).'
|
90
|
+
email:
|
91
|
+
- axel dod friedrich underscore smail ad gmx dod de
|
92
|
+
executables: []
|
93
|
+
extensions: []
|
94
|
+
extra_rdoc_files:
|
95
|
+
- History.txt
|
96
|
+
- Manifest.txt
|
97
|
+
- README.txt
|
98
|
+
- ext/readme.txt
|
99
|
+
files:
|
100
|
+
- .autotest
|
101
|
+
- CONTRIBUTORS
|
102
|
+
- History.txt
|
103
|
+
- LICENSE
|
104
|
+
- Manifest.txt
|
105
|
+
- README.txt
|
106
|
+
- Rakefile
|
107
|
+
- ext/readme.txt
|
108
|
+
- ext/tkballoonhelp.rb
|
109
|
+
- ext/tkballoonhelp_ORIGINAL.rb
|
110
|
+
- images/screenshot.png
|
111
|
+
- lib/icon.gif
|
112
|
+
- lib/tkxxs.rb
|
113
|
+
- lib/tkxxs/conf.rb
|
114
|
+
- lib/tkxxs/tkxxs_classes.rb
|
115
|
+
- lib/tkxxs/version.rb
|
116
|
+
- rdoc_developers_hanna.bat
|
117
|
+
- rdoc_users_hanna.bat
|
118
|
+
- samples/big_example.rb
|
119
|
+
- samples/small_example.rb
|
120
|
+
- .gemtest
|
121
|
+
homepage: https://github.com/Axel2
|
122
|
+
licenses:
|
123
|
+
- MIT
|
124
|
+
metadata: {}
|
125
|
+
post_install_message:
|
126
|
+
rdoc_options:
|
127
|
+
- --main
|
128
|
+
- README.txt
|
129
|
+
- -x
|
130
|
+
- lib/tkxxs/tkxxs_classes.rb
|
131
|
+
- -x
|
132
|
+
- lib/tkxxs/samples
|
133
|
+
- -x
|
134
|
+
- lib/tkxxs/conf.rb
|
135
|
+
require_paths:
|
136
|
+
- lib
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ! '>='
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
requirements: []
|
148
|
+
rubyforge_project: tkxxs
|
149
|
+
rubygems_version: 2.1.11
|
150
|
+
signing_key:
|
151
|
+
specification_version: 4
|
152
|
+
summary: ! 'TKXXS provides a very simple and very easy to use GUI (graphical user
|
153
|
+
interface) for Ruby; It gives you a persistent output window and popping up (modal)
|
154
|
+
dialogs for input; For a screenshot, see: images/screenshot.png; Tested on Windows,
|
155
|
+
only'
|
156
|
+
test_files: []
|