| 1 |
=head1 NAME |
| 2 |
|
| 3 |
Tk::804delta - what is new for perl/Tk 804 |
| 4 |
|
| 5 |
=head1 DESCRIPTION |
| 6 |
|
| 7 |
This document describes differences between the Tk800 series and the |
| 8 |
Tk804 series. |
| 9 |
|
| 10 |
=head1 Incompatible Changes |
| 11 |
|
| 12 |
In Tk804.028, there are some additional incompatible changes: |
| 13 |
|
| 14 |
Return values of some B<Tk::Wm> methods (e.g. B<aspect>, B<wmGrid>, |
| 15 |
B<iconposition>, B<resizable> ...) were changed from returning tclish |
| 16 |
lists (e.g. "1 2 3 4") to perlish lists (1,2,3,4). |
| 17 |
|
| 18 |
B<Tk::Wm::wmTracing> needs argument for setting on/off, without argument |
| 19 |
just return the current value. |
| 20 |
|
| 21 |
All Tk804 releases have the following incompatible changes: |
| 22 |
|
| 23 |
Tk804 will only work with perl 5.8.0 and above. For older perl |
| 24 |
versions look for Tk800.025. |
| 25 |
|
| 26 |
B<curselection> of B<Tk::Listbox> now returns an array reference in |
| 27 |
scalar context. This means you have to write |
| 28 |
|
| 29 |
my(@selected) = $listbox->curselection |
| 30 |
|
| 31 |
or |
| 32 |
|
| 33 |
my(@selected) = @{ $listbox->curselection } |
| 34 |
|
| 35 |
now. |
| 36 |
|
| 37 |
The B<fontActual> method now returns the pixel value instead of the |
| 38 |
point value for B<-size>. Pixel values are expressed as negative |
| 39 |
numbers. |
| 40 |
|
| 41 |
Some enhancements from the E<quot>dashE<quot> patches are lost for now |
| 42 |
(i.e. B<-tile>, B<-troughtile> ...). |
| 43 |
|
| 44 |
The B<-state> option is not available anymore for B<Tk::Text> tags. |
| 45 |
Use B<-elide> instead. |
| 46 |
|
| 47 |
=head1 Enhancements |
| 48 |
|
| 49 |
Tk804 is Unicode-aware. |
| 50 |
|
| 51 |
It is possible to build Tk with Xft support on X11. This is strongly |
| 52 |
recommened if you are planning to make use of Unicode rendering |
| 53 |
capabilities of Tk. It also gives anti-aliased fonts for regular text |
| 54 |
(if you have TrueType or Type1 fonts and they are in your fontconfig |
| 55 |
config file). |
| 56 |
|
| 57 |
The new method B<chooseDirectory> is available as a standard directory |
| 58 |
selector. |
| 59 |
|
| 60 |
B<Tk::PNG> and B<Tk::JPEG> are bundled now with the perl/Tk |
| 61 |
distribution, providing support for the image formats B<png> and |
| 62 |
B<jpeg>. |
| 63 |
|
| 64 |
Improvements to B<Tk::Listbox>: new option B<-activestyle>, new |
| 65 |
methods B<itemconfigure> and B<itemcget>, new virtual event B<<< |
| 66 |
<<ListboxSelect>> >>>. |
| 67 |
|
| 68 |
More tests. |
| 69 |
|
| 70 |
=head1 New Widgets |
| 71 |
|
| 72 |
=over |
| 73 |
|
| 74 |
=item Tk::Labelframe |
| 75 |
|
| 76 |
An alternative to B<Tk::LabFrame>. |
| 77 |
|
| 78 |
=item Tk::Panedwindow |
| 79 |
|
| 80 |
An alternative to B<Tk::Adjuster>. |
| 81 |
|
| 82 |
=item Tk::Spinbox |
| 83 |
|
| 84 |
An alternative to the CPAN module B<Tk::NumEntry>. |
| 85 |
|
| 86 |
=back |
| 87 |
|
| 88 |
=head1 Selected Bug Fixes |
| 89 |
|
| 90 |
=head1 Changed Internals |
| 91 |
|
| 92 |
=head1 Platform Specific Problems |
| 93 |
|
| 94 |
=head1 Future Directions |
| 95 |
|
| 96 |
=head1 Reporting Bugs |
| 97 |
|
| 98 |
If you find what you think is a bug, you might check the articles |
| 99 |
recently posted to the comp.lang.perl.tk newsgroup. |
| 100 |
|
| 101 |
If you believe you have an unreported bug, please send a mail to <[email protected]> and/or <[email protected]>. Be sure to trim your bug down |
| 102 |
to a tiny but sufficient test case. |
| 103 |
|
| 104 |
=head1 SEE ALSO |
| 105 |
|
| 106 |
L<Tk>, C<Changes> file in the Perl/Tk distribution. |
| 107 |
|
| 108 |
=cut |
| 109 |
|
| 110 |
|