Symbols, names and general confusion

Yes, but not as i would like to. The config screen gets centered in the
middle of my main screen. I would like it to be centered in the middle
of the screen.

If it is a frame, try CenterOnScreen() or CenterOnParent(), as Franz
already told you.

Andrea.

···

_______________________________________________
Andrea Gavana
Reservoir Engineer
MOGI ? Reservoir Characterization and Modeling Dept.
ENI S.p.A. ? Exploration & Production Division
Via Emilia, 1 ? 20097 San Donato Milanese (MI) ? Italy
Phone: +39 02 520 62972
Fax: +39 02 520 61824
E-mail: andrea.gavana@agip.it
Updated Internet Site: http://xoomer.virgilio.it/infinity77/
____________________________________________________

Eni S.p.A.
Sede legale in Roma,
Piazzale Enrico Mattei 1, 00144 Roma
Tel. centralino: +39 06598.21
www.eni.it
Capitale sociale € 4.002.934.326 i.v.
Registro Imprese di Roma,
Codice Fiscale 00484960588
Part. IVA 00905811006
R.E.A. Roma n. 756453

If it is a frame, try CenterOnScreen() or CenterOnParent(), as Franz
already told you.

Uuh! Finally!
I used CenterOnScreen(), after i made it a main window. That was the part i missed earlier.

Thanks,
Christophe Leske

pre = wx.PreDialog()
        pre.SetExtraStyle(wx.DIALOG_EX_CONTEXTHELP)
        pre.Create(parent, ID, title, pos, size, style)

Hi,

me again. Take this example above for instance.

I would like to use and create a modal dialog for my configuration pane (as this is the right way to do it).

Now:

- what is this weird 2 step process to create a dialog? Why is it different than creating a frame?
- where the heck do I find OTHER symbols to be used as SetExtraStyle? I seek a list of symbols like wx.DIALOG_EX_CONTEXTHELP. What else can be assigned to a dialog and WHERE to find it? It is really frustrating to program in wxPython, as you have constantly to look up, search and browse the documentation, which is often times incorrect and incomplete...

- what is this weird 2 step process to create a dialog? Why is it
different than creating a frame?

I suspect it is because you are adding additional styles to it.

- where the heck do I find OTHER symbols to be used as SetExtraStyle? I
seek a list of symbols like wx.DIALOG_EX_CONTEXTHELP. What else can be
assigned to a dialog and WHERE to find it? It is really frustrating to
program in wxPython, as you have constantly to look up, search and
browse the documentation, which is often times incorrect and incomplete...

See my other message for documentation pointers. In this case, you want to
look at:

http://wxwidgets.org/manuals/2.6.1/wx_wxdialog.html

Regards,
Nate

···

On 7/4/05 7:36 AM, "Christophe Leske" <leske@online.de> wrote:

See my other message for documentation pointers. In this case, you want to
look at:

http://wxwidgets.org/manuals/2.6.1/wx_wxdialog.html

uuuuuh! Excellent!

Thanks indeed!

C

Hi Christophe,

Christophe Leske wrote:

See my other message for documentation pointers. In this case, you want to
look at:

http://wxwidgets.org/manuals/2.6.1/wx_wxdialog.html

uuuuuh! Excellent!

You might also like the new API doc (also it is unfortunately not complet, but it does list all the method names).
http://www.wxpython.org/docs/api/wx.Dialog-class.html

See you
Werner

···

Thanks indeed!

C

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org