how to change the state of a toolbar button ?

hello,

I can get the state of a toolbar button with wx.ToolBar.GetToolState()
but how do I set the ToolState ?

thanks,
Stef Mientki

Hi,

···

On Wed, Oct 6, 2010 at 3:44 PM, Stef Mientki <stef.mientki@gmail.com> wrote:

hello,

I can get the state of a toolbar button with wx.ToolBar.GetToolState()
but how do I set the ToolState ?

Read the documentation for GetToolState, I think you will find a good hint :wink:

Cody

thanks Cody,
(it took me quit a while to understand your answer :wink:
but it works now.

cheers,
Stef

···

On 06-10-2010 22:49, Cody Precord wrote:

Hi,

On Wed, Oct 6, 2010 at 3:44 PM, Stef Mientki <stef.mientki@gmail.com> wrote:

hello,

I can get the state of a toolbar button with wx.ToolBar.GetToolState()
but how do I set the ToolState ?

Read the documentation for GetToolState, I think you will find a good hint :wink:

Cody