Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Setting disabled background on Tkx combobox widget

by v4169sgr (Sexton)
on Apr 12, 2017 at 14:51 UTC ( [id://1187774]=note: print w/replies, xml ) Need Help??


in reply to Re: Setting disabled background on Tkx combobox widget
in thread Setting disabled background on Tkx combobox widget

Thanks for the replies. This simple approach would not work for the widget in question. You'd need to access something like "disabledbackground" or similar, but the widget doesn't expose this.

I had considered using the combo box out of BWidgets as that seems a lot more flexible, and doesn't sacrifice functionality for fitting in with themes. However on reflection I did not like the drop down list style at all, so in the end I've ditched the requirement for combo boxes in this context to be instantiated as read only, and have kept only two states: normal and disabled. This works for me right now as it doesn't matter too much that the user can edit the selected value and potentially make it invalid.

  • Comment on Re^2: Setting disabled background on Tkx combobox widget

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1187774]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 09:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found