CENTER_ON_SCREEN = _core_.CENTER_ON_SCREEN
CLIP_CHILDREN = _core_.CLIP_CHILDREN
CLIP_SIBLINGS = _core_.CLIP_SIBLINGS
+WINDOW_STYLE_MASK = _core_.WINDOW_STYLE_MASK
ALWAYS_SHOW_SB = _core_.ALWAYS_SHOW_SB
RETAINED = _core_.RETAINED
BACKINGSTORE = _core_.BACKINGSTORE
RB_USE_CHECKBOX = _core_.RB_USE_CHECKBOX
ST_SIZEGRIP = _core_.ST_SIZEGRIP
ST_NO_AUTORESIZE = _core_.ST_NO_AUTORESIZE
+ST_DOTS_MIDDLE = _core_.ST_DOTS_MIDDLE
+ST_DOTS_END = _core_.ST_DOTS_END
FLOOD_SURFACE = _core_.FLOOD_SURFACE
FLOOD_BORDER = _core_.FLOOD_BORDER
ODDEVEN_RULE = _core_.ODDEVEN_RULE
ID_UNDELETE = _core_.ID_UNDELETE
ID_REVERT_TO_SAVED = _core_.ID_REVERT_TO_SAVED
ID_HIGHEST = _core_.ID_HIGHEST
-OPEN = _core_.OPEN
-SAVE = _core_.SAVE
-HIDE_READONLY = _core_.HIDE_READONLY
-OVERWRITE_PROMPT = _core_.OVERWRITE_PROMPT
-FILE_MUST_EXIST = _core_.FILE_MUST_EXIST
-MULTIPLE = _core_.MULTIPLE
-CHANGE_DIR = _core_.CHANGE_DIR
ACCEL_ALT = _core_.ACCEL_ALT
ACCEL_CTRL = _core_.ACCEL_CTRL
ACCEL_SHIFT = _core_.ACCEL_SHIFT
PD_REMAINING_TIME = _core_.PD_REMAINING_TIME
PD_SMOOTH = _core_.PD_SMOOTH
PD_CAN_SKIP = _core_.PD_CAN_SKIP
-DD_NEW_DIR_BUTTON = _core_.DD_NEW_DIR_BUTTON
-DD_DEFAULT_STYLE = _core_.DD_DEFAULT_STYLE
MENU_TEAROFF = _core_.MENU_TEAROFF
MB_DOCKABLE = _core_.MB_DOCKABLE
NO_FULL_REPAINT_ON_RESIZE = _core_.NO_FULL_REPAINT_ON_RESIZE
args[0].thisown = 0
return val
-Object_swigregister = _core_.Object_swigregister
-Object_swigregister(Object)
+_core_.Object_swigregister(Object)
_wxPySetDictionary = _core_._wxPySetDictionary
-_wxPyFixStockObjects = _core_._wxPyFixStockObjects
cvar = _core_.cvar
EmptyString = cvar.EmptyString
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, Size sz) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.Size objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, Size sz) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality.
+ Test for inequality of wx.Size objects.
"""
return _core_.Size___ne__(*args, **kwargs)
__safe_for_unpickling__ = True
def __reduce__(self): return (wx.Size, self.Get())
-Size_swigregister = _core_.Size_swigregister
-Size_swigregister(Size)
+_core_.Size_swigregister(Size)
#---------------------------------------------------------------------------
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, RealPoint pt) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.RealPoint objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, RealPoint pt) -> bool
+ __ne__(self, PyObject other) -> bool
Test for inequality of wx.RealPoint objects.
"""
__safe_for_unpickling__ = True
def __reduce__(self): return (wx.RealPoint, self.Get())
-RealPoint_swigregister = _core_.RealPoint_swigregister
-RealPoint_swigregister(RealPoint)
+_core_.RealPoint_swigregister(RealPoint)
#---------------------------------------------------------------------------
__del__ = lambda self : None;
def __eq__(*args, **kwargs):
"""
- __eq__(self, Point pt) -> bool
+ __eq__(self, PyObject other) -> bool
Test for equality of wx.Point objects.
"""
def __ne__(*args, **kwargs):
"""
- __ne__(self, Point pt) -> bool
+ __ne__(self, PyObject other) -> bool
Test for inequality of wx.Point objects.
"""
__safe_for_unpickling__ = True
def __reduce__(self): return (wx.Point, self.Get())
-Point_swigregister = _core_.Point_swigregister
-Point_swigregister(Point)
+_core_.Point_swigregister(Point)
#---------------------------------------------------------------------------
def __eq__(*args, **kwargs):
"""
- __eq__(self, Rect rect) -> bool
+ __eq__(self, PyObject other) -> bool
- Test for equality.
+ Test for equality of wx.Rect objects.
"""
return _core_.Rect___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
"""
- __ne__(self, Rect rect) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality.
+ Test for inequality of wx.Rect objects.
"""
return _core_.Rect___ne__(*args, **kwargs)
__safe_for_unpickling__ = True
def __reduce__(self): return (wx.Rect, self.Get())
-Rect_swigregister = _core_.Rect_swigregister
-Rect_swigregister(Rect)
+_core_.Rect_swigregister(Rect)
def RectPP(*args, **kwargs):
"""
def __eq__(*args, **kwargs):
"""
- __eq__(self, Point2D pt) -> bool
+ __eq__(self, PyObject other) -> bool
- Test for equality
+ Test for equality of wx.Point2D objects.
"""
return _core_.Point2D___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
"""
- __ne__(self, Point2D pt) -> bool
+ __ne__(self, PyObject other) -> bool
- Test for inequality
+ Test for inequality of wx.Point2D objects.
"""
return _core_.Point2D___ne__(*args, **kwargs)
__safe_for_unpickling__ = True
def __reduce__(self): return (wx.Point2D, self.Get())
-Point2D_swigregister = _core_.Point2D_swigregister
-Point2D_swigregister(Point2D)
+_core_.Point2D_swigregister(Point2D)
def Point2DCopy(*args, **kwargs):
"""
"""TellI(self) -> long"""
return _core_.InputStream_TellI(*args, **kwargs)
-InputStream_swigregister = _core_.InputStream_swigregister
-InputStream_swigregister(InputStream)
+_core_.InputStream_swigregister(InputStream)
DefaultPosition = cvar.DefaultPosition
DefaultSize = cvar.DefaultSize
"""LastWrite(self) -> size_t"""
return _core_.OutputStream_LastWrite(*args, **kwargs)
-OutputStream_swigregister = _core_.OutputStream_swigregister
-OutputStream_swigregister(OutputStream)
+_core_.OutputStream_swigregister(OutputStream)
#---------------------------------------------------------------------------
DateTime modif) -> FSFile
"""
_core_.FSFile_swiginit(self,_core_.new_FSFile(*args, **kwargs))
- self.thisown = 0 # It will normally be deleted by the user of the wx.FileSystem
-
__swig_destroy__ = _core_.delete_FSFile
__del__ = lambda self : None;
def GetStream(*args, **kwargs):
"""GetModificationTime(self) -> DateTime"""
return _core_.FSFile_GetModificationTime(*args, **kwargs)
-FSFile_swigregister = _core_.FSFile_swigregister
-FSFile_swigregister(FSFile)
+_core_.FSFile_swigregister(FSFile)
class CPPFileSystemHandler(object):
"""Proxy of C++ CPPFileSystemHandler class"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
-CPPFileSystemHandler_swigregister = _core_.CPPFileSystemHandler_swigregister
-CPPFileSystemHandler_swigregister(CPPFileSystemHandler)
+ __swig_destroy__ = _core_.delete_CPPFileSystemHandler
+ __del__ = lambda self : None;
+_core_.CPPFileSystemHandler_swigregister(CPPFileSystemHandler)
class FileSystemHandler(CPPFileSystemHandler):
"""Proxy of C++ FileSystemHandler class"""
"""GetMimeTypeFromExt(self, String location) -> String"""
return _core_.FileSystemHandler_GetMimeTypeFromExt(*args, **kwargs)
-FileSystemHandler_swigregister = _core_.FileSystemHandler_swigregister
-FileSystemHandler_swigregister(FileSystemHandler)
+_core_.FileSystemHandler_swigregister(FileSystemHandler)
class FileSystem(Object):
"""Proxy of C++ FileSystem class"""
return _core_.FileSystem_URLToFileName(*args, **kwargs)
URLToFileName = staticmethod(URLToFileName)
-FileSystem_swigregister = _core_.FileSystem_swigregister
-FileSystem_swigregister(FileSystem)
+_core_.FileSystem_swigregister(FileSystem)
def FileSystem_AddHandler(*args, **kwargs):
"""FileSystem_AddHandler(CPPFileSystemHandler handler)"""
"""OpenFile(self, FileSystem fs, String location) -> FSFile"""
return _core_.InternetFSHandler_OpenFile(*args, **kwargs)
-InternetFSHandler_swigregister = _core_.InternetFSHandler_swigregister
-InternetFSHandler_swigregister(InternetFSHandler)
+_core_.InternetFSHandler_swigregister(InternetFSHandler)
class ZipFSHandler(CPPFileSystemHandler):
"""Proxy of C++ ZipFSHandler class"""
"""FindNext(self) -> String"""
return _core_.ZipFSHandler_FindNext(*args, **kwargs)
-ZipFSHandler_swigregister = _core_.ZipFSHandler_swigregister
-ZipFSHandler_swigregister(ZipFSHandler)
+_core_.ZipFSHandler_swigregister(ZipFSHandler)
def __wxMemoryFSHandler_AddFile_wxImage(*args, **kwargs):
"""FindNext(self) -> String"""
return _core_.MemoryFSHandler_FindNext(*args, **kwargs)
-MemoryFSHandler_swigregister = _core_.MemoryFSHandler_swigregister
-MemoryFSHandler_swigregister(MemoryFSHandler)
+_core_.MemoryFSHandler_swigregister(MemoryFSHandler)
def MemoryFSHandler_RemoveFile(*args, **kwargs):
"""MemoryFSHandler_RemoveFile(String filename)"""
"""CanRead(self, String name) -> bool"""
return _core_.ImageHandler_CanRead(*args, **kwargs)
+ def CanReadStream(*args, **kwargs):
+ """CanReadStream(self, InputStream stream) -> bool"""
+ return _core_.ImageHandler_CanReadStream(*args, **kwargs)
+
def SetName(*args, **kwargs):
"""SetName(self, String name)"""
return _core_.ImageHandler_SetName(*args, **kwargs)
"""SetMimeType(self, String mimetype)"""
return _core_.ImageHandler_SetMimeType(*args, **kwargs)
-ImageHandler_swigregister = _core_.ImageHandler_swigregister
-ImageHandler_swigregister(ImageHandler)
+_core_.ImageHandler_swigregister(ImageHandler)
class PyImageHandler(ImageHandler):
"""
"""_SetSelf(self, PyObject self)"""
return _core_.PyImageHandler__SetSelf(*args, **kwargs)
-PyImageHandler_swigregister = _core_.PyImageHandler_swigregister
-PyImageHandler_swigregister(PyImageHandler)
+_core_.PyImageHandler_swigregister(PyImageHandler)
class ImageHistogram(object):
"""Proxy of C++ ImageHistogram class"""
"""
return _core_.ImageHistogram_GetCountColour(*args, **kwargs)
-ImageHistogram_swigregister = _core_.ImageHistogram_swigregister
-ImageHistogram_swigregister(ImageHistogram)
+_core_.ImageHistogram_swigregister(ImageHistogram)
def ImageHistogram_MakeKey(*args, **kwargs):
"""
red = property(_core_.Image_RGBValue_red_get, _core_.Image_RGBValue_red_set)
green = property(_core_.Image_RGBValue_green_get, _core_.Image_RGBValue_green_set)
blue = property(_core_.Image_RGBValue_blue_get, _core_.Image_RGBValue_blue_set)
-Image_RGBValue_swigregister = _core_.Image_RGBValue_swigregister
-Image_RGBValue_swigregister(Image_RGBValue)
+_core_.Image_RGBValue_swigregister(Image_RGBValue)
class Image_HSVValue(object):
"""
hue = property(_core_.Image_HSVValue_hue_get, _core_.Image_HSVValue_hue_set)
saturation = property(_core_.Image_HSVValue_saturation_get, _core_.Image_HSVValue_saturation_set)
value = property(_core_.Image_HSVValue_value_get, _core_.Image_HSVValue_value_set)
-Image_HSVValue_swigregister = _core_.Image_HSVValue_swigregister
-Image_HSVValue_swigregister(Image_HSVValue)
+_core_.Image_HSVValue_swigregister(Image_HSVValue)
class Image(Object):
"""
HSVtoRGB = staticmethod(HSVtoRGB)
def __nonzero__(self): return self.Ok()
-Image_swigregister = _core_.Image_swigregister
-Image_swigregister(Image)
+_core_.Image_swigregister(Image)
def ImageFromMime(*args, **kwargs):
"""
A `wx.ImageHandler` for \*.bmp bitmap files.
"""
_core_.BMPHandler_swiginit(self,_core_.new_BMPHandler(*args, **kwargs))
-BMPHandler_swigregister = _core_.BMPHandler_swigregister
-BMPHandler_swigregister(BMPHandler)
+_core_.BMPHandler_swigregister(BMPHandler)
NullImage = cvar.NullImage
IMAGE_OPTION_FILENAME = cvar.IMAGE_OPTION_FILENAME
IMAGE_OPTION_BMP_FORMAT = cvar.IMAGE_OPTION_BMP_FORMAT
A `wx.ImageHandler` for \*.ico icon files.
"""
_core_.ICOHandler_swiginit(self,_core_.new_ICOHandler(*args, **kwargs))
-ICOHandler_swigregister = _core_.ICOHandler_swigregister
-ICOHandler_swigregister(ICOHandler)
+_core_.ICOHandler_swigregister(ICOHandler)
class CURHandler(ICOHandler):
"""A `wx.ImageHandler` for \*.cur cursor files."""
A `wx.ImageHandler` for \*.cur cursor files.
"""
_core_.CURHandler_swiginit(self,_core_.new_CURHandler(*args, **kwargs))
-CURHandler_swigregister = _core_.CURHandler_swigregister
-CURHandler_swigregister(CURHandler)
+_core_.CURHandler_swigregister(CURHandler)
class ANIHandler(CURHandler):
"""A `wx.ImageHandler` for \*.ani animated cursor files."""
A `wx.ImageHandler` for \*.ani animated cursor files.
"""
_core_.ANIHandler_swiginit(self,_core_.new_ANIHandler(*args, **kwargs))
-ANIHandler_swigregister = _core_.ANIHandler_swigregister
-ANIHandler_swigregister(ANIHandler)
+_core_.ANIHandler_swigregister(ANIHandler)
class PNGHandler(ImageHandler):
"""A `wx.ImageHandler` for PNG image files."""
A `wx.ImageHandler` for PNG image files.
"""
_core_.PNGHandler_swiginit(self,_core_.new_PNGHandler(*args, **kwargs))
-PNGHandler_swigregister = _core_.PNGHandler_swigregister
-PNGHandler_swigregister(PNGHandler)
+_core_.PNGHandler_swigregister(PNGHandler)
class GIFHandler(ImageHandler):
"""A `wx.ImageHandler` for GIF image files."""
A `wx.ImageHandler` for GIF image files.
"""
_core_.GIFHandler_swiginit(self,_core_.new_GIFHandler(*args, **kwargs))
-GIFHandler_swigregister = _core_.GIFHandler_swigregister
-GIFHandler_swigregister(GIFHandler)
+_core_.GIFHandler_swigregister(GIFHandler)
class PCXHandler(ImageHandler):
"""A `wx.ImageHandler` for PCX imager files."""
A `wx.ImageHandler` for PCX imager files.
"""
_core_.PCXHandler_swiginit(self,_core_.new_PCXHandler(*args, **kwargs))
-PCXHandler_swigregister = _core_.PCXHandler_swigregister
-PCXHandler_swigregister(PCXHandler)
+_core_.PCXHandler_swigregister(PCXHandler)
class JPEGHandler(ImageHandler):
"""A `wx.ImageHandler` for JPEG/JPG image files."""
A `wx.ImageHandler` for JPEG/JPG image files.
"""
_core_.JPEGHandler_swiginit(self,_core_.new_JPEGHandler(*args, **kwargs))
-JPEGHandler_swigregister = _core_.JPEGHandler_swigregister
-JPEGHandler_swigregister(JPEGHandler)
+_core_.JPEGHandler_swigregister(JPEGHandler)
class PNMHandler(ImageHandler):
"""A `wx.ImageHandler` for PNM image files."""
A `wx.ImageHandler` for PNM image files.
"""
_core_.PNMHandler_swiginit(self,_core_.new_PNMHandler(*args, **kwargs))
-PNMHandler_swigregister = _core_.PNMHandler_swigregister
-PNMHandler_swigregister(PNMHandler)
+_core_.PNMHandler_swigregister(PNMHandler)
class XPMHandler(ImageHandler):
"""A `wx.ImageHandler` for XPM image."""
A `wx.ImageHandler` for XPM image.
"""
_core_.XPMHandler_swiginit(self,_core_.new_XPMHandler(*args, **kwargs))
-XPMHandler_swigregister = _core_.XPMHandler_swigregister
-XPMHandler_swigregister(XPMHandler)
+_core_.XPMHandler_swigregister(XPMHandler)
class TIFFHandler(ImageHandler):
"""A `wx.ImageHandler` for TIFF image files."""
A `wx.ImageHandler` for TIFF image files.
"""
_core_.TIFFHandler_swiginit(self,_core_.new_TIFFHandler(*args, **kwargs))
-TIFFHandler_swigregister = _core_.TIFFHandler_swigregister
-TIFFHandler_swigregister(TIFFHandler)
+_core_.TIFFHandler_swigregister(TIFFHandler)
QUANTIZE_INCLUDE_WINDOWS_COLOURS = _core_.QUANTIZE_INCLUDE_WINDOWS_COLOURS
QUANTIZE_FILL_DESTINATION_IMAGE = _core_.QUANTIZE_FILL_DESTINATION_IMAGE
return _core_.Quantize_Quantize(*args, **kwargs)
Quantize = staticmethod(Quantize)
-Quantize_swigregister = _core_.Quantize_swigregister
-Quantize_swigregister(Quantize)
+_core_.Quantize_swigregister(Quantize)
def Quantize_Quantize(*args, **kwargs):
"""
return _core_.EvtHandler_Connect(*args, **kwargs)
def Disconnect(*args, **kwargs):
- """Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool"""
+ """Disconnect(self, int id, int lastId=-1, EventType eventType=wxEVT_NULL) -> bool"""
return _core_.EvtHandler_Disconnect(*args, **kwargs)
def _setOORInfo(*args, **kwargs):
id = source.GetId()
return event.Unbind(self, id, id2)
-EvtHandler_swigregister = _core_.EvtHandler_swigregister
-EvtHandler_swigregister(EvtHandler)
+_core_.EvtHandler_swigregister(EvtHandler)
#---------------------------------------------------------------------------
EVENT_PROPAGATE_MAX = _core_.EVENT_PROPAGATE_MAX
def NewEventType(*args):
- """NewEventType() -> wxEventType"""
+ """NewEventType() -> EventType"""
return _core_.NewEventType(*args)
wxEVT_NULL = _core_.wxEVT_NULL
wxEVT_FIRST = _core_.wxEVT_FIRST
wxEVT_END_SESSION = _core_.wxEVT_END_SESSION
wxEVT_QUERY_END_SESSION = _core_.wxEVT_QUERY_END_SESSION
wxEVT_ACTIVATE_APP = _core_.wxEVT_ACTIVATE_APP
-wxEVT_POWER = _core_.wxEVT_POWER
wxEVT_ACTIVATE = _core_.wxEVT_ACTIVATE
wxEVT_CREATE = _core_.wxEVT_CREATE
wxEVT_DESTROY = _core_.wxEVT_DESTROY
wxEVT_SIZING = _core_.wxEVT_SIZING
wxEVT_MOVING = _core_.wxEVT_MOVING
wxEVT_HIBERNATE = _core_.wxEVT_HIBERNATE
+wxEVT_COMMAND_TEXT_COPY = _core_.wxEVT_COMMAND_TEXT_COPY
+wxEVT_COMMAND_TEXT_CUT = _core_.wxEVT_COMMAND_TEXT_CUT
+wxEVT_COMMAND_TEXT_PASTE = _core_.wxEVT_COMMAND_TEXT_PASTE
wxEVT_COMMAND_LEFT_CLICK = _core_.wxEVT_COMMAND_LEFT_CLICK
wxEVT_COMMAND_LEFT_DCLICK = _core_.wxEVT_COMMAND_LEFT_DCLICK
wxEVT_COMMAND_RIGHT_CLICK = _core_.wxEVT_COMMAND_RIGHT_CLICK
EVT_CHAR = wx.PyEventBinder( wxEVT_CHAR )
EVT_KEY_DOWN = wx.PyEventBinder( wxEVT_KEY_DOWN )
EVT_KEY_UP = wx.PyEventBinder( wxEVT_KEY_UP )
-EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1)
+EVT_HOTKEY = wx.PyEventBinder( wxEVT_HOTKEY, 1)
EVT_CHAR_HOOK = wx.PyEventBinder( wxEVT_CHAR_HOOK )
EVT_MENU_OPEN = wx.PyEventBinder( wxEVT_MENU_OPEN )
EVT_MENU_CLOSE = wx.PyEventBinder( wxEVT_MENU_CLOSE )
EVT_CHILD_FOCUS = wx.PyEventBinder( wxEVT_CHILD_FOCUS )
EVT_ACTIVATE = wx.PyEventBinder( wxEVT_ACTIVATE )
EVT_ACTIVATE_APP = wx.PyEventBinder( wxEVT_ACTIVATE_APP )
-EVT_HIBERNATE = wx.PyEventBinder( wxEVT_HIBERNATE )
+EVT_HIBERNATE = wx.PyEventBinder( wxEVT_HIBERNATE )
EVT_END_SESSION = wx.PyEventBinder( wxEVT_END_SESSION )
EVT_QUERY_END_SESSION = wx.PyEventBinder( wxEVT_QUERY_END_SESSION )
EVT_DROP_FILES = wx.PyEventBinder( wxEVT_DROP_FILES )
# Scrolling from wxWindow (sent to wxScrolledWindow)
-EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP,
+EVT_SCROLLWIN = wx.PyEventBinder([ wxEVT_SCROLLWIN_TOP,
wxEVT_SCROLLWIN_BOTTOM,
wxEVT_SCROLLWIN_LINEUP,
wxEVT_SCROLLWIN_LINEDOWN,
- wxEVT_SCROLLWIN_PAGEUP,
+ wxEVT_SCROLLWIN_PAGEUP,
wxEVT_SCROLLWIN_PAGEDOWN,
wxEVT_SCROLLWIN_THUMBTRACK,
wxEVT_SCROLLWIN_THUMBRELEASE,
EVT_SCROLLWIN_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLLWIN_THUMBRELEASE )
# Scrolling from wx.Slider and wx.ScrollBar
-EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
- wxEVT_SCROLL_BOTTOM,
- wxEVT_SCROLL_LINEUP,
- wxEVT_SCROLL_LINEDOWN,
- wxEVT_SCROLL_PAGEUP,
- wxEVT_SCROLL_PAGEDOWN,
- wxEVT_SCROLL_THUMBTRACK,
- wxEVT_SCROLL_THUMBRELEASE,
+EVT_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
+ wxEVT_SCROLL_BOTTOM,
+ wxEVT_SCROLL_LINEUP,
+ wxEVT_SCROLL_LINEDOWN,
+ wxEVT_SCROLL_PAGEUP,
+ wxEVT_SCROLL_PAGEDOWN,
+ wxEVT_SCROLL_THUMBTRACK,
+ wxEVT_SCROLL_THUMBRELEASE,
wxEVT_SCROLL_CHANGED,
])
EVT_SCROLL_THUMBRELEASE = wx.PyEventBinder( wxEVT_SCROLL_THUMBRELEASE )
EVT_SCROLL_CHANGED = wx.PyEventBinder( wxEVT_SCROLL_CHANGED )
EVT_SCROLL_ENDSCROLL = EVT_SCROLL_CHANGED
-
+
# Scrolling from wx.Slider and wx.ScrollBar, with an id
-EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
- wxEVT_SCROLL_BOTTOM,
- wxEVT_SCROLL_LINEUP,
- wxEVT_SCROLL_LINEDOWN,
- wxEVT_SCROLL_PAGEUP,
- wxEVT_SCROLL_PAGEDOWN,
- wxEVT_SCROLL_THUMBTRACK,
+EVT_COMMAND_SCROLL = wx.PyEventBinder([ wxEVT_SCROLL_TOP,
+ wxEVT_SCROLL_BOTTOM,
+ wxEVT_SCROLL_LINEUP,
+ wxEVT_SCROLL_LINEDOWN,
+ wxEVT_SCROLL_PAGEUP,
+ wxEVT_SCROLL_PAGEDOWN,
+ wxEVT_SCROLL_THUMBTRACK,
wxEVT_SCROLL_THUMBRELEASE,
wxEVT_SCROLL_CHANGED,
], 1)
EVT_CONTEXT_MENU = wx.PyEventBinder( wxEVT_CONTEXT_MENU )
+EVT_TEXT_CUT = wx.PyEventBinder( wxEVT_COMMAND_TEXT_CUT )
+EVT_TEXT_COPY = wx.PyEventBinder( wxEVT_COMMAND_TEXT_COPY )
+EVT_TEXT_PASTE = wx.PyEventBinder( wxEVT_COMMAND_TEXT_PASTE )
#---------------------------------------------------------------------------
__del__ = lambda self : None;
def SetEventType(*args, **kwargs):
"""
- SetEventType(self, wxEventType typ)
+ SetEventType(self, EventType typ)
Sets the specific type of the event.
"""
def GetEventType(*args, **kwargs):
"""
- GetEventType(self) -> wxEventType
+ GetEventType(self) -> EventType
Returns the identifier of the given event type, such as
``wxEVT_COMMAND_BUTTON_CLICKED``.
"""Clone(self) -> Event"""
return _core_.Event_Clone(*args, **kwargs)
-Event_swigregister = _core_.Event_swigregister
-Event_swigregister(Event)
+_core_.Event_swigregister(Event)
#---------------------------------------------------------------------------
_core_.PropagationDisabler_swiginit(self,_core_.new_PropagationDisabler(*args, **kwargs))
__swig_destroy__ = _core_.delete_PropagationDisabler
__del__ = lambda self : None;
-PropagationDisabler_swigregister = _core_.PropagationDisabler_swigregister
-PropagationDisabler_swigregister(PropagationDisabler)
+_core_.PropagationDisabler_swigregister(PropagationDisabler)
class PropagateOnce(object):
"""
_core_.PropagateOnce_swiginit(self,_core_.new_PropagateOnce(*args, **kwargs))
__swig_destroy__ = _core_.delete_PropagateOnce
__del__ = lambda self : None;
-PropagateOnce_swigregister = _core_.PropagateOnce_swigregister
-PropagateOnce_swigregister(PropagateOnce)
+_core_.PropagateOnce_swigregister(PropagateOnce)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent
+ __init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> CommandEvent
This event class contains information about command events, which
originate from a variety of simple controls, as well as menus and
def GetInt(*args, **kwargs):
"""
- GetInt(self) -> long
+ GetInt(self) -> int
Returns the integer identifier corresponding to a listbox, choice or
radiobox selection (only if the event was a selection, not a
"""Clone(self) -> Event"""
return _core_.CommandEvent_Clone(*args, **kwargs)
-CommandEvent_swigregister = _core_.CommandEvent_swigregister
-CommandEvent_swigregister(CommandEvent)
+_core_.CommandEvent_swigregister(CommandEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent
+ __init__(self, EventType commandType=wxEVT_NULL, int winid=0) -> NotifyEvent
An instance of this class (or one of its derived classes) is sent from
a control when the control's state is being changed and the control
"""
return _core_.NotifyEvent_IsAllowed(*args, **kwargs)
-NotifyEvent_swigregister = _core_.NotifyEvent_swigregister
-NotifyEvent_swigregister(NotifyEvent)
+_core_.NotifyEvent_swigregister(NotifyEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType commandType=wxEVT_NULL, int winid=0, int pos=0,
+ __init__(self, EventType commandType=wxEVT_NULL, int winid=0, int pos=0,
int orient=0) -> ScrollEvent
"""
_core_.ScrollEvent_swiginit(self,_core_.new_ScrollEvent(*args, **kwargs))
"""SetPosition(self, int pos)"""
return _core_.ScrollEvent_SetPosition(*args, **kwargs)
-ScrollEvent_swigregister = _core_.ScrollEvent_swigregister
-ScrollEvent_swigregister(ScrollEvent)
+_core_.ScrollEvent_swigregister(ScrollEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent
+ __init__(self, EventType commandType=wxEVT_NULL, int pos=0, int orient=0) -> ScrollWinEvent
A wx.ScrollWinEvent holds information about scrolling and is sent from
scrolling windows.
"""SetPosition(self, int pos)"""
return _core_.ScrollWinEvent_SetPosition(*args, **kwargs)
-ScrollWinEvent_swigregister = _core_.ScrollWinEvent_swigregister
-ScrollWinEvent_swigregister(ScrollWinEvent)
+_core_.ScrollWinEvent_swigregister(ScrollWinEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType mouseType=wxEVT_NULL) -> MouseEvent
+ __init__(self, EventType mouseType=wxEVT_NULL) -> MouseEvent
Constructs a wx.MouseEvent. Valid event types are:
m_wheelRotation = property(_core_.MouseEvent_m_wheelRotation_get, _core_.MouseEvent_m_wheelRotation_set)
m_wheelDelta = property(_core_.MouseEvent_m_wheelDelta_get, _core_.MouseEvent_m_wheelDelta_set)
m_linesPerAction = property(_core_.MouseEvent_m_linesPerAction_get, _core_.MouseEvent_m_linesPerAction_set)
-MouseEvent_swigregister = _core_.MouseEvent_swigregister
-MouseEvent_swigregister(MouseEvent)
+_core_.MouseEvent_swigregister(MouseEvent)
#---------------------------------------------------------------------------
"""
return _core_.SetCursorEvent_HasCursor(*args, **kwargs)
-SetCursorEvent_swigregister = _core_.SetCursorEvent_swigregister
-SetCursorEvent_swigregister(SetCursorEvent)
+_core_.SetCursorEvent_swigregister(SetCursorEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType eventType=wxEVT_NULL) -> KeyEvent
+ __init__(self, EventType eventType=wxEVT_NULL) -> KeyEvent
Construct a new `wx.KeyEvent`. Valid event types are:
*
return _core_.KeyEvent_GetUnicodeKey(*args, **kwargs)
GetUniChar = GetUnicodeKey
+ def SetUnicodeKey(*args, **kwargs):
+ """
+ SetUnicodeKey(self, int uniChar)
+
+ Set the Unicode value of the key event, but only if this is a Unicode
+ build of wxPython.
+ """
+ return _core_.KeyEvent_SetUnicodeKey(*args, **kwargs)
+
def GetRawKeyCode(*args, **kwargs):
"""
GetRawKeyCode(self) -> unsigned int
m_scanCode = property(_core_.KeyEvent_m_scanCode_get, _core_.KeyEvent_m_scanCode_set)
m_rawCode = property(_core_.KeyEvent_m_rawCode_get, _core_.KeyEvent_m_rawCode_set)
m_rawFlags = property(_core_.KeyEvent_m_rawFlags_get, _core_.KeyEvent_m_rawFlags_set)
-KeyEvent_swigregister = _core_.KeyEvent_swigregister
-KeyEvent_swigregister(KeyEvent)
+_core_.KeyEvent_swigregister(KeyEvent)
#---------------------------------------------------------------------------
m_size = property(_core_.SizeEvent_m_size_get, _core_.SizeEvent_m_size_set)
m_rect = property(_core_.SizeEvent_m_rect_get, _core_.SizeEvent_m_rect_set)
-SizeEvent_swigregister = _core_.SizeEvent_swigregister
-SizeEvent_swigregister(SizeEvent)
+_core_.SizeEvent_swigregister(SizeEvent)
#---------------------------------------------------------------------------
m_pos = property(GetPosition, SetPosition)
m_rect = property(GetRect, SetRect)
-MoveEvent_swigregister = _core_.MoveEvent_swigregister
-MoveEvent_swigregister(MoveEvent)
+_core_.MoveEvent_swigregister(MoveEvent)
#---------------------------------------------------------------------------
def __init__(self, *args, **kwargs):
"""__init__(self, int Id=0) -> PaintEvent"""
_core_.PaintEvent_swiginit(self,_core_.new_PaintEvent(*args, **kwargs))
-PaintEvent_swigregister = _core_.PaintEvent_swigregister
-PaintEvent_swigregister(PaintEvent)
+_core_.PaintEvent_swigregister(PaintEvent)
class NcPaintEvent(Event):
"""Proxy of C++ NcPaintEvent class"""
def __init__(self, *args, **kwargs):
"""__init__(self, int winid=0) -> NcPaintEvent"""
_core_.NcPaintEvent_swiginit(self,_core_.new_NcPaintEvent(*args, **kwargs))
-NcPaintEvent_swigregister = _core_.NcPaintEvent_swigregister
-NcPaintEvent_swigregister(NcPaintEvent)
+_core_.NcPaintEvent_swigregister(NcPaintEvent)
#---------------------------------------------------------------------------
"""
return _core_.EraseEvent_GetDC(*args, **kwargs)
-EraseEvent_swigregister = _core_.EraseEvent_swigregister
-EraseEvent_swigregister(EraseEvent)
+_core_.EraseEvent_swigregister(EraseEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> FocusEvent
+ __init__(self, EventType type=wxEVT_NULL, int winid=0) -> FocusEvent
Constructor
"""
"""SetWindow(self, Window win)"""
return _core_.FocusEvent_SetWindow(*args, **kwargs)
-FocusEvent_swigregister = _core_.FocusEvent_swigregister
-FocusEvent_swigregister(FocusEvent)
+_core_.FocusEvent_swigregister(FocusEvent)
#---------------------------------------------------------------------------
"""
return _core_.ChildFocusEvent_GetWindow(*args, **kwargs)
-ChildFocusEvent_swigregister = _core_.ChildFocusEvent_swigregister
-ChildFocusEvent_swigregister(ChildFocusEvent)
+_core_.ChildFocusEvent_swigregister(ChildFocusEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent
+ __init__(self, EventType type=wxEVT_NULL, bool active=True, int Id=0) -> ActivateEvent
Constructor
"""
"""
return _core_.ActivateEvent_GetActive(*args, **kwargs)
-ActivateEvent_swigregister = _core_.ActivateEvent_swigregister
-ActivateEvent_swigregister(ActivateEvent)
+_core_.ActivateEvent_swigregister(ActivateEvent)
#---------------------------------------------------------------------------
Constructor
"""
_core_.InitDialogEvent_swiginit(self,_core_.new_InitDialogEvent(*args, **kwargs))
-InitDialogEvent_swigregister = _core_.InitDialogEvent_swigregister
-InitDialogEvent_swigregister(InitDialogEvent)
+_core_.InitDialogEvent_swigregister(InitDialogEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent
+ __init__(self, EventType type=wxEVT_NULL, int winid=0, Menu menu=None) -> MenuEvent
Constructor
"""
"""
return _core_.MenuEvent_GetMenu(*args, **kwargs)
-MenuEvent_swigregister = _core_.MenuEvent_swigregister
-MenuEvent_swigregister(MenuEvent)
+_core_.MenuEvent_swigregister(MenuEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType type=wxEVT_NULL, int winid=0) -> CloseEvent
+ __init__(self, EventType type=wxEVT_NULL, int winid=0) -> CloseEvent
Constructor.
"""
"""
return _core_.CloseEvent_CanVeto(*args, **kwargs)
-CloseEvent_swigregister = _core_.CloseEvent_swigregister
-CloseEvent_swigregister(CloseEvent)
+_core_.CloseEvent_swigregister(CloseEvent)
#---------------------------------------------------------------------------
"""GetShow(self) -> bool"""
return _core_.ShowEvent_GetShow(*args, **kwargs)
-ShowEvent_swigregister = _core_.ShowEvent_swigregister
-ShowEvent_swigregister(ShowEvent)
+_core_.ShowEvent_swigregister(ShowEvent)
#---------------------------------------------------------------------------
"""
return _core_.IconizeEvent_Iconized(*args, **kwargs)
-IconizeEvent_swigregister = _core_.IconizeEvent_swigregister
-IconizeEvent_swigregister(IconizeEvent)
+_core_.IconizeEvent_swigregister(IconizeEvent)
#---------------------------------------------------------------------------
An EVT_MAXIMIZE event is sent when a frame is maximized or restored.
"""
_core_.MaximizeEvent_swiginit(self,_core_.new_MaximizeEvent(*args, **kwargs))
-MaximizeEvent_swigregister = _core_.MaximizeEvent_swigregister
-MaximizeEvent_swigregister(MaximizeEvent)
+_core_.MaximizeEvent_swigregister(MaximizeEvent)
#---------------------------------------------------------------------------
"""
return _core_.DropFilesEvent_GetFiles(*args, **kwargs)
-DropFilesEvent_swigregister = _core_.DropFilesEvent_swigregister
-DropFilesEvent_swigregister(DropFilesEvent)
+_core_.DropFilesEvent_swigregister(DropFilesEvent)
#---------------------------------------------------------------------------
return _core_.UpdateUIEvent_GetMode(*args, **kwargs)
GetMode = staticmethod(GetMode)
-UpdateUIEvent_swigregister = _core_.UpdateUIEvent_swigregister
-UpdateUIEvent_swigregister(UpdateUIEvent)
+_core_.UpdateUIEvent_swigregister(UpdateUIEvent)
def UpdateUIEvent_SetUpdateInterval(*args, **kwargs):
"""
Constructor
"""
_core_.SysColourChangedEvent_swiginit(self,_core_.new_SysColourChangedEvent(*args, **kwargs))
-SysColourChangedEvent_swigregister = _core_.SysColourChangedEvent_swigregister
-SysColourChangedEvent_swigregister(SysColourChangedEvent)
+_core_.SysColourChangedEvent_swigregister(SysColourChangedEvent)
#---------------------------------------------------------------------------
"""
return _core_.MouseCaptureChangedEvent_GetCapturedWindow(*args, **kwargs)
-MouseCaptureChangedEvent_swigregister = _core_.MouseCaptureChangedEvent_swigregister
-MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEvent)
+_core_.MouseCaptureChangedEvent_swigregister(MouseCaptureChangedEvent)
#---------------------------------------------------------------------------
def __init__(self, *args, **kwargs):
"""__init__(self) -> DisplayChangedEvent"""
_core_.DisplayChangedEvent_swiginit(self,_core_.new_DisplayChangedEvent(*args, **kwargs))
-DisplayChangedEvent_swigregister = _core_.DisplayChangedEvent_swigregister
-DisplayChangedEvent_swigregister(DisplayChangedEvent)
+_core_.DisplayChangedEvent_swigregister(DisplayChangedEvent)
#---------------------------------------------------------------------------
"""GetChangedWindow(self) -> Window"""
return _core_.PaletteChangedEvent_GetChangedWindow(*args, **kwargs)
-PaletteChangedEvent_swigregister = _core_.PaletteChangedEvent_swigregister
-PaletteChangedEvent_swigregister(PaletteChangedEvent)
+_core_.PaletteChangedEvent_swigregister(PaletteChangedEvent)
#---------------------------------------------------------------------------
"""GetPaletteRealized(self) -> bool"""
return _core_.QueryNewPaletteEvent_GetPaletteRealized(*args, **kwargs)
-QueryNewPaletteEvent_swigregister = _core_.QueryNewPaletteEvent_swigregister
-QueryNewPaletteEvent_swigregister(QueryNewPaletteEvent)
+_core_.QueryNewPaletteEvent_swigregister(QueryNewPaletteEvent)
#---------------------------------------------------------------------------
IsForward = _core_.NavigationKeyEvent_IsForward
WinChange = _core_.NavigationKeyEvent_WinChange
FromTab = _core_.NavigationKeyEvent_FromTab
-NavigationKeyEvent_swigregister = _core_.NavigationKeyEvent_swigregister
-NavigationKeyEvent_swigregister(NavigationKeyEvent)
+_core_.NavigationKeyEvent_swigregister(NavigationKeyEvent)
#---------------------------------------------------------------------------
"""
return _core_.WindowCreateEvent_GetWindow(*args, **kwargs)
-WindowCreateEvent_swigregister = _core_.WindowCreateEvent_swigregister
-WindowCreateEvent_swigregister(WindowCreateEvent)
+_core_.WindowCreateEvent_swigregister(WindowCreateEvent)
class WindowDestroyEvent(CommandEvent):
"""
"""
return _core_.WindowDestroyEvent_GetWindow(*args, **kwargs)
-WindowDestroyEvent_swigregister = _core_.WindowDestroyEvent_swigregister
-WindowDestroyEvent_swigregister(WindowDestroyEvent)
+_core_.WindowDestroyEvent_swigregister(WindowDestroyEvent)
#---------------------------------------------------------------------------
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
"""
- __init__(self, wxEventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent
+ __init__(self, EventType type=wxEVT_NULL, int winid=0, Point pt=DefaultPosition) -> ContextMenuEvent
Constructor.
"""
"""
return _core_.ContextMenuEvent_SetPosition(*args, **kwargs)
-ContextMenuEvent_swigregister = _core_.ContextMenuEvent_swigregister
-ContextMenuEvent_swigregister(ContextMenuEvent)
+_core_.ContextMenuEvent_swigregister(ContextMenuEvent)
#---------------------------------------------------------------------------
return _core_.IdleEvent_CanSend(*args, **kwargs)
CanSend = staticmethod(CanSend)
-IdleEvent_swigregister = _core_.IdleEvent_swigregister
-IdleEvent_swigregister(IdleEvent)
+_core_.IdleEvent_swigregister(IdleEvent)
def IdleEvent_SetMode(*args, **kwargs):
"""
#---------------------------------------------------------------------------
+class ClipboardTextEvent(CommandEvent):
+ """
+ A Clipboard Text event is sent when a window intercepts a text
+ copy/cut/paste message, i.e. the user has cut/copied/pasted data
+ from/into a text control via ctrl-C/X/V, ctrl/shift-del/insert, a
+ popup menu command, etc. NOTE : under windows these events are *NOT*
+ generated automatically for a Rich Edit text control.
+ """
+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
+ __repr__ = _swig_repr
+ def __init__(self, *args, **kwargs):
+ """
+ __init__(self, EventType type=wxEVT_NULL, int winid=0) -> ClipboardTextEvent
+
+ A Clipboard Text event is sent when a window intercepts a text
+ copy/cut/paste message, i.e. the user has cut/copied/pasted data
+ from/into a text control via ctrl-C/X/V, ctrl/shift-del/insert, a
+ popup menu command, etc. NOTE : under windows these events are *NOT*
+ generated automatically for a Rich Edit text control.
+ """
+ _core_.ClipboardTextEvent_swiginit(self,_core_.new_ClipboardTextEvent(*args, **kwargs))
+_core_.ClipboardTextEvent_swigregister(ClipboardTextEvent)
+
+#---------------------------------------------------------------------------
+
class PyEvent(Event):
"""
wx.PyEvent can be used as a base class for implementing custom event
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
- """__init__(self, int winid=0, wxEventType eventType=wxEVT_NULL) -> PyEvent"""
+ """__init__(self, int winid=0, EventType eventType=wxEVT_NULL) -> PyEvent"""
_core_.PyEvent_swiginit(self,_core_.new_PyEvent(*args, **kwargs))
self._SetSelf(self)
"""_GetSelf(self) -> PyObject"""
return _core_.PyEvent__GetSelf(*args, **kwargs)
-PyEvent_swigregister = _core_.PyEvent_swigregister
-PyEvent_swigregister(PyEvent)
+_core_.PyEvent_swigregister(PyEvent)
class PyCommandEvent(CommandEvent):
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
- """__init__(self, wxEventType eventType=wxEVT_NULL, int id=0) -> PyCommandEvent"""
+ """__init__(self, EventType eventType=wxEVT_NULL, int id=0) -> PyCommandEvent"""
_core_.PyCommandEvent_swiginit(self,_core_.new_PyCommandEvent(*args, **kwargs))
self._SetSelf(self)
"""_GetSelf(self) -> PyObject"""
return _core_.PyCommandEvent__GetSelf(*args, **kwargs)
-PyCommandEvent_swigregister = _core_.PyCommandEvent_swigregister
-PyCommandEvent_swigregister(PyCommandEvent)
+_core_.PyCommandEvent_swigregister(PyCommandEvent)
class DateEvent(CommandEvent):
"""
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args, **kwargs):
- """__init__(self, Window win, DateTime dt, wxEventType type) -> DateEvent"""
+ """__init__(self, Window win, DateTime dt, EventType type) -> DateEvent"""
_core_.DateEvent_swiginit(self,_core_.new_DateEvent(*args, **kwargs))
def GetDate(*args, **kwargs):
"""
"""
return _core_.DateEvent_SetDate(*args, **kwargs)
-DateEvent_swigregister = _core_.DateEvent_swigregister
-DateEvent_swigregister(DateEvent)
+_core_.DateEvent_swigregister(DateEvent)
wxEVT_DATE_CHANGED = _core_.wxEVT_DATE_CHANGED
EVT_DATE_CHANGED = wx.PyEventBinder( wxEVT_DATE_CHANGED, 1 )
return _core_.PyApp_GetComCtl32Version(*args, **kwargs)
GetComCtl32Version = staticmethod(GetComCtl32Version)
-PyApp_swigregister = _core_.PyApp_swigregister
-PyApp_swigregister(PyApp)
+_core_.PyApp_swigregister(PyApp)
def PyApp_IsMainLoopRunning(*args):
"""
style=wx.TE_MULTILINE|wx.TE_READONLY)
self.text.AppendText(st)
self.frame.Show(True)
- EVT_CLOSE(self.frame, self.OnCloseWindow)
+ self.frame.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
def OnCloseWindow(self, event):
self._BootstrapApp()
+ def OnPreInit(self):
+ """
+ Things that must be done after _BootstrapApp has done its
+ thing, but would be nice if they were already done by the time
+ that OnInit is called.
+ """
+ wx.StockGDI._initStockObjects()
+
+
def __del__(self, destroy=wx.PyApp.__del__):
self.RestoreStdio() # Just in case the MainLoop was overridden
destroy(self)
return _core_.EventLoop_SetActive(*args, **kwargs)
SetActive = staticmethod(SetActive)
-EventLoop_swigregister = _core_.EventLoop_swigregister
-EventLoop_swigregister(EventLoop)
+_core_.EventLoop_swigregister(EventLoop)
def EventLoop_GetActive(*args):
"""EventLoop_GetActive() -> EventLoop"""
_core_.EventLoopActivator_swiginit(self,_core_.new_EventLoopActivator(*args, **kwargs))
__swig_destroy__ = _core_.delete_EventLoopActivator
__del__ = lambda self : None;
-EventLoopActivator_swigregister = _core_.EventLoopActivator_swigregister
-EventLoopActivator_swigregister(EventLoopActivator)
+_core_.EventLoopActivator_swigregister(EventLoopActivator)
#---------------------------------------------------------------------------
"""
return _core_.AcceleratorEntry_GetCommand(*args, **kwargs)
-AcceleratorEntry_swigregister = _core_.AcceleratorEntry_swigregister
-AcceleratorEntry_swigregister(AcceleratorEntry)
+_core_.AcceleratorEntry_swigregister(AcceleratorEntry)
class AcceleratorTable(Object):
"""
"""Ok(self) -> bool"""
return _core_.AcceleratorTable_Ok(*args, **kwargs)
-AcceleratorTable_swigregister = _core_.AcceleratorTable_swigregister
-AcceleratorTable_swigregister(AcceleratorTable)
+_core_.AcceleratorTable_swigregister(AcceleratorTable)
def GetAccelFromString(*args, **kwargs):
font = property(_core_.VisualAttributes_font_get, _core_.VisualAttributes_font_set)
colFg = property(_core_.VisualAttributes_colFg_get, _core_.VisualAttributes_colFg_set)
colBg = property(_core_.VisualAttributes_colBg_get, _core_.VisualAttributes_colBg_set)
-VisualAttributes_swigregister = _core_.VisualAttributes_swigregister
-VisualAttributes_swigregister(VisualAttributes)
+_core_.VisualAttributes_swigregister(VisualAttributes)
NullAcceleratorTable = cvar.NullAcceleratorTable
PanelNameStr = cvar.PanelNameStr
"""
return _core_.Window_RemoveChild(*args, **kwargs)
+ def SetDoubleBuffered(*args, **kwargs):
+ """
+ SetDoubleBuffered(self, bool on)
+
+ Currently wxGTK2 only.
+ """
+ return _core_.Window_SetDoubleBuffered(*args, **kwargs)
+
def FindWindowById(*args, **kwargs):
"""
FindWindowById(self, long winid) -> Window
"""
return _core_.Window_SetHelpTextForId(*args, **kwargs)
+ def GetHelpTextAtPoint(*args, **kwargs):
+ """
+ GetHelpTextAtPoint(self, Point pt, wxHelpEvent::Origin origin) -> String
+
+ Get the help string associated with the given position in this window.
+
+ Notice that pt may be invalid if event origin is keyboard or unknown
+ and this method should return the global window help text then
+
+ """
+ return _core_.Window_GetHelpTextAtPoint(*args, **kwargs)
+
def GetHelpText(*args, **kwargs):
"""
GetHelpText(self) -> String
self._setCallbackInfo(self, self.__class__)
def SendSizeEvent(self):
- self.GetEventhandler().ProcessEvent(wx.SizeEvent((-1,-1)))
+ self.GetEventHandler().ProcessEvent(wx.SizeEvent((-1,-1)))
-Window_swigregister = _core_.Window_swigregister
-Window_swigregister(Window)
+_core_.Window_swigregister(Window)
def PreWindow(*args, **kwargs):
"""
return _core_.Validator_SetBellOnError(*args, **kwargs)
SetBellOnError = staticmethod(SetBellOnError)
-Validator_swigregister = _core_.Validator_swigregister
-Validator_swigregister(Validator)
+_core_.Validator_swigregister(Validator)
def Validator_IsSilent(*args):
"""Validator_IsSilent() -> bool"""
"""_setCallbackInfo(self, PyObject self, PyObject _class, int incref=True)"""
return _core_.PyValidator__setCallbackInfo(*args, **kwargs)
-PyValidator_swigregister = _core_.PyValidator_swigregister
-PyValidator_swigregister(PyValidator)
+_core_.PyValidator_swigregister(PyValidator)
#---------------------------------------------------------------------------
"""AppendMenu(self, int id, String text, Menu submenu, String help=EmptyString) -> MenuItem"""
return _core_.Menu_AppendMenu(*args, **kwargs)
+ def AppendSubMenu(*args, **kwargs):
+ """AppendSubMenu(self, Menu submenu, String text, String help=EmptyString) -> MenuItem"""
+ return _core_.Menu_AppendSubMenu(*args, **kwargs)
+
def AppendItem(*args, **kwargs):
"""AppendItem(self, MenuItem item) -> MenuItem"""
return _core_.Menu_AppendItem(*args, **kwargs)
"""GetParent(self) -> Menu"""
return _core_.Menu_GetParent(*args, **kwargs)
-Menu_swigregister = _core_.Menu_swigregister
-Menu_swigregister(Menu)
+_core_.Menu_swigregister(Menu)
DefaultValidator = cvar.DefaultValidator
#---------------------------------------------------------------------------
return _core_.MenuBar_GetAutoWindowMenu(*args, **kwargs)
GetAutoWindowMenu = staticmethod(GetAutoWindowMenu)
-MenuBar_swigregister = _core_.MenuBar_swigregister
-MenuBar_swigregister(MenuBar)
+_core_.MenuBar_swigregister(MenuBar)
def MenuBar_SetAutoWindowMenu(*args, **kwargs):
"""MenuBar_SetAutoWindowMenu(bool enable)"""
"""ResetOwnerDrawn(self)"""
return _core_.MenuItem_ResetOwnerDrawn(*args, **kwargs)
-MenuItem_swigregister = _core_.MenuItem_swigregister
-MenuItem_swigregister(MenuItem)
+_core_.MenuItem_swigregister(MenuItem)
def MenuItem_GetLabelFromText(*args, **kwargs):
"""MenuItem_GetLabelFromText(String text) -> String"""
return _core_.Control_GetClassDefaultAttributes(*args, **kwargs)
GetClassDefaultAttributes = staticmethod(GetClassDefaultAttributes)
-Control_swigregister = _core_.Control_swigregister
-Control_swigregister(Control)
+_core_.Control_swigregister(Control)
ControlNameStr = cvar.ControlNameStr
def PreControl(*args, **kwargs):
def Insert(*args, **kwargs):
"""
- Insert(self, String item, int pos, PyObject clientData=None) -> int
+ Insert(self, String item, unsigned int pos, PyObject clientData=None) -> int
Insert an item into the control before the item at the ``pos`` index,
optionally associating some data object with the item.
def Delete(*args, **kwargs):
"""
- Delete(self, int n)
+ Delete(self, unsigned int n)
Deletes the item at the zero-based index 'n' from the control. Note
that it is an error (signalled by a `wx.PyAssertionError` exception if
def GetClientData(*args, **kwargs):
"""
- GetClientData(self, int n) -> PyObject
+ GetClientData(self, unsigned int n) -> PyObject
Returns the client data associated with the given item, (if any.)
"""
def SetClientData(*args, **kwargs):
"""
- SetClientData(self, int n, PyObject clientData)
+ SetClientData(self, unsigned int n, PyObject clientData)
Associate the given client data with the item at position n.
"""
def GetCount(*args, **kwargs):
"""
- GetCount(self) -> size_t
+ GetCount(self) -> unsigned int
Returns the number of items in the control.
"""
def GetString(*args, **kwargs):
"""
- GetString(self, int n) -> String
+ GetString(self, unsigned int n) -> String
Returns the label of the item with the given index.
"""
def SetString(*args, **kwargs):
"""
- SetString(self, int n, String s)
+ SetString(self, unsigned int n, String s)
Sets the label for the given item.
"""
"""
return _core_.ItemContainer_Select(*args, **kwargs)
-ItemContainer_swigregister = _core_.ItemContainer_swigregister
-ItemContainer_swigregister(ItemContainer)
+_core_.ItemContainer_swigregister(ItemContainer)
#---------------------------------------------------------------------------
thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self): raise AttributeError, "No constructor defined"
__repr__ = _swig_repr
-ControlWithItems_swigregister = _core_.ControlWithItems_swigregister
-ControlWithItems_swigregister(ControlWithItems)
+_core_.ControlWithItems_swigregister(ControlWithItems)
#---------------------------------------------------------------------------
class SizerItem(Object):
"""
The wx.SizerItem class is used to track the position, size and other
- attributes of each item managed by a `wx.Sizer`. In normal usage user
- code should never need to deal directly with a wx.SizerItem, but
- custom classes derived from `wx.PySizer` will probably need to use the
- collection of wx.SizerItems held by wx.Sizer when calculating layout.
+ attributes of each item managed by a `wx.Sizer`. It is not usually
+ necessary to use this class because the sizer elements can also be
+ identified by their positions or window or sizer references but
+ sometimes it may be more convenient to use wx.SizerItem directly.
+ Also, custom classes derived from `wx.PySizer` will probably need to
+ use the collection of wx.SizerItems held by wx.Sizer when calculating
+ layout.
:see: `wx.Sizer`, `wx.GBSizerItem`
"""
"""
return _core_.SizerItem_SetUserData(*args, **kwargs)
-SizerItem_swigregister = _core_.SizerItem_swigregister
-SizerItem_swigregister(SizerItem)
+_core_.SizerItem_swigregister(SizerItem)
def SizerItemWindow(*args, **kwargs):
"""
wx.Sizer is the abstract base class used for laying out subwindows in
a window. You cannot use wx.Sizer directly; instead, you will have to
use one of the sizer classes derived from it such as `wx.BoxSizer`,
- `wx.StaticBoxSizer`, `wx.NotebookSizer`, `wx.GridSizer`, `wx.FlexGridSizer`
- and `wx.GridBagSizer`.
+ `wx.StaticBoxSizer`, `wx.GridSizer`, `wx.FlexGridSizer` and
+ `wx.GridBagSizer`.
The concept implemented by sizers in wxWidgets is closely related to
layout tools in other GUI toolkits, such as Java's AWT, the GTK
"""
return _core_.Sizer_ShowItems(*args, **kwargs)
-Sizer_swigregister = _core_.Sizer_swigregister
-Sizer_swigregister(Sizer)
+_core_.Sizer_swigregister(Sizer)
class PySizer(Sizer):
"""
"""_setCallbackInfo(self, PyObject self, PyObject _class)"""
return _core_.PySizer__setCallbackInfo(*args, **kwargs)
-PySizer_swigregister = _core_.PySizer_swigregister
-PySizer_swigregister(PySizer)
+_core_.PySizer_swigregister(PySizer)
#---------------------------------------------------------------------------
"""
return _core_.BoxSizer_SetOrientation(*args, **kwargs)
-BoxSizer_swigregister = _core_.BoxSizer_swigregister
-BoxSizer_swigregister(BoxSizer)
+_core_.BoxSizer_swigregister(BoxSizer)
#---------------------------------------------------------------------------
"""
return _core_.StaticBoxSizer_GetStaticBox(*args, **kwargs)
-StaticBoxSizer_swigregister = _core_.StaticBoxSizer_swigregister
-StaticBoxSizer_swigregister(StaticBoxSizer)
+_core_.StaticBoxSizer_swigregister(StaticBoxSizer)
#---------------------------------------------------------------------------
cols = (nitems + rows - 1) / rows
return (rows, cols)
-GridSizer_swigregister = _core_.GridSizer_swigregister
-GridSizer_swigregister(GridSizer)
+_core_.GridSizer_swigregister(GridSizer)
#---------------------------------------------------------------------------
"""
return _core_.FlexGridSizer_GetColWidths(*args, **kwargs)
-FlexGridSizer_swigregister = _core_.FlexGridSizer_swigregister
-FlexGridSizer_swigregister(FlexGridSizer)
+_core_.FlexGridSizer_swigregister(FlexGridSizer)
class StdDialogButtonSizer(BoxSizer):
"""
"""GetHelpButton(self) -> wxButton"""
return _core_.StdDialogButtonSizer_GetHelpButton(*args, **kwargs)
-StdDialogButtonSizer_swigregister = _core_.StdDialogButtonSizer_swigregister
-StdDialogButtonSizer_swigregister(StdDialogButtonSizer)
+_core_.StdDialogButtonSizer_swigregister(StdDialogButtonSizer)
#---------------------------------------------------------------------------
return _core_.GBPosition_SetCol(*args, **kwargs)
def __eq__(*args, **kwargs):
- """__eq__(self, GBPosition other) -> bool"""
+ """
+ __eq__(self, PyObject other) -> bool
+
+ Compare GBPosition for equality.
+ """
return _core_.GBPosition___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
- """__ne__(self, GBPosition other) -> bool"""
+ """
+ __ne__(self, PyObject other) -> bool
+
+ Compare GBPosition for inequality.
+ """
return _core_.GBPosition___ne__(*args, **kwargs)
def Set(*args, **kwargs):
row = property(GetRow, SetRow)
col = property(GetCol, SetCol)
-GBPosition_swigregister = _core_.GBPosition_swigregister
-GBPosition_swigregister(GBPosition)
+_core_.GBPosition_swigregister(GBPosition)
class GBSpan(object):
"""
return _core_.GBSpan_SetColspan(*args, **kwargs)
def __eq__(*args, **kwargs):
- """__eq__(self, GBSpan other) -> bool"""
+ """
+ __eq__(self, PyObject other) -> bool
+
+ Compare wxGBSpan for equality.
+ """
return _core_.GBSpan___eq__(*args, **kwargs)
def __ne__(*args, **kwargs):
- """__ne__(self, GBSpan other) -> bool"""
+ """
+ __ne__(self, PyObject other) -> bool
+
+ Compare GBSpan for inequality.
+ """
return _core_.GBSpan___ne__(*args, **kwargs)
def Set(*args, **kwargs):
rowspan = property(GetRowspan, SetRowspan)
colspan = property(GetColspan, SetColspan)
-GBSpan_swigregister = _core_.GBSpan_swigregister
-GBSpan_swigregister(GBSpan)
+_core_.GBSpan_swigregister(GBSpan)
class GBSizerItem(SizerItem):
"""
"""
return _core_.GBSizerItem_SetGBSizer(*args, **kwargs)
-GBSizerItem_swigregister = _core_.GBSizerItem_swigregister
-GBSizerItem_swigregister(GBSizerItem)
+_core_.GBSizerItem_swigregister(GBSizerItem)
DefaultSpan = cvar.DefaultSpan
def GBSizerItemWindow(*args, **kwargs):
"""
return _core_.GridBagSizer_CheckForIntersectionPos(*args, **kwargs)
-GridBagSizer_swigregister = _core_.GridBagSizer_swigregister
-GridBagSizer_swigregister(GridBagSizer)
+_core_.GridBagSizer_swigregister(GridBagSizer)
#---------------------------------------------------------------------------
"""
return _core_.IndividualLayoutConstraint_GetEdge(*args, **kwargs)
-IndividualLayoutConstraint_swigregister = _core_.IndividualLayoutConstraint_swigregister
-IndividualLayoutConstraint_swigregister(IndividualLayoutConstraint)
+_core_.IndividualLayoutConstraint_swigregister(IndividualLayoutConstraint)
class LayoutConstraints(Object):
"""
"""AreSatisfied(self) -> bool"""
return _core_.LayoutConstraints_AreSatisfied(*args, **kwargs)
-LayoutConstraints_swigregister = _core_.LayoutConstraints_swigregister
-LayoutConstraints_swigregister(LayoutConstraints)
+_core_.LayoutConstraints_swigregister(LayoutConstraints)
#----------------------------------------------------------------------------
from _controls import *
from _misc import *
-
-# Fixup the stock objects since they can't be used yet. (They will be
-# restored in wx.PyApp.OnInit.)
-_core_._wxPyFixStockObjects()
-
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------