how write the filename in the captionbar in a window

i want put the name of the file how do it in the caption of a window?

Do you mean the title bar of a frame?

frame.SetTitle(filename)

···

On Sat, Apr 23, 2011 at 5:35 PM, iozk_Live iozk117@gmail.com wrote:

i want put the name of the file how do it in the caption of a window?

Personally I prefer:

frame.SetTitle('%s: %s' % (self.myAppName, filename))

Gadget/Steve
···

wxPython-users+unsubscribe@googlegroups.com
http://groups.google.com/group/wxPython-users?hl=en

yes to use in the title bar

thanks! C M thanks! Gadget/Steve

···

On 24 abr, 01:26, Gadget/Steve <GadgetSt...@live.co.uk> wrote:

On 23/04/2011 11:02 PM, C M wrote:

> On Sat, Apr 23, 2011 at 5:35 PM, iozk_Live <iozk...@gmail.com > > <mailto:iozk…@gmail.com>> wrote:

> i want put the name of the file how do it in the caption of a window?

> Do you mean the title bar of a frame?

> frame.SetTitle(filename)

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

Personally I prefer:
frame.SetTitle('%s: %s' % (self.myAppName, filename))

Gadget/Steve

Gadget/Steve wrote:

···
-- Tim Roberts, Providenza & Boekelheide, Inc.

timr@probo.com