glimmer-dsl-tk 0.0.35 → 0.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +35 -0
- data/README.md +473 -22
- data/VERSION +1 -1
- data/glimmer-dsl-tk.gemspec +0 -0
- data/lib/glimmer/dsl/tk/widget_expression.rb +1 -1
- data/lib/glimmer/tk/menu_item_proxy.rb +202 -0
- data/lib/glimmer/tk/menu_proxy.rb +88 -0
- data/lib/glimmer/tk/root_proxy.rb +1 -16
- data/lib/glimmer/tk/text_proxy.rb +18 -18
- data/lib/glimmer/tk/toplevel_proxy.rb +40 -0
- data/lib/glimmer/tk/widget_proxy.rb +18 -8
- data/lib/glimmer-dsl-tk.rb +12 -0
- data/samples/hello/hello_button.rb +1 -1
- data/samples/hello/hello_checkbutton.rb +1 -1
- data/samples/hello/hello_menu_bar.rb +260 -0
- data/samples/hello/hello_text.rb +5 -5
- data/samples/hello/hello_toplevel.rb +178 -0
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40c011bf31bc0b5d5691abc8930f93b7fe33c77b8cb77f1f0bf439cd3344d9d7
|
4
|
+
data.tar.gz: 65af004b131e750be35b4bab6b11316c012e49dbbcc3509171c40abcdc4b809f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b53ed25b7f36d71a8db9dfde148589b95efd88b5ba881b9da1ce011024f13eb90d6b7b4c536fe0302774fe5bf71645e457eb694adceba7f94238d7cc24e3a26c
|
7
|
+
data.tar.gz: 11b7ada873371764ec7e255e2ab070863eaad8deec1f54da0246fa7e5e7ed3af3b53ef1fb11954a2d572502353b9b1ed43e6cf557d43cf9517f6fb0047da60b0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,40 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.39
|
4
|
+
|
5
|
+
- Add Language and Language Name menus to Hello, Menu Bar! sample
|
6
|
+
- Update Hello, Button! sample to indicate compound option value on image text buttons
|
7
|
+
- Support Mac `menu_item(:about, label: ) { on('command') {} }`
|
8
|
+
- Support Mac `menu_item(:preferences) { on('command') {} }`
|
9
|
+
- Support Mac `menu_item(:help) { on('command') {} }`
|
10
|
+
- Support Mac `menu_item(:quit) { on('command') {} }`
|
11
|
+
- Support Mac/X11 `'Help'` menu
|
12
|
+
- Support Mac `'Window'` menu
|
13
|
+
- Support Windows `'System'` menu
|
14
|
+
|
15
|
+
|
16
|
+
## 0.0.38
|
17
|
+
|
18
|
+
- Hello, Menu Bar! sample
|
19
|
+
- Support `menu` and `menu_item` widgets including `:command` (default), `:separator`, `:radiobutton`, and `:checkbutton` styles
|
20
|
+
- Support menu item `accelerator` attribute
|
21
|
+
- Support menu item `selection` attribute
|
22
|
+
- Support menu item `state` attribute
|
23
|
+
- Support menu item command event, which is triggered on mouse/keyboard menu item selection or via accelerator
|
24
|
+
- Support `toplevel` `iconphoto` (more conveniently via direct path) and `resizable` attributes
|
25
|
+
|
26
|
+
## 0.0.37
|
27
|
+
|
28
|
+
- Support `focus: true` or `focus: [integer]` option for all selection formatting methods (`add_selection_format`, `remove_selection_format`, `toggle_selection_format`, `add_selection_font_format`, `remove_selection_font_format`, `toggle_selection_font_format`)
|
29
|
+
- Have `text` widget grab focus after every formatting modification in Hello, Text! (e.g. after clicking `B` for Bold)
|
30
|
+
|
31
|
+
## 0.0.36
|
32
|
+
|
33
|
+
- Hello, Toplevel! (Custom Window and Custom Dialog)
|
34
|
+
- Support `mac_style` attribute under `toplevel`
|
35
|
+
- Support registering multiple general event listeners on widgets (previously, later event listener registrations replaced former ones)
|
36
|
+
- Support `escapable true` property under `root` and `toplevel` to close on hitting ESCAPE button
|
37
|
+
|
3
38
|
## 0.0.35
|
4
39
|
|
5
40
|
- Improved Meta-Sample by utilizing Ruby from `RbConfig.ruby`
|