All Samples(2553) | Call(2547) | Derive(6) | Import(0)
This class provides a simple dialog that shows a single or multi-line message, with a choice of OK, Yes, No and/or Cancel buttons.
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/foreign/foreign.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to Foreign\n(C)opyright 2000 Robert Roebling",
"About Foreign", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/notebook/notebook.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to Notebook\n(C)opyright 2000 Robert Roebling",
"About Notebook", wx.OK|wx.ICON_INFORMATION)
dialog.CentreOnParent()
dialog.ShowModal()
def OnTest(self, event):
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/menu/menu.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to SuperApp 1.0\n(C)opyright Joe Hacker",
"About SuperApp", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
def OnQuit(self, event):
src/w/x/wxPython-In-Action-HEAD/wxDesigner/sample2.19_execise/dynamic/Dynamic_exec.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to wxDesigner 1.0",
"About WxDesigner", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/rad/rad.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to RAD\n(C)opyright 2000 Robert Roebling",
"About RAD", wx.OK|wx.ICON_INFORMATION)
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/dynamic/dynamic.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to SuperApp 1.0\n(C)opyright Joe Hacker",
"About SuperApp", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/toolbar/toolbar.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to SuperApp 1.0\n(C)opyright Joe Hacker",
"About SuperApp", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/events/events.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to Events\n(C)opyright 2000 Robert Roebling",
"About Events", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
def OnTest(self, event):
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/derived/derived.py wxPython-In-Action(Download)
def OnAbout(self, event):
dialog = wx.MessageDialog(self, "Welcome to Derived\n(C)opyright 2000 Robert Roebling",
"About SuperApp", wx.OK|wx.ICON_INFORMATION )
dialog.CentreOnParent()
dialog.ShowModal()
dialog.Destroy()
src/w/x/wxPython-In-Action-HEAD/wxDesigner/samples2.19/scrolled/scrolled_derived.py wxPython-In-Action(Download)
def OnLeftDown(self, event):
dialog = wx.MessageDialog( self, "Left click.", "Test", wx.OK|wx.ICON_INFORMATION )
dialog.ShowModal()
dialog.Destroy()
def OnPaint(self, event):
dc = wx.PaintDC( self )
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 Next