ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tcltk-perl
tcltk-perl
[tcltk-perl] RE: Tcl and Tcl-Tk ready for 0.85 push
by Vadim Konovalov other posts by this author
Jan 2 2005 8:58AM messages near this date
[tcltk-perl] Tcl-Tk available as 5.6 PPM build | [tcltk-perl] RE: Tcl and Tcl-Tk ready for 0.85 push
>  > I really appreciate all your help, and also I am glad of new 
>  > comings in Tcl/Tk 8.5 (so Combobox behaving better, and many 
>  > other good features), so I"ll certainly will discuss those in 
>  > Perl"s discussion site.
>  
>  Can you elaborate on what was fixed to improve the combobox
>  in 8.5 that isn"t in 8.4? (later 8.4 version perhaps)

Consider following simpliest script using Combobox:

package require BWidget
pack [ComboBox .cb -values {one two three}]

... or using Perl+Tcl::Tk
perl -MTcl::Tk=:perlTk -we "tkinit-> ComboBox(-values=>[qw{one two three}])->pack;MainLoop"

I noticed few little misbehaviours on Windows system
When user clicks on arrow to performing dropping a listbox down,
first misbehaviour is titlebar of containing toplevel window redrawn
with a color of inactive window.
This misbehaviour in my opinion is irrelevant.
Second misbehaviour is that at some moment window could be dragged but
listbox does not becomes closed.

see screenshot at www.vkonovalov.ru/tcltk-misc/1st.JPG

to reproduce:
 - click on arrow of ComboBox widget, listbox should appear
 - click on a button of our script at Windows taskbar, toplevel should become active
 - after that toplevel could be dragged but listbox not closed, and it is clickable

sometimes latest step does not work (toplevel could NOT be dragged), in this case
misbehaviour could be reproduced by clicking on icon on taskbar once again (so app will
be minimized) and yet once again (and it will be restored) so toplevel could be dragged
afterwards

I saw this effect on Win2000 and WinXP.

This does not happens with Tcl/Tk 8.5, so visually behaviour is better.

perlTk does not have good combobox at all, so no good alternate to check on that side.
(I tried Tk::JComboBox, Tk::HistEntry, Tk::BrowseEntry, but those have their own
limitations and misbehaviours, and most of them look non-natively on Windows)

Vadim.




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Tcltk-perl mailing list
Tcltk-perl@[...].net
https://lists.sourceforge.net/lists/listinfo/tcltk-perl
Thread:
Vadim Konovalov
Jeff Hobbs
Vadim Konovalov

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved