wx.Object

Inheritance diagram for wx.Object:



Description

This is the root class of all wxWidgets classes. It declares a virtual destructor which ensures that destructors get called for all derived class objects where necessary.

wx.Object is the hub of a dynamic object creation scheme, enabling a program to create instances of a class only knowing its string class name, and to query the class hierarchy.

wx.Object can be used to implement reference counted objects, such as wx.Pen, wx.Bitmap and others.

Known Subclasses

wx.ANIHandler, wx.AcceleratorTable, wx.ActivateEvent, wx.App, wx.AutoBufferedPaintDC, wx.BMPHandler, wx.Bitmap, wx.BitmapButton, wx.BookCtrlBase, wx.BookCtrlBaseEvent, wx.BoxSizer, wx.Brush, wx.BufferedDC, wx.BufferedPaintDC, wx.BusyInfo, wx.Button, wx.CURHandler, wx.CalculateLayoutEvent, wx.CheckBox, wx.CheckListBox, wx.ChildFocusEvent, wx.Choice, wx.Choicebook, wx.ChoicebookEvent, wx.ClientDC, wx.Clipboard, wx.ClipboardTextEvent, wx.CloseEvent, wx.CollapsiblePane, wx.CollapsiblePaneEvent, wx.Color, wx.Colour, wx.ColourData, wx.ColourDialog, wx.ColourPickerCtrl, wx.ColourPickerEvent, wx.ComboBox, wx.CommandEvent, wx.ContextHelp, wx.ContextHelpButton, wx.ContextMenuEvent, wx.Control, wx.ControlWithItems, wx.Cursor, wx.DC, wx.DateEvent, wx.DatePickerCtrl, wx.DatePickerCtrlBase, wx.Dialog, wx.DirDialog, wx.DirFilterListCtrl, wx.DirItemData, wx.DirPickerCtrl, wx.DisplayChangedEvent, wx.DragImage, wx.DropFilesEvent, wx.Effects, wx.EncodingConverter, wx.EraseEvent, wx.Event, wx.EvtHandler, wx.FSFile, wx.FileDialog, wx.FileDirPickerEvent, wx.FileHistory, wx.FilePickerCtrl, wx.FileSystem, wx.FindDialogEvent, wx.FindReplaceData, wx.FindReplaceDialog, wx.FlexGridSizer, wx.FocusEvent, wx.Font, wx.FontData, wx.FontDialog, wx.FontPickerCtrl, wx.FontPickerEvent, wx.Frame, wx.GBSizerItem, wx.GCDC, wx.GDIObject, wx.GIFHandler, wx.Gauge, wx.GenericDatePickerCtrl, wx.GenericDirCtrl, wx.GraphicsBrush, wx.GraphicsContext, wx.GraphicsFont, wx.GraphicsMatrix, wx.GraphicsObject, wx.GraphicsPath, wx.GraphicsPen, wx.GraphicsRenderer, wx.GridBagSizer, wx.GridSizer, wx.HelpEvent, wx.HtmlListBox, wx.HyperlinkCtrl, wx.HyperlinkEvent, wx.ICOHandler, wx.Icon, wx.IconizeEvent, wx.IdleEvent, wx.Image, wx.ImageHandler, wx.ImageList, wx.IndividualLayoutConstraint, wx.InitDialogEvent, wx.JPEGHandler, wx.JoystickEvent, wx.KeyEvent, wx.LayoutAlgorithm, wx.LayoutConstraints, wx.ListBox, wx.ListCtrl, wx.ListEvent, wx.ListItem, wx.ListView, wx.Listbook, wx.ListbookEvent, wx.MDIChildFrame, wx.MDIClientWindow, wx.MDIParentFrame, wx.Mask, wx.MaximizeEvent, wx.MemoryDC, wx.Menu, wx.MenuBar, wx.MenuEvent, wx.MenuItem, wx.MessageDialog, wx.MetaFile, wx.MetaFileDC, wx.MiniFrame, wx.MirrorDC, wx.MouseCaptureChangedEvent, wx.MouseCaptureLostEvent, wx.MouseEvent, ../Events/wx.MoveEvent, wx.MultiChoiceDialog, wx.NavigationKeyEvent, wx.NcPaintEvent, wx.Notebook, wx.NotebookEvent, wx.NotebookPage, wx.NotifyEvent, wx.NumberEntryDialog, wx.PCXHandler, wx.PNGHandler, wx.PNMHandler, wx.PageSetupDialog, wx.PageSetupDialogData, wx.PaintDC, wx.PaintEvent, wx.Palette, wx.PaletteChangedEvent, wx.Panel, wx.PasswordEntryDialog, wx.Pen, wx.PickerBase, wx.PopupTransientWindow, wx.PopupWindow, wx.PostScriptDC, wx.PowerEvent, wx.PreviewCanvas, wx.PreviewControlBar, wx.PreviewFrame, wx.PrintData, wx.PrintDialog, wx.PrintDialogData, wx.PrintPreview, wx.Printer, wx.PrinterDC, wx.Printout, wx.Process, wx.ProcessEvent, wx.ProgressDialog, wx.PseudoDC, wx.PyApp, wx.PyAxBaseWindow, wx.PyCommandEvent, wx.PyControl, wx.PyEvent, wx.PyEvtHandler, wx.PyImageHandler, wx.PyPanel, wx.PyPreviewControlBar, wx.PyPreviewFrame, wx.PyPrintPreview, wx.PyScrolledWindow, wx.PySimpleApp, wx.PySizer, wx.PyTimer, wx.PyValidator, wx.PyWidgetTester, wx.PyWindow, wx.QueryLayoutInfoEvent, wx.QueryNewPaletteEvent, wx.RadioBox, wx.RadioButton, wx.Region, wx.RegionIterator, wx.SashEvent, wx.SashLayoutWindow, wx.SashWindow, wx.ScreenDC, wx.ScrollBar, wx.ScrollEvent, wx.ScrollWinEvent, wx.ScrolledWindow, wx.SearchCtrl, wx.SetCursorEvent, wx.ShowEvent, wx.SimpleHtmlListBox, wx.SingleChoiceDialog, wx.SizeEvent, wx.Sizer, wx.SizerItem, wx.Slider, wx.SpinButton, wx.SpinCtrl, wx.SpinEvent, wx.SplashScreen, wx.SplashScreenWindow, wx.SplitterEvent, wx.SplitterWindow, wx.StaticBitmap, wx.StaticBox, wx.StaticBoxSizer, wx.StaticLine, wx.StaticText, wx.StatusBar, wx.StdDialogButtonSizer, wx.SysColourChangedEvent, wx.SystemOptions, wx.TGAHandler, wx.TIFFHandler>, wx.TaskBarIcon, wx.TaskBarIconEvent, wx.TextCtrl, wx.TextEntryDialog, wx.TextUrlEvent, wx.Timer, wx.TimerEvent, wx.TipWindow, wx.ToggleButton, wx.ToolBar, wx.ToolBarBase, wx.ToolBarToolBase, wx.ToolTip, wx.Toolbook, wx.ToolbookEvent, wx.TopLevelWindow, wx.TreeCtrl, wx.TreeEvent, wx.Treebook, wx.TreebookEvent, wx.UpdateUIEvent, wx.VListBox, wx.VScrolledWindow, wx.Validator, wx.Window, wx.WindowCreateEvent, wx.WindowDC, wx.WindowDestroyEvent, wx.XPMHandler

Properties Summary

Class API

Methods

__init__()
No docstrings available for this method.

Destroy()
Deletes the C++ object this Python object is a proxy for.

GetClassName()

Returns the class name of the C++ class using wx.RTTI.


Returns:

string


IsSameAs(obj)

Returns True if this object has the same data pointer as obj.

This function only does a shallow comparison, i.e. it doesn’t compare the objects pointed to by the data pointers of these objects.

Parameters:


Returns:

bool

Note

Notice that True is returned if the data pointers are None in both objects.


Properties

ClassName
See GetClassName