Can anybody help me how th disable a button, so it is also 'visually'
disabled and doesn't respond on events?
Another question: Hos to get default system colors? Means: what color is
the default color of a panel on a system/theme, what system background
color has a visually disabled TextCtrl?
Can anybody help me how th disable a button, so it is also 'visually'
disabled and doesn't respond on events?
Another question: Hos to get default system colors? Means: what color is
the default color of a panel on a system/theme, what system background
color has a visually disabled TextCtrl?
greets,
Marek
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org
I hope this will help you !...
For the first question, I use :
thebutton.Disable()
Can anybody help me how th disable a button, so it is also 'visually'
disabled and doesn't respond on events?
Call its Disable method.
Another question: Hos to get default system colors? Means: what color is
the default color of a panel on a system/theme, what system background
color has a visually disabled TextCtrl?
See the docs for wxSystemSettings::GetColour. From wxPython it is accessible as wx.SystemSettings_GetColour since it is a static C++ method.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
I think Robin was taking a ride back into the past via the time machine. <wink> That should be wx.SystemSettings.GetColour.
ka
···
On May 13, 2004, at 12:09 PM, Robin Dunn wrote:
Marek Kubica wrote:
Hello!
Can anybody help me how th disable a button, so it is also 'visually'
disabled and doesn't respond on events?
Call its Disable method.
Another question: Hos to get default system colors? Means: what color is
the default color of a panel on a system/theme, what system background
color has a visually disabled TextCtrl?
See the docs for wxSystemSettings::GetColour. From wxPython it is accessible as wx.SystemSettings_GetColour since it is a static C++ method.