glimmer-dsl-tk 0.0.34 → 0.0.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/README.md +464 -21
- data/VERSION +1 -1
- data/bin/girb_runner.rb +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 +144 -0
- data/lib/glimmer/tk/menu_proxy.rb +48 -0
- data/lib/glimmer/tk/root_proxy.rb +1 -16
- data/lib/glimmer/tk/text_proxy.rb +25 -37
- data/lib/glimmer/tk/toplevel_proxy.rb +40 -0
- data/lib/glimmer/tk/widget_proxy.rb +18 -8
- data/lib/glimmer-dsl-tk.rb +4 -0
- data/samples/elaborate/meta_sample.rb +1 -1
- data/samples/hello/hello_checkbutton.rb +1 -1
- data/samples/hello/hello_menu_bar.rb +183 -0
- data/samples/hello/hello_text.rb +9 -9
- 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: 5c6969620ced6ade48e45e36bd48909bfe282a412e2f57d8a201f398082c6836
|
4
|
+
data.tar.gz: d8d4bc858b5fdf7399b10d71922a2e12aaf1cbf0b4c8c0db4bf78416e025a5d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35a7d92e7f5b9098a9dcd50a5045447237bd66b89dfdd9f5ea10d45201b050a66b7b272266f275645552980a043cda9b59b6b96f591521a7da326fce4ff60524
|
7
|
+
data.tar.gz: c866f8e9a51d4dd291900ebb0c3b506f5a8d0975d1df779474ebf0997114d4384f5a9d2610e868a3196c1ba1b93cfeb98311d41f4e2b35b1582c64cee2b9dc71
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.38
|
4
|
+
|
5
|
+
- Hello, Menu Bar! sample
|
6
|
+
- Support `menu` and `menu_item` widgets including `:command` (default), `:separator`, `:radiobutton`, and `:checkbutton` styles
|
7
|
+
- Support menu item `accelerator` attribute
|
8
|
+
- Support menu item `selection` attribute
|
9
|
+
- Support menu item `state` attribute
|
10
|
+
- Support menu item command event, which is triggered on mouse/keyboard menu item selection or via accelerator
|
11
|
+
- Support `toplevel` `iconphoto` (more conveniently via direct path) and `resizable` attributes
|
12
|
+
|
13
|
+
## 0.0.37
|
14
|
+
|
15
|
+
- 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`)
|
16
|
+
- Have `text` widget grab focus after every formatting modification in Hello, Text! (e.g. after clicking `B` for Bold)
|
17
|
+
|
18
|
+
## 0.0.36
|
19
|
+
|
20
|
+
- Hello, Toplevel! (Custom Window and Custom Dialog)
|
21
|
+
- Support `mac_style` attribute under `toplevel`
|
22
|
+
- Support registering multiple general event listeners on widgets (previously, later event listener registrations replaced former ones)
|
23
|
+
- Support `escapable true` property under `root` and `toplevel` to close on hitting ESCAPE button
|
24
|
+
|
25
|
+
## 0.0.35
|
26
|
+
|
27
|
+
- Improved Meta-Sample by utilizing Ruby from `RbConfig.ruby`
|
28
|
+
- Improved girb_runner.rb to be more platform independent
|
29
|
+
- Fixed `text` widget binding of standard bind events (e.g. `'KeyPress'` or `'ButtonPress'`)
|
30
|
+
- Fixed Hello, Text! issue with not being able to bring up Find Dialog once all text is deleted and new text is entered
|
31
|
+
- Fixed undo/redo issue
|
32
|
+
|
3
33
|
## 0.0.34
|
4
34
|
|
5
35
|
- When applying a `text` selection format without having a selection, have it apply to current insert mark word
|