Re: Customize RichMessageDialog body with other elements
Robin Dunn <[email protected]>
| Newsgroups | gmane.comp.python.wxpython |
|---|---|
| Message-ID | <[email protected]> |
You'll need to create a custom dialog, but not necessarily from scratch. There is the wx.lib.msgpanel module which provides a custom wx.Panel that looks and behaves like a wx.MessageDialog. And there is wx.lib.agw.genericmessagedialog module which provides, wait for it..., a GenericMessageDialog class. So it shouldn't be too hard to create your own class that derives from one of those and adds the functionality you want. -- Robin On Monday, January 27, 2020 at 10:39:19 AM UTC-8, Cameron Maske wrote: > > Hi all, > > I'm trying to add a URL to the body of a RichMessageDialog (with > HyperlinkCtrl). > I'm trying to get something like this (but with the styling of the > RichMessageDialog) > > [image: Annotation 2020-01-27 191406.png] > > > > > > > > > > > > > Is something like this possible, or am I better off creating a custom > dialog? > > > > > -- You received this message because you are subscribed to the Google Groups "wxPython-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/4815b16c-3251-4bc1-88eb-5b8cbfadbc26%40googlegroups.com.