Regarding wx.MessageDialog

Hi list,

I have some inquiry regarding the wx.MessageDialog. As far as I can tell, I only accepts string to be its message. Is there a way to modify this so that I could alter the font size of the message to make it more clearer for my users?

Let me elaborate. When using GNOME and when you try to delete a certain file, the system will pop-up a message dialog like this. But I can not create that kind of message dialog using wxPython. Or maybe, I’m hoping that this is the case, I just don’t know how to. I can only create a message dialog similar to this one.

From the former image, you can clearly see that it is a warning message, while the later is quite unclear.

Can anyone help me create something like the former?

···


b3rx

http://se.b3rx.com/ - site

“Don’t be trapped by dogma - which is living with the results of other people’s thinking. - Steve Jobs”

`There are only 10 people in this world who can read binary…’

They don't appear to be wrapped from wxPython (I'm using the latest
preview release), but wxMessageDialog has SetMessage and
SetExtendedMessage methods. An oversight in the SWIG wrappers maybe?

···

On 9/16/07, Bertrand Son Kintanar <b3rxkintanar@gmail.com> wrote:

Hi list,

I have some inquiry regarding the wx.MessageDialog. As far as I can tell, I
only accepts string to be its message. Is there a way to modify this so that
I could alter the font size of the message to make it more clearer for my
users?

Let me elaborate. When using GNOME and when you try to delete a certain
file, the system will pop-up a message dialog like this. But I can not
create that kind of message dialog using wxPython. Or maybe, I'm hoping that
this is the case, I just don't know how to. I can only create a message
dialog similar to this one.

From the former image, you can clearly see that it is a warning message,
while the later is quite unclear.

Can anyone help me create something like the former?