glimmer-dsl-tk 0.0.26 → 0.0.30
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 +804 -61
- data/VERSION +1 -1
- data/glimmer-dsl-tk.gemspec +0 -0
- data/lib/glimmer/dsl/tk/built_in_dialog_expression.rb +57 -0
- data/lib/glimmer/dsl/tk/dsl.rb +1 -0
- data/lib/glimmer/tk/drag_and_drop_extension.rb +112 -0
- data/lib/glimmer/tk/label_proxy.rb +0 -10
- data/lib/glimmer/tk/text_proxy.rb +210 -50
- data/lib/glimmer/tk/widget_proxy.rb +23 -8
- data/samples/elaborate/meta_sample.rb +6 -6
- data/samples/hello/hello_built_in_dialog.rb +68 -0
- data/samples/hello/hello_drag_and_drop.rb +159 -0
- data/samples/hello/hello_message_box.rb +0 -4
- data/samples/hello/hello_separator.rb +69 -0
- data/samples/hello/hello_text.rb +202 -23
- 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/copy.png +0 -0
- data/samples/hello/images/cut.png +0 -0
- data/samples/hello/images/paste.png +0 -0
- data/samples/hello/images/picture.png +0 -0
- data/samples/hello/images/redo.png +0 -0
- data/samples/hello/images/search.png +0 -0
- data/samples/hello/images/undo.png +0 -0
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9c90a3de5c636e2d9fcce122eaa07691e49842721d356a6266e75ff3f77b15ed
|
4
|
+
data.tar.gz: 82927885f588122a63c984c6acbd13110bc93197a075e8d3ef522bce98162ac9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0ba8c92a2294998b6b43ac7397a9f27d499becc7603d8e51823aac0a4f442152208ae316829c019ed5bdb3ee763c8165a7309c3789c3009328a64851aabb27
|
7
|
+
data.tar.gz: b0a1bfe8894b410bbcf5781721fb3a044d0534b5f31260a128f9232db89d331ea7ec1843d288abc1ab16f17f046f3f869739d14c11bf74aa30bb7dbc59f9c551
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,40 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.30
|
4
|
+
|
5
|
+
- Improve Hello, Text! (toolbar buttons: justify left, justify center, justify right)
|
6
|
+
- Fixed Hello, Built-in Dialog! Font Dialog issue
|
7
|
+
|
8
|
+
## 0.0.29
|
9
|
+
|
10
|
+
- Hello, Built-in Dialog! (demonstrating all built-in dialogs like get_open_file and choose_color)
|
11
|
+
- Hello, Separator!
|
12
|
+
- Improve Hello, Text! (toolbar buttons: insert image)
|
13
|
+
- Removed unnecessary `text` widget `text` attribute after realizing `value` does the same thing
|
14
|
+
- Support `text` widget data-binding on 'modified' event and use in Hello, Text!
|
15
|
+
- Support `text#insert_image(text_index, *image_args)`
|
16
|
+
- Support `text#get_open_file_to_insert_image(text_index = 'insert')` shortcut for doing both `get_open_file` and `insert_image` in one shot
|
17
|
+
- 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) }`
|
18
|
+
- Support built-in dialog aliases: `open_file`, `multiple_open_file`, `save_file`
|
19
|
+
- Enhance `get_open_file`/`get_multiple_open_file` `filetypes` support to take a real Ruby hash instead of `['{Image Files} {.png}']`
|
20
|
+
- Support `grid` keyword arg `'column_span'` (with _) and `'row_span'` as aliases for `'columnspan'` and `'rowspan'`
|
21
|
+
|
22
|
+
## 0.0.28
|
23
|
+
|
24
|
+
- Hello, Drag and Drop!
|
25
|
+
- Improve Hello, Text! (toolbar buttons: font family, font size, cut, copy, paste, undo, redo)
|
26
|
+
- Drag & Drop support
|
27
|
+
- Update default dimensions of Meta-Sample root window to 1280x720
|
28
|
+
- Have any widget with a `font` attribute (like `text`) support pre-defined fonts like `'caption'` and `'heading'` (just like `label`)
|
29
|
+
|
30
|
+
## 0.0.27
|
31
|
+
|
32
|
+
- Improve Hello, Text! (toolbar buttons: bold, italic, underline)
|
33
|
+
- Set correct `wrap 'word'` attribute for `text` widget in Hello, Text!
|
34
|
+
- Default `text` widget to `wrap = 'none'`
|
35
|
+
- Default `text` widget to `font = {family: 'Courier New'}`
|
36
|
+
- Fix issue with unbolding text in `text` widget when selecting multiple lines with an empty line
|
37
|
+
|
3
38
|
## 0.0.26
|
4
39
|
|
5
40
|
- Ensure spinbox data-binding updates on text key changes (without incrementing/decrementing)
|