1804delta(3) User Contributed Perl Documentation 804delta(3)
2
3
4
6 Tk::804delta - what is new for perl/Tk 804
7
9 This document describes differences between the Tk800 series and the
10 Tk804 series.
11
13 In Tk804.028, there are some additional incompatible changes:
14
15 Return values of some Tk::Wm methods (e.g. aspect, wmGrid,
16 iconposition, resizable ...) were changed from returning tclish lists
17 (e.g. "1 2 3 4") to perlish lists (1,2,3,4).
18
19 Tk::Wm::wmTracing needs argument for setting on/off, without argument
20 just return the current value.
21
22 All Tk804 releases have the following incompatible changes:
23
24 Tk804 will only work with perl 5.8.0 and above. For older perl versions
25 look for Tk800.025.
26
27 curselection of Tk::Listbox now returns an array reference in scalar
28 context. This means you have to write
29
30 my(@selected) = $listbox->curselection
31
32 or
33
34 my(@selected) = @{ $listbox->curselection }
35
36 now.
37
38 The fontActual method now returns the pixel value instead of the point
39 value for -size. Pixel values are expressed as negative numbers.
40
41 Some enhancements from the "dash" patches are lost for now (i.e. -tile,
42 -troughtile ...).
43
44 The -state option is not available anymore for Tk::Text tags. Use
45 -elide instead.
46
48 Tk804 is Unicode-aware.
49
50 It is possible to build Tk with Xft support on X11. This is strongly
51 recommened if you are planning to make use of Unicode rendering
52 capabilities of Tk. It also gives anti-aliased fonts for regular text
53 (if you have TrueType or Type1 fonts and they are in your fontconfig
54 config file).
55
56 The new method chooseDirectory is available as a standard directory
57 selector.
58
59 Tk::PNG and Tk::JPEG are bundled now with the perl/Tk distribution,
60 providing support for the image formats png and jpeg.
61
62 Improvements to Tk::Listbox: new option -activestyle, new methods
63 itemconfigure and itemcget, new virtual event <<ListboxSelect>>.
64
65 More tests.
66
68 Tk::Labelframe
69 An alternative to Tk::LabFrame.
70
71 Tk::Panedwindow
72 An alternative to Tk::Adjuster.
73
74 Tk::Spinbox
75 An alternative to the CPAN module Tk::NumEntry.
76
82 If you find what you think is a bug, you might check the articles
83 recently posted to the comp.lang.perl.tk newsgroup.
84
85 If you believe you have an unreported bug, please send a mail to
86 <ptk@lists.stanford.edu> and/or <nick@ing-simmons.net>. Be sure to
87 trim your bug down to a tiny but sufficient test case.
88
90 Tk, "Changes" file in the Perl/Tk distribution.
91
92
93
94perl v5.32.0 2020-07-28 804delta(3)