[AG-TECH] Re:

Christoph Willing willing at itee.uq.edu.au
Tue Apr 25 15:37:01 CDT 2006


On 25/04/2006, at 10:20 PM, carlosperezs at alumnos.uvigo.es wrote:

>
> Hallo !!!
> I would like to know if theres is a good python tool (wxpython) for  
> programming
> with frames, windows, buttons and so on.
>
> I have now this code:
>
> hs=wx.BoxSizer(wx.HORIZONTAL)
>
> b = wx.Button(self.panel, -1, "Load remote movie...")
> self.Bind(wx.EVT_BUTTON, self.OnLoad, b)
> hs.Add(b, 0, wx.ALL, 4)
>
> What I want to do is that the button b appears but that could
> not  press on it. (I have tried with hs.Hide(b), but in yhis way the b
> button would not appear)

I think you need:
	b.Disable()



Christoph Willing                       +61 7 3365 8350
QPSF Access Grid Manager
University of Queensland






More information about the ag-tech mailing list