Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Contact Us
Online Help
Domain Status
Man Pages

Virtual Servers

Topology Map

Server Agreement
Year 2038

USA Flag



Man Pages

Manual Reference Pages  -  TK::804DELTA (3)

.ds Aq ’


Tk::804delta - what is new for perl/Tk 804



This document describes differences between the Tk800 series and the Tk804 series.

Incompatible Changes

In Tk804.028, there are some additional incompatible changes:

Return values of some <B>Tk::WmB> methods (e.g. <B>aspectB>, <B>wmGridB>, <B>iconpositionB>, <B>resizableB> ...) were changed from returning tclish lists (e.g. 1 2 3 4) to perlish lists (1,2,3,4).

<B>Tk::Wm::wmTracingB> needs argument for setting on/off, without argument just return the current value.

All Tk804 releases have the following incompatible changes:

Tk804 will only work with perl 5.8.0 and above. For older perl versions look for Tk800.025.

<B>curselectionB> of <B>Tk::ListboxB> now returns an array reference in scalar context. This means you have to write

        my(@selected) = $listbox->curselection


        my(@selected) = @{ $listbox->curselection }


The <B>fontActualB> method now returns the pixel value instead of the point value for <B>-sizeB>. Pixel values are expressed as negative numbers.

Some enhancements from the dash patches are lost for now (i.e. <B>-tileB>, <B>-troughtileB> ...).

The <B>-stateB> option is not available anymore for <B>Tk::TextB> tags. Use <B>-elideB> instead.


Tk804 is Unicode-aware.

It is possible to build Tk with Xft support on X11. This is strongly recommened if you are planning to make use of Unicode rendering capabilities of Tk. It also gives anti-aliased fonts for regular text (if you have TrueType or Type1 fonts and they are in your fontconfig config file).

The new method <B>chooseDirectoryB> is available as a standard directory selector.

<B>Tk::PNGB> and <B>Tk::JPEGB> are bundled now with the perl/Tk distribution, providing support for the image formats <B>pngB> and <B>jpegB>.

Improvements to <B>Tk::ListboxB>: new option <B>-activestyleB>, new methods <B>itemconfigureB> and <B>itemcgetB>, new virtual event <B><<ListboxSelect>>B>.

More tests.

New Widgets

Tk::Labelframe An alternative to <B>Tk::LabFrameB>.
Tk::Panedwindow An alternative to <B>Tk::AdjusterB>.
Tk::Spinbox An alternative to the CPAN module <B>Tk::NumEntryB>.

Selected Bug Fixes

Changed Internals

Platform Specific Problems

Future Directions

Reporting Bugs

If you find what you think is a bug, you might check the articles recently posted to the newsgroup.

If you believe you have an unreported bug, please send a mail to <> and/or <>. Be sure to trim your bug down to a tiny but sufficient test case.


Tk, Changes file in the Perl/Tk distribution.
Search for    or go to Top of page |  Section 3 |  Main Index

perl v5.20.3 804DELTA (3) 2013-11-15

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.