Is it possible to modify a frame or dialog title after creation under OS X?

OS X 10.6 and above
Python 2.7.2
wx 2.9.4.0 (Cocoa)

Experimenting with SetLabel() on top level frames and dialogs in the demo doesn’t seem to have any effect under OS X, unlike Windows. Is there any other way?

···


Regards,
David

Hi,
frm.SetTitle("...")

works for me (on win XP), I am not sure about OS X.

hth,
  vbr

···

2012/9/6 David Hughes <dfh@forestfield.co.uk>:

OS X 10.6 and above
Python 2.7.2
wx 2.9.4.0 (Cocoa)

Experimenting with SetLabel() on top level frames and dialogs in the demo
doesn't seem to have any effect under OS X, unlike Windows. Is there any
other way?
--
Regards,
David

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Yes, that works. I see SetTitle() is a method of wx.TopLevelWindow (makes sense) but I hadn’t come across it before.
Many thanks,

David

···

On Thursday, 6 September 2012 11:47:43 UTC+1, vbr wrote:

frm.SetTitle(“…”)

works for me (on win XP), I am not sure about OS X.