glimmer-dsl-tk 0.0.28 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +31 -0
- data/README.md +549 -55
- data/VERSION +1 -1
- data/glimmer-dsl-tk.gemspec +0 -0
- data/lib/glimmer/data_binding/tk/one_time_observer.rb +39 -0
- data/lib/glimmer/dsl/tk/built_in_dialog_expression.rb +57 -0
- data/lib/glimmer/dsl/tk/data_binding_expression.rb +3 -2
- data/lib/glimmer/dsl/tk/dsl.rb +1 -0
- data/lib/glimmer/dsl/tk/widget_expression.rb +5 -1
- data/lib/glimmer/tk/root_proxy.rb +2 -77
- data/lib/glimmer/tk/text_proxy.rb +30 -22
- data/lib/glimmer/tk/toplevel_proxy.rb +119 -0
- data/lib/glimmer/tk/widget_proxy.rb +61 -14
- data/samples/elaborate/meta_sample.rb +4 -4
- data/samples/hello/hello_built_in_dialog.rb +68 -0
- data/samples/hello/hello_message_box.rb +0 -4
- data/samples/hello/hello_separator.rb +69 -0
- data/samples/hello/hello_text.rb +164 -43
- data/samples/hello/images/align-center.png +0 -0
- data/samples/hello/images/align-left.png +0 -0
- data/samples/hello/images/align-right.png +0 -0
- data/samples/hello/images/picture.png +0 -0
- data/samples/hello/images/search.png +0 -0
- metadata +13 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f9643bc9497d251b1b17d52734874c954ce8ff085aee06f5a59bb98a79a1af
|
4
|
+
data.tar.gz: 2a1a77e76cfbd54fa463bc8c1ea3cb2e3e175b2996471bb3e80caf588f77f1dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5af953ed2716d179f70b6b844bde3fa67d808406f5796c0cedb06625e04a05945eba0ff00e8f1783603d6f5509b1abb2d31c6e10033bf0caf46e345172abff01
|
7
|
+
data.tar.gz: 6f2316a161c55c14acca0da4e6704908617bdec23058245d74352a3eb118bf26bb3671bfa78065aefd5ca23a985a9acbae547fdea7c571dc0ab103f462527d4d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,36 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.32
|
4
|
+
|
5
|
+
- Hello, Text! Find Dialog toolbar button
|
6
|
+
- Hello, Text! Find Dialog Windows/Linux CONTROL+F shortcut alternative to Mac CMD+F
|
7
|
+
|
8
|
+
## 0.0.31
|
9
|
+
|
10
|
+
- Improve Hello, Text! (toolbar buttons: justify left, justify center, justify right)
|
11
|
+
- `on('destroy') {|widget| ...}` support in widgets to better track calls to "destroy" method and `'<Destroy>'` binding event (as opposed to the unreliable tracking of '<Destroy>' alone)
|
12
|
+
- Support observing `text` general events (e.g. `'<KeyPress>'`) through `on(event) {}` (was not working before because it required applying a tag, a general `__all__` tag is applied automatically now on full range (`1.0` to `end`))
|
13
|
+
- Ensure unregistering observers (like data-binding observers) when destroying a widget
|
14
|
+
- Add `Glimmer::Tk::ToplevelProxy` widget proxy support similar to `Glimmer::Tk::RootProxy`
|
15
|
+
|
16
|
+
## 0.0.30
|
17
|
+
|
18
|
+
- Improve Hello, Text! (toolbar buttons: find dialog)
|
19
|
+
- Fixed Hello, Built-in Dialog! Font Dialog issue
|
20
|
+
## 0.0.29
|
21
|
+
|
22
|
+
- Hello, Built-in Dialog! (demonstrating all built-in dialogs like get_open_file and choose_color)
|
23
|
+
- Hello, Separator!
|
24
|
+
- Improve Hello, Text! (toolbar buttons: insert image)
|
25
|
+
- Removed unnecessary `text` widget `text` attribute after realizing `value` does the same thing
|
26
|
+
- Support `text` widget data-binding on 'modified' event and use in Hello, Text!
|
27
|
+
- Support `text#insert_image(text_index, *image_args)`
|
28
|
+
- Support `text#get_open_file_to_insert_image(text_index = 'insert')` shortcut for doing both `get_open_file` and `insert_image` in one shot
|
29
|
+
- Support built-in dialogs: `get_open_file(options = nil)`, `get_multiple_open_file(options = nil)`, `get_save_file(options = nil)`, `get_multiple_save_file(options = nil)`, `choose_directory(options = nil)`, `choose_color(options = nil)`, `choose_font(initial_font_args) {|font| do_something_with_font(font) }`
|
30
|
+
- Support built-in dialog aliases: `open_file`, `multiple_open_file`, `save_file`
|
31
|
+
- Enhance `get_open_file`/`get_multiple_open_file` `filetypes` support to take a real Ruby hash instead of `['{Image Files} {.png}']`
|
32
|
+
- Support `grid` keyword arg `'column_span'` (with _) and `'row_span'` as aliases for `'columnspan'` and `'rowspan'`
|
33
|
+
|
3
34
|
## 0.0.28
|
4
35
|
|
5
36
|
- Hello, Drag and Drop!
|