| Author |
What widget do I need?
|
|
| Graham Stow 2007-10-20, 7:06 pm |
| I need a widet that allows the user to click on a right side arrow to select
from a drop down box containing lines of text and, if none of them are what
he wants, to enter a new line. I can't find such a widget in the standard
Tk distribution. Does one exist?
| |
| Marc Dashevsky 2007-10-20, 7:06 pm |
| In article <ffdhit$24oj$1@energise.enta.net>, graham@letsgouk.com says...
> I need a widet that allows the user to click on a right side arrow to select
> from a drop down box containing lines of text and, if none of them are what
> he wants, to enter a new line. I can't find such a widget in the standard
> Tk distribution. Does one exist?
No. However Rob Seegel made Tk::JComboBox:
http://www.perltk.org/index.php?opt...id=55&Itemid=40
--
Go to http://MarcDashevsky.com to send me e-mail.
| |
| Graham Stow 2007-10-21, 4:26 am |
| Great! Rob Seegal's Tk::JComboBox does exactly what I want! Thanks!
"Marc Dashevsky" <usenet@MarcDashevsky.com> wrote in message
news:MPG.21841dbafcc1c7dc989def@news.supernews.com...
> In article <ffdhit$24oj$1@energise.enta.net>, graham@letsgouk.com says...
>
> No. However Rob Seegel made Tk::JComboBox:
>
> http://www.perltk.org/index.php?opt...id=55&Itemid=40
>
> --
> Go to http://MarcDashevsky.com to send me e-mail.
| |
|
|
| Marc Dashevsky 2007-10-22, 8:04 am |
| In article < c99b6c00d6b42d7b65a3733f57837eea@localho
st.talkaboutprogramming.com>,
pharrendorf@am-soft.de says...
> Whats wrong with Tk-BrowseEntry ?
The documentation I read does not say that you may type in
values not in the list. Has that feature been added?
--
Go to http://MarcDashevsky.com to send me e-mail.
| |
|
|
| Marc Dashevsky 2007-10-23, 8:03 am |
| In article < 2c809121461f5e809fabc7f4f446ef09@localho
st.talkaboutprogramming.com>,
pharrendorf@am-soft.de says...
> I don't no but it works
You are correct. The pod says:
-state
Specifies one of three states for the widget: normal, readonly,
or disabled. If the widget is disabled then the value may not be
changed and the arrow button won't activate. If the widget is
readonly, the entry may not be edited, but it may be changed by
choosing a value from the popup listbox. normal is the default.
--
Go to http://MarcDashevsky.com to send me e-mail.
|
|
|
|