Tk::804delta - what is new for perl/Tk 804
curselection of Tk::Listbox now returns an array reference in scalar context. This means you have to write
my(@selected) = $listbox->curselection
or
my(@selected) = @{ $listbox->curselection }
now.
The fontActual method now returns the pixel value instead of the point value for -size. Pixel values are expressed as negative numbers.
Some enhancements from the "dash" patches are lost for now (i.e. -tile, -troughtile ...).
The -state option is not available anymore for Tk::Text tags. Use -elide instead.
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 chooseDirectory is available as a standard directory selector.
Tk::PNG and Tk::JPEG are bundled now with the perl/Tk distribution, providing support for the image formats png and jpeg.
Improvements to Tk::Listbox: new option -activestyle, new methods itemconfigure and itemcget, new virtual event <<ListboxSelect>>.
If you believe you have an unreported bug, please send a mail to <ptk@lists.stanford.edu> and/or <nick@ing-simmons.net>. Be sure to trim your bug down to a tiny but sufficient test case.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |