[tcltk-perl] RE: Tcl and Tcl-Tk ready for 0.85 push
Brought to you by:
hobbs
From: Vadim K. <va...@vk...> - 2005-01-02 16:57:33
|
> > 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. |