From: Robin Dunn Date: Tue, 3 Feb 2004 23:36:49 +0000 (+0000) Subject: Decorator classes are no longer needed X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4c8347a5ab8b805fe312620898ed220629455812 Decorator classes are no longer needed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/py/wxd/Accelerators.py b/wxPython/wx/py/wxd/Accelerators.py deleted file mode 100644 index 2ab1469239..0000000000 --- a/wxPython/wx/py/wxd/Accelerators.py +++ /dev/null @@ -1,58 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class AcceleratorEntry: - """""" - - def __init__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def GetCommand(self): - """""" - pass - - def GetFlags(self): - """""" - pass - - def GetKeyCode(self): - """""" - pass - - def Set(self): - """""" - pass - - -class AcceleratorTable(Object): - """""" - - def __init__(self): - """""" - pass - - def __del__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/App.py b/wxPython/wx/py/wxd/App.py deleted file mode 100644 index 8da71fecf6..0000000000 --- a/wxPython/wx/py/wxd/App.py +++ /dev/null @@ -1,358 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import EvtHandler -import Parameters as wx - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class PyApp(EvtHandler): - """Python Application base class. - - It is used to: - - - set and get application-wide properties; - - - implement the windowing system message or event loop; - - - initiate application processing via App.OnInit; - - - allow default processing of events not handled by other objects - in the application.""" - - def __init__(self): - """Create a PyApp instance.""" - pass - - def Dispatch(self): - """Dispatches the next event in the windowing system event - queue. - - This can be used for programming event loops.""" - pass - - def ExitMainLoop(self): - """Call this to explicitly exit the main message (event) loop. - - You should normally exit the main loop (and the application) - by deleting the top window, which wxPython does automatically.""" - pass - - def GetAppName(self): - """Return the application name.""" - pass - - def GetAssertMode(self): - """Return the current assertion mode.""" - pass - - def GetAuto3D(self): - """Returns True if 3D control mode is on, False otherwise. - Windows only.""" - pass - - def GetClassName(self): - """Return the class name of the application.""" - pass - - def GetExitOnFrameDelete(self): - """Returns True if the application will exit when the - top-level window is deleted, False otherwise.""" - pass - - def GetPrintMode(self): - """Deprecated.""" - pass - - def GetTopWindow(self): - """Return the top window. - - If the top window hasn't been set using App.SetTopWindow, - this method will find the first top-level window (frame or - dialog) and return that.""" - pass - - def GetUseBestVisual(self): - """Return True if the application will use the best visual on - systems that support different visuals, False otherwise.""" - pass - - def GetVendorName(self): - """Return the application's vendor name.""" - pass - - def Initialized(self): - """Return True if the application has been initialized - (i.e. if App.OnInit has returned successfully). This can be - useful for error message routines to determine which method of - output is best for the current state of the program (some - windowing systems may not like dialogs to pop up before the - main loop has been entered).""" - pass - - def MainLoop(self): - """Called by wxWindows on creation of the application. - Override this if you wish to provide your own - (environment-dependent) main loop. - - Return 0 under X, and the wParam of the WM_QUIT message under - Windows.""" - pass - - def OnAssert(self, file, line, cond, msg): - """Called when an assert failure occurs, i.e. the condition - specified in ASSERT macro evaluated to FALSE. It is only - called in debug mode (when __WXDEBUG__ is defined) as asserts - are not left in the release code at all. - - The base class version show the default assert failure dialog - box proposing to the user to stop the program, continue or - ignore all subsequent asserts. - - file is the name of the source file where the assert occured - - line is the line number in this file where the assert occured - - cond is the condition of the failed assert in string form - - msg is the message specified as argument to ASSERT_MSG or - FAIL_MSG, will be NULL if just ASSERT or FAIL was used""" - pass - - def OnExit(self): - """Provide this member function for any processing which needs - to be done as the application is about to exit. OnExit is - called after destroying all application windows and controls, - but before wxWindows cleanup.""" - pass - - def OnInit(self): - """This must be provided by the application, and will usually - create the application's main window, optionally calling - App.SetTopWindow. - - Return True to continue processing, False to exit the - application.""" - pass - - def OnInitGui(self): - """Called just after the platform's GUI has been initialized, - but before the App.OnInit() gets called. Rarely needed in - practice. Unlike App.OnInit(), does not need to return - True/False.""" - pass - - def Pending(self): - """Return True if unprocessed events are in the window system - event queue.""" - pass - - def ProcessIdle(self): - """Sends the EVT_IDLE event and is called inside the MainLoop. - - You only need this if you implement your own main loop.""" - pass - - def SetAppName(self, name): - """Set the name of the application.""" - pass - - def SetAssertMode(self, mode): - """Lets you control how C++ assertions are processed. - - Valid modes are: PYAPP_ASSERT_SUPPRESS, - PYAPP_ASSERT_EXCEPTION, and PYAPP_ASSERT_DIALOG. Using - _SUPPRESS will give you behavior like the old final builds and - the assert will be ignored, _EXCEPTION is the new default - described above, and _DIALOG is like the default in 2.3.3.1 - and prior hybrid builds. You can also combine _EXCEPTION and - _DIALOG if you wish, although I don't know why you would.""" - pass - - def SetAuto3D(self, auto3D): - """Switches automatic 3D controls on or off. Windows only. - - If auto3D is True, all controls will be created with 3D - appearances unless overridden for a control or dialog. The - default is True.""" - pass - - def SetClassName(self, name): - """Set the class name of the application.""" - pass - - def SetExitOnFrameDelete(self, flag): - """If flag is True (the default), the application will exit - when the top-level frame is deleted. If False, the - application will continue to run.""" - pass - - def SetPrintMode(self, mode): - """Deprecated.""" - pass - - def SetTopWindow(self, window): - """Set the 'top' window. - - You can call this from within App.OnInit to let wxWindows - know which is the main window. You don't have to set the top - window; it is only a convenience so that (for example) certain - dialogs without parents can use a specific window as the top - window. If no top window is specified by the application, - wxWindows just uses the first frame or dialog in its top-level - window list, when it needs to use the top window.""" - pass - - def SetUseBestVisual(self, flag): - """Allows the programmer to specify whether the application - will use the best visual on systems that support several - visual on the same display. This is typically the case under - Solaris and IRIX, where the default visual is only 8-bit - whereas certain applications are supposed to run in TrueColour - mode. - - Note that this function has to be called in the constructor of - the App instance and won't have any effect when called later - on. - - This function currently only has effect under GTK.""" - pass - - def SetVendorName(self, name): - """Sets the name of application's vendor. The name will be - used in registry access.""" - pass - - def Yield(self, onlyIfNeeded=False): - """Yields control to pending messages in the windowing system. - This can be useful, for example, when a time-consuming process - writes to a text window. Without an occasional yield, the - text window will not be updated properly, and on systems with - cooperative multitasking, such as Windows 3.1 other processes - will not respond. - - Caution should be exercised, however, since yielding may allow - the user to perform actions which are not compatible with the - current task. Disabling menu items or whole menus during - processing can avoid unwanted reentrance of code: see - wx.SafeYield for a better function. - - Calling Yield() recursively is normally an error and an assert - failure is raised in debug build if such situation is - detected. However if the the onlyIfNeeded parameter is True, - the method will just silently return False instead.""" - pass - - -from wxPython.wx import wxPlatform -_redirect = (wxPlatform == '__WXMSW__' or wxPlatform == '__WXMAC__') -del wxPlatform - - -class App(PyApp): - """The main application class. - - Inherit from this class and implement an OnInit method that - creates a frame and then calls self.SetTopWindow(frame).""" - - def __init__(self, redirect=_redirect, filename=None, useBestVisual=False): - """Create an App instance. - - redirect defaults to True on Windows and Mac. If redirect is - True, stdio goes to an output window or a file if filename is - not None.""" - pass - - -del _redirect - - -class PyOnDemandOutputWindow: - """Used by App to display stdout and stderr messages if app is - created using App(redirect=True). Mostly useful on Windows or - Mac where apps aren't always launched from the command line.""" - pass - - -class PySimpleApp(App): - """Use instead of App for simple apps with a simple frame or - dialog, particularly for testing.""" - - def __init__(self, flag=0): - """Create a PySimpleApp instance. - - flag is the same as App's redirect parameter to redirect stdio.""" - pass - - def OnInit(self): - """Automatically does a wx.InitAllImageHandlers().""" - pass - - -class PyWidgetTester(App): - """Use instead of App for testing widgets. Provides a frame - containing an instance of a widget. - - Create a PyWidgetTester instance with the desired size for the - frame, then create the widget and show the frame using SetWidget.""" - - def __init__(self, size=(250, 100)): - """Create a PyWidgetTester instance, with no stdio redirection. - - size is for the frame to hold the widget.""" - pass - - def OnInit(self): - """Creates a frame that will hold the widget to be tested.""" - pass - - def SetWidget(self, widgetClass, *args): - """Create a widgetClass instance using the supplied args and - with a frame as parent, then show the frame.""" - pass - - -class SingleInstanceChecker: - """Allows one to check that only a single instance of a program is - running. To do it, you should create an object of this class. As - long as this object is alive, calls to IsAnotherRunning() from - other processes will return True. - - As the object should have the life span as big as possible, it - makes sense to create it either as a global or in App.OnInit().""" - - def __init__(self, name, path=wx.EmptyString): - """Create a SingleInstanceChecker instance. - - name should be as unique as possible. It is used as the mutex - name under Win32 and the lock file name under Unix. - App.GetAppName() and wx.GetUserId() are commonly used. - - path is optional and is ignored under Win32 and used as the - directory to create the lock file in under Unix (default is - wx.GetHomeDir()).""" - pass - - def Create(self, name, path=wx.EmptyString): - """Create a SingleInstanceChecker instance.""" - pass - - def IsAnotherRunning(self): - """Return True if another copy of this program is already running.""" - pass diff --git a/wxPython/wx/py/wxd/Base.py b/wxPython/wx/py/wxd/Base.py deleted file mode 100644 index fd5c706bbb..0000000000 --- a/wxPython/wx/py/wxd/Base.py +++ /dev/null @@ -1,206 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class Object: - """Base class for all other wxPython classes.""" - - def __init__(self): - """Create a Object instance.""" - pass - - def Destroy(self): - """Destroy the Object instance.""" - pass - - def GetClassName(self): - """Return the name of the class.""" - pass - - -class EvtHandler(Object): - """Base class that can handle events from the windowing system. - - If the handler is part of a chain, the destructor will unlink - itself and restore the previous and next handlers so that they - point to each other.""" - - def __init__(self): - """Create a EvtHandler instance.""" - pass - - def AddPendingEvent(self, event): - """Post an event to be processed later. - - event is an Event instance to add to process queue. - - The difference between sending an event (using the - ProcessEvent method) and posting it is that in the first case - the event is processed before the function returns, while in - the second case, the function returns immediately and the - event will be processed sometime later (usually during the - next event loop iteration). - - A copy of event is made by the function, so the original can - be deleted as soon as function returns (it is common that the - original is created on the stack). This requires that the - Event::Clone method be implemented by event so that it can - be duplicated and stored until it gets processed. - - This is also the method to call for inter-thread - communication. It will post events safely between different - threads which means that this method is thread-safe by using - critical sections where needed. In a multi-threaded program, - you often need to inform the main GUI thread about the status - of other working threads and such notification should be done - using this method. - - This method automatically wakes up idle handling if the - underlying window system is currently idle and thus would not - send any idle events. (Waking up idle handling is done - calling WakeUpIdle.)""" - pass - - def Connect(self, id, lastId, eventType, func): - """Connects the given function dynamically with the event - handler, id and event type. This is an alternative to the use - of static event tables. - - id is the identifier (or first of the identifier range) to be - associated with the event handler function. - - lastId is the second part of the identifier range to be - associated with the event handler function. - - eventType is the event type to be associated with this event - handler. - - function is the event handler function. - - userData is data to be associated with the event table entry.""" - pass - - def Disconnect(self, id, lastId=-1, eventType=wx.EVT_NULL): - """Disconnects the given function dynamically from the event - handler, using the specified parameters as search criteria and - returning True if a matching function has been found and - removed. This method can only disconnect functions which have - been added using the EvtHandler.Connect method. There is no - way to disconnect functions connected using the (static) event - tables. - - id is the identifier (or first of the identifier range) to be - associated with the event handler function. - - lastId is the second part of the identifier range to be - associated with the event handler function. - - eventType is the event type to be associated with this event - handler. - - function is the event handler function. - - userData is data to be associated with the event table entry.""" - pass - - def GetEvtHandlerEnabled(self): - """Return True if the event handler is enabled, False - otherwise.""" - pass - - def GetNextHandler(self): - """Return the next handler in the chain.""" - pass - - def GetPreviousHandler(self): - """Return the previous handler in the chain.""" - pass - - def ProcessEvent(self, event): - """Processes an event, searching event tables and calling zero - or more suitable event handler function(s). Return True if a - suitable event handler function was found and executed, and - the function did not call Event.Skip(). - - event is an Event to process. - - Normally, your application would not call this function: it is - called in the wxPython implementation to dispatch incoming - user interface events to the framework (and application). - - However, you might need to call it if implementing new - functionality (such as a new control) where you define new - event types, as opposed to allowing the user to override - virtual functions. - - An instance where you might actually override the ProcessEvent - function is where you want to direct event processing to event - handlers not normally noticed by wxWindows. For example, in - the document/view architecture, documents and views are - potential event handlers. When an event reaches a frame, - ProcessEvent will need to be called on the associated document - and view in case event handler functions are associated with - these objects. The property classes library (Property) also - overrides ProcessEvent for similar reasons. - - The normal order of event table searching is as follows: - - 1. If the object is disabled (via a call to - EvtHandler.SetEvtHandlerEnabled) the function skips to step - (6). - - 2. If the object is a Window, ProcessEvent is recursively - called on the window's Validator. If this returns TRUE, the - function exits. - - 3. SearchEventTable is called for this event handler. If this - fails, the base class table is tried, and so on until no more - tables exist or an appropriate function was found, in which - case the function exits. - - 4. The search is applied down the entire chain of event - handlers (usually the chain has a length of one). If this - succeeds, the function exits. - - 5. If the object is a Window and the event is a - CommandEvent, ProcessEvent is recursively applied to the - parent window's event handler. If this returns TRUE, the - function exits. - - 6. Finally, ProcessEvent is called on the App object. - - See also: - - EvtHandler::SearchEventTable""" - pass - - def SetEvtHandlerEnabled(self, enabled): - """Enable or disable the event handler. - - You can use this function to avoid having to remove the event - handler from the chain, for example when implementing a dialog - editor and changing from edit to test mode.""" - pass - - def SetNextHandler(self, handler): - """Set the pointer to the next handler.""" - pass - - def SetPreviousHandler(self, handler): - """Set the pointer to the previous handler.""" - pass - - diff --git a/wxPython/wx/py/wxd/ClipDragDrop.py b/wxPython/wx/py/wxd/ClipDragDrop.py deleted file mode 100644 index cae61264a2..0000000000 --- a/wxPython/wx/py/wxd/ClipDragDrop.py +++ /dev/null @@ -1,485 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class Clipboard(Object): - """""" - - def AddData(self): - """""" - pass - - def Clear(self): - """""" - pass - - def Close(self): - """""" - pass - - def Flush(self): - """""" - pass - - def GetData(self): - """""" - pass - - def IsOpened(self): - """""" - pass - - def IsSupported(self): - """""" - pass - - def Open(self): - """""" - pass - - def SetData(self): - """""" - pass - - def UsePrimarySelection(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DataFormat: - """""" - - def GetId(self): - """""" - pass - - def GetType(self): - """""" - pass - - def SetId(self): - """""" - pass - - def SetType(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DataObject: - """""" - - def GetAllFormats(self): - """""" - pass - - def GetDataHere(self): - """""" - pass - - def GetDataSize(self): - """""" - pass - - def GetFormatCount(self): - """""" - pass - - def GetPreferredFormat(self): - """""" - pass - - def IsSupportedFormat(self): - """""" - pass - - def SetData(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DataObjectComposite(DataObject): - """""" - - def Add(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DataObjectSimple(DataObject): - """""" - - def GetFormat(self): - """""" - pass - - def SetFormat(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyDataObjectSimple(DataObjectSimple): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class BitmapDataObject(DataObjectSimple): - """""" - - def GetBitmap(self): - """""" - pass - - def SetBitmap(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyBitmapDataObject(BitmapDataObject): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class CustomDataObject(DataObjectSimple): - """""" - - def GetData(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def SetData(self): - """""" - pass - - def TakeData(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DragImage(Object): - """""" - - def BeginDrag(self): - """""" - pass - - def BeginDrag2(self): - """""" - pass - - def EndDrag(self): - """""" - pass - - def GetImageRect(self): - """""" - pass - - def Hide(self): - """""" - pass - - def Move(self): - """""" - pass - - def RedrawImage(self): - """""" - pass - - def SetBackingBitmap(self): - """""" - pass - - def Show(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DropSource: - """""" - - def DoDragDrop(self): - """""" - pass - - def GetDataObject(self): - """""" - pass - - def SetCursor(self): - """""" - pass - - def SetData(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_GiveFeedback(self): - """""" - pass - - -class DropTarget: - """""" - - def __init__(self): - """""" - pass - - -class PyDropTarget(DropTarget): - """""" - - def GetData(self): - """""" - pass - - def GetDataObject(self): - """""" - pass - - def SetDataObject(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_OnDragOver(self): - """""" - pass - - def base_OnDrop(self): - """""" - pass - - def base_OnEnter(self): - """""" - pass - - def base_OnLeave(self): - """""" - pass - - -class FileDataObject(DataObjectSimple): - """""" - - def GetFilenames(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FileDropTarget(PyDropTarget): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_OnData(self): - """""" - pass - - def base_OnDragOver(self): - """""" - pass - - def base_OnDrop(self): - """""" - pass - - def base_OnEnter(self): - """""" - pass - - def base_OnLeave(self): - """""" - pass - - -class TextDataObject(DataObjectSimple): - """""" - - def GetText(self): - """""" - pass - - def GetTextLength(self): - """""" - pass - - def SetText(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyTextDataObject(TextDataObject): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class TextDropTarget(PyDropTarget): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_OnData(self): - """""" - pass - - def base_OnDragOver(self): - """""" - pass - - def base_OnDrop(self): - """""" - pass - - def base_OnEnter(self): - """""" - pass - - def base_OnLeave(self): - """""" - pass - - -class URLDataObject(DataObjectComposite): - """""" - - def GetURL(self): - """""" - pass - - def SetURL(self): - """""" - pass - - def __init__(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/Config.py b/wxPython/wx/py/wxd/Config.py deleted file mode 100644 index 1ef8602f05..0000000000 --- a/wxPython/wx/py/wxd/Config.py +++ /dev/null @@ -1,199 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class ConfigBase: - """""" - - def DeleteAll(self): - """""" - pass - - def DeleteEntry(self): - """""" - pass - - def DeleteGroup(self): - """""" - pass - - def Exists(self): - """""" - pass - - def ExpandEnvVars(self): - """""" - pass - - def Flush(self): - """""" - pass - - def GetAppName(self): - """""" - pass - - def GetEntryType(self): - """""" - pass - - def GetFirstEntry(self): - """""" - pass - - def GetFirstGroup(self): - """""" - pass - - def GetNextEntry(self): - """""" - pass - - def GetNextGroup(self): - """""" - pass - - def GetNumberOfEntries(self): - """""" - pass - - def GetNumberOfGroups(self): - """""" - pass - - def GetPath(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetVendorName(self): - """""" - pass - - def HasEntry(self): - """""" - pass - - def HasGroup(self): - """""" - pass - - def IsExpandingEnvVars(self): - """""" - pass - - def IsRecordingDefaults(self): - """""" - pass - - def Read(self): - """""" - pass - - def ReadBool(self): - """""" - pass - - def ReadFloat(self): - """""" - pass - - def ReadInt(self): - """""" - pass - - def RenameEntry(self): - """""" - pass - - def RenameGroup(self): - """""" - pass - - def SetAppName(self): - """""" - pass - - def SetExpandEnvVars(self): - """""" - pass - - def SetPath(self): - """""" - pass - - def SetRecordDefaults(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetVendorName(self): - """""" - pass - - def Write(self): - """""" - pass - - def WriteBool(self): - """""" - pass - - def WriteFloat(self): - """""" - pass - - def WriteInt(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Config(ConfigBase): - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FileConfig(ConfigBase): - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/Controls.py b/wxPython/wx/py/wxd/Controls.py deleted file mode 100644 index 0ae01ea9ec..0000000000 --- a/wxPython/wx/py/wxd/Controls.py +++ /dev/null @@ -1,1859 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx -from Window import Window - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class Control(Window): - """Base class for a control or 'widget'. - - A control is generally a small window which processes user input - and/or displays one or more item of data.""" - - def __init__(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, - validator=wx.DefaultValidator, name='control'): - """Create a Control instance.""" - pass - - def Command(self, event): - """Simulates the effect of the user issuing a command to the - item. See CommandEvent.""" - pass - - def Create(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, - validator=wx.DefaultValidator, name='control'): - """Create a Control instance.""" - pass - - def GetLabel(self): - """Return the string label for the control.""" - pass - - def SetLabel(self, label): - """Set the string label for the control.""" - pass - - -class PyControl(Control): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_AcceptsFocus(self): - """""" - pass - - def base_AcceptsFocusFromKeyboard(self): - """""" - pass - - def base_AddChild(self): - """""" - pass - - def base_DoGetBestSize(self): - """""" - pass - - def base_DoGetClientSize(self): - """""" - pass - - def base_DoGetPosition(self): - """""" - pass - - def base_DoGetSize(self): - """""" - pass - - def base_DoGetVirtualSize(self): - """""" - pass - - def base_DoMoveWindow(self): - """""" - pass - - def base_DoSetClientSize(self): - """""" - pass - - def base_DoSetSize(self): - """""" - pass - - def base_DoSetVirtualSize(self): - """""" - pass - - def base_GetMaxSize(self): - """""" - pass - - def base_InitDialog(self): - """""" - pass - - def base_RemoveChild(self): - """""" - pass - - def base_TransferDataFromWindow(self): - """""" - pass - - def base_TransferDataToWindow(self): - """""" - pass - - def base_Validate(self): - """""" - pass - - -class ControlWithItems(Control): - """""" - - def Append(self): - """""" - pass - - def AppendItems(self): - """""" - pass - - def Delete(self): - """""" - pass - - def FindString(self): - """""" - pass - - def GetClientData(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetString(self): - """""" - pass - - def GetStringSelection(self): - """""" - pass - - def Number(self): - """""" - pass - - def Select(self): - """""" - pass - - def SetClientData(self): - """""" - pass - - def SetString(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Button(Control): - """A button is a control that contains a text string, and is one - of the most common elements of a GUI. It may be placed on a - dialog box or panel, or indeed almost any other window. - - Styles - ------ - - BU_LEFT: Left-justifies the label. WIN32 only. - - BU_TOP: Aligns the label to the top of the button. WIN32 only. - - BU_RIGHT: Right-justifies the bitmap label. WIN32 only. - - BU_BOTTOM: Aligns the label to the bottom of the button. WIN32 - only. - - BU_EXACTFIT: Creates the button as small as possible instead of - making it of the standard size (which is the default behaviour.) - - Events - ------ - - EVT_BUTTON(win,id,func): Sent when the button is clicked.""" - - def __init__(self, parent, id, label, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, - validator=wx.DefaultValidator, name='button'): - """Create and show a button. - - parent: Parent window. Must not be None. - id: Button identifier. A value of -1 indicates a default value. - label: The text to be displayed on the button. - pos: The button position on it's parent. - size: Button size. If the default size (-1, -1) is specified - then the button is sized appropriately for the text. - style: Window style. See Button. - validator: Window validator. - name: Window name.""" - pass - - def Create(self, parent, id, label, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, - validator=wx.DefaultValidator, name='button'): - """Create and show a button.""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetDefault(self): - """Set the button to be the default item for the panel or - dialog box. - - Under Windows, only dialog box buttons respond to this - function. As normal under Windows and Motif, pressing return - causes the default button to be depressed when the return key - is pressed. See also Window.SetFocus which sets the keyboard - focus for windows and text panel items, and - Panel.SetDefaultItem.""" - pass - - def SetForegroundColour(self): - """""" - pass - - -class BitmapButton(Button): - """""" - - def Create(self): - """""" - pass - - def GetBitmapDisabled(self): - """""" - pass - - def GetBitmapFocus(self): - """""" - pass - - def GetBitmapLabel(self): - """""" - pass - - def GetBitmapSelected(self): - """""" - pass - - def GetMarginX(self): - """""" - pass - - def GetMarginY(self): - """""" - pass - - def SetBitmapDisabled(self): - """""" - pass - - def SetBitmapFocus(self): - """""" - pass - - def SetBitmapLabel(self): - """""" - pass - - def SetBitmapSelected(self): - """""" - pass - - def SetMargins(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CheckBox(Control): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - def SetValue(self): - """""" - pass - - -class Choice(ControlWithItems): - """""" - - def __init__(self): - """""" - pass - - def Clear(self): - """""" - pass - - def Create(self): - """""" - pass - - def GetColumns(self): - """""" - pass - - def Select(self): - """""" - pass - - def SetColumns(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def SetString(self): - """""" - pass - - def SetStringSelection(self): - """""" - pass - - -class Gauge(Control): - """""" - - def Create(self): - """""" - pass - - def GetBezelFace(self): - """""" - pass - - def GetRange(self): - """""" - pass - - def GetShadowWidth(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetBezelFace(self): - """""" - pass - - def SetRange(self): - """""" - pass - - def SetShadowWidth(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class GenericDirCtrl(Control): - """""" - - def Create(self): - """""" - pass - - def ExpandPath(self): - """""" - pass - - def GetDefaultPath(self): - """""" - pass - - def GetFilePath(self): - """""" - pass - - def GetFilter(self): - """""" - pass - - def GetFilterIndex(self): - """""" - pass - - def GetFilterListCtrl(self): - """""" - pass - - def GetPath(self): - """""" - pass - - def GetRootId(self): - """""" - pass - - def GetShowHidden(self): - """""" - pass - - def GetTreeCtrl(self): - """""" - pass - - def SetDefaultPath(self): - """""" - pass - - def SetFilter(self): - """""" - pass - - def SetFilterIndex(self): - """""" - pass - - def SetPath(self): - """""" - pass - - def ShowHidden(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DirFilterListCtrl(Choice): - """""" - - def __init__(self, parent, id=-1, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0): - """""" - pass - - def FillFilterList(filter, defaultFilter): - """""" - pass - - -class ListBox(ControlWithItems): - """""" - - def Clear(self): - """""" - pass - - def Create(self): - """""" - pass - - def Deselect(self): - """""" - pass - - def GetSelections(self): - """""" - pass - - def InsertItems(self): - """""" - pass - - def IsSelected(self): - """""" - pass - - def Selected(self): - """""" - pass - - def Set(self): - """""" - pass - - def SetFirstItem(self): - """""" - pass - - def SetFirstItemStr(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def SetString(self): - """""" - pass - - def SetStringSelection(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CheckListBox(ListBox): - """""" - - def __init__(self): - """""" - pass - - def Check(self): - """""" - pass - - def Create(self): - """""" - pass - - def GetItemHeight(self): - """""" - pass - - def HitTest(self): - """""" - pass - - def HitTestXY(self): - """""" - pass - - def InsertItems(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - -class ListCtrl(Control): - """""" - - def Append(self): - """""" - pass - - def Arrange(self): - """""" - pass - - def AssignImageList(self): - """""" - pass - - def ClearAll(self): - """""" - pass - - def ClearColumnImage(self): - """""" - pass - - def Create(self): - """""" - pass - - def DeleteAllColumns(self): - """""" - pass - - def DeleteAllItems(self): - """""" - pass - - def DeleteColumn(self): - """""" - pass - - def DeleteItem(self): - """""" - pass - - def EnsureVisible(self): - """""" - pass - - def FindItem(self): - """""" - pass - - def FindItemAtPos(self): - """""" - pass - - def FindItemData(self): - """""" - pass - - def Focus(self): - """""" - pass - - def GetColumn(self): - """""" - pass - - def GetColumnCount(self): - """""" - pass - - def GetColumnWidth(self): - """""" - pass - - def GetCountPerPage(self): - """""" - pass - - def GetFirstSelected(self): - """""" - pass - - def GetFocusedItem(self): - """""" - pass - - def GetImageList(self): - """""" - pass - - def GetItem(self): - """""" - pass - - def GetItemBackgroundColour(self): - """""" - pass - - def GetItemCount(self): - """""" - pass - - def GetItemData(self): - """""" - pass - - def GetItemPosition(self): - """""" - pass - - def GetItemRect(self): - """""" - pass - - def GetItemSpacing(self): - """""" - pass - - def GetItemState(self): - """""" - pass - - def GetItemText(self): - """""" - pass - - def GetItemTextColour(self): - """""" - pass - - def GetMainWindow(self): - """""" - pass - - def GetNextItem(self): - """""" - pass - - def GetNextSelected(self): - """""" - pass - - def GetSelectedItemCount(self): - """""" - pass - - def GetTextColour(self): - """""" - pass - - def GetTopItem(self): - """""" - pass - - def HitTest(self): - """""" - pass - - def InsertColumn(self): - """""" - pass - - def InsertColumnInfo(self): - """""" - pass - - def InsertImageItem(self): - """""" - pass - - def InsertImageStringItem(self): - """""" - pass - - def InsertItem(self): - """""" - pass - - def InsertStringItem(self): - """""" - pass - - def IsSelected(self): - """""" - pass - - def IsVirtual(self): - """""" - pass - - def RefreshItem(self): - """""" - pass - - def RefreshItems(self): - """""" - pass - - def ScrollList(self): - """""" - pass - - def Select(self): - """""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetColumn(self): - """""" - pass - - def SetColumnImage(self): - """""" - pass - - def SetColumnWidth(self): - """""" - pass - - def SetForegroundColour(self): - """""" - pass - - def SetImageList(self): - """""" - pass - - def SetItem(self): - """""" - pass - - def SetItemBackgroundColour(self): - """""" - pass - - def SetItemCount(self): - """""" - pass - - def SetItemData(self): - """""" - pass - - def SetItemImage(self): - """""" - pass - - def SetItemPosition(self): - """""" - pass - - def SetItemState(self): - """""" - pass - - def SetItemText(self): - """""" - pass - - def SetItemTextColour(self): - """""" - pass - - def SetSingleStyle(self): - """""" - pass - - def SetStringItem(self): - """""" - pass - - def SetTextColour(self): - """""" - pass - - def SetWindowStyleFlag(self): - """""" - pass - - def SortItems(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class ListItem(Object): - """""" - - def Clear(self): - """""" - pass - - def ClearAttributes(self): - """""" - pass - - def GetAlign(self): - """""" - pass - - def GetAttributes(self): - """""" - pass - - def GetBackgroundColour(self): - """""" - pass - - def GetColumn(self): - """""" - pass - - def GetData(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetId(self): - """""" - pass - - def GetImage(self): - """""" - pass - - def GetMask(self): - """""" - pass - - def GetState(self): - """""" - pass - - def GetText(self): - """""" - pass - - def GetTextColour(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def HasAttributes(self): - """""" - pass - - def SetAlign(self): - """""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetColumn(self): - """""" - pass - - def SetData(self): - """""" - pass - - def SetFont(self): - """""" - pass - - def SetId(self): - """""" - pass - - def SetImage(self): - """""" - pass - - def SetMask(self): - """""" - pass - - def SetState(self): - """""" - pass - - def SetStateMask(self): - """""" - pass - - def SetText(self): - """""" - pass - - def SetTextColour(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class ListItemAttr: - """""" - - def GetBackgroundColour(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetTextColour(self): - """""" - pass - - def HasBackgroundColour(self): - """""" - pass - - def HasFont(self): - """""" - pass - - def HasTextColour(self): - """""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetFont(self): - """""" - pass - - def SetTextColour(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ListView(ListCtrl): - """""" - - def ClearColumnImage(self): - """""" - pass - - def Create(self): - """""" - pass - - def Focus(self): - """""" - pass - - def GetFirstSelected(self): - """""" - pass - - def GetFocusedItem(self): - """""" - pass - - def GetNextSelected(self): - """""" - pass - - def IsSelected(self): - """""" - pass - - def Select(self): - """""" - pass - - def SetColumnImage(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Notebook(Control): - - def __init__(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, name=wx.PyNOTEBOOK_NAME): - """""" - pass - - def AddPage(self, page, text, select=False, imageId=-1): - """""" - pass - - def AdvanceSelection(self, forward=True): - """""" - pass - - def AssignImageList(self, imageList) : - """""" - pass - - def Create(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, name=wx.PyNOTEBOOK_NAME): - """""" - pass - - def DeleteAllPages(self): - """""" - pass - - def DeletePage(self, page): - """""" - pass - - def GetImageList(self): - """""" - pass - - def GetPage(self, page): - """""" - pass - - def GetPageCount(self): - """""" - pass - - def GetPageImage(self, page): - """""" - pass - - def GetPageText(self, page): - """""" - pass - - def GetRowCount(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def InsertPage(self, index, page, text, select=False, imageId=-1): - """""" - pass - - def RemovePage(self, page): - """""" - pass - - def ResizeChildren(self): - """""" - pass - - def SetImageList(self, imageList): - """""" - pass - - def SetPadding(self, padding): - """""" - pass - - def SetPageImage(self, page, image): - """""" - pass - - def SetPageSize(self, size): - """""" - pass - - def SetPageText(self, page, text): - """""" - pass - - def SetSelection(self, page): - """""" - pass - - -class RadioBox(Control): - """""" - - def Create(self): - """""" - pass - - def Enable(self): - """""" - pass - - def EnableItem(self): - """""" - pass - - def FindString(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def GetItemLabel(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetString(self): - """""" - pass - - def GetStringSelection(self): - """""" - pass - - def Number(self): - """""" - pass - - def SetItemLabel(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def SetStringSelection(self): - """""" - pass - - def Show(self): - """""" - pass - - def ShowItem(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class RadioButton(Control): - """""" - - def Create(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ScrollBar(Control): - """""" - - def Create(self): - """""" - pass - - def GetPageSize(self): - """""" - pass - - def GetRange(self): - """""" - pass - - def GetThumbLength(self): - """""" - pass - - def GetThumbPosition(self): - """""" - pass - - def GetThumbSize(self): - """""" - pass - - def IsVertical(self): - """""" - pass - - def SetScrollbar(self): - """""" - pass - - def SetThumbPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Slider(Control): - """""" - - def ClearSel(self): - """""" - pass - - def ClearTicks(self): - """""" - pass - - def Create(self): - """""" - pass - - def GetLineSize(self): - """""" - pass - - def GetMax(self): - """""" - pass - - def GetMin(self): - """""" - pass - - def GetPageSize(self): - """""" - pass - - def GetSelEnd(self): - """""" - pass - - def GetSelStart(self): - """""" - pass - - def GetThumbLength(self): - """""" - pass - - def GetTickFreq(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetLineSize(self): - """""" - pass - - def SetPageSize(self): - """""" - pass - - def SetRange(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def SetThumbLength(self): - """""" - pass - - def SetTick(self): - """""" - pass - - def SetTickFreq(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SpinButton(Control): - """""" - - def Create(self): - """""" - pass - - def GetMax(self): - """""" - pass - - def GetMin(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetRange(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SpinCtrl(SpinButton): - """""" - - def Create(self): - """""" - pass - - def GetMax(self): - """""" - pass - - def GetMin(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetRange(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class StaticBitmap(Control): - """""" - - def Create(self): - """""" - pass - - def GetBitmap(self): - """""" - pass - - def SetBitmap(self): - """""" - pass - - def SetIcon(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class StaticBox(Control): - """""" - - def Create(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class StaticLine(Control): - """""" - - def Create(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class StaticText(Control): - """""" - - def Create(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def SetLabel(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TextAttr: - """""" - - def GetBackgroundColour(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetTextColour(self): - """""" - pass - - def HasBackgroundColour(self): - """""" - pass - - def HasFont(self): - """""" - pass - - def HasTextColour(self): - """""" - pass - - def IsDefault(self): - """""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetFont(self): - """""" - pass - - def SetTextColour(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TextCtrl(Control): - """""" - - def AppendText(self): - """""" - pass - - def CanCopy(self): - """""" - pass - - def CanCut(self): - """""" - pass - - def CanPaste(self): - """""" - pass - - def CanRedo(self): - """""" - pass - - def CanUndo(self): - """""" - pass - - def Clear(self): - """""" - pass - - def Copy(self): - """""" - pass - - def Create(self): - """""" - pass - - def Cut(self): - """""" - pass - - def DiscardEdits(self): - """""" - pass - - def EmulateKeyPress(self): - """""" - pass - - def GetDefaultStyle(self): - """""" - pass - - def GetInsertionPoint(self): - """""" - pass - - def GetLastPosition(self): - """""" - pass - - def GetLineLength(self): - """""" - pass - - def GetLineText(self): - """""" - pass - - def GetNumberOfLines(self): - """""" - pass - - def GetRange(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetString(self): - """""" - pass - - def GetStringSelection(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def IsEditable(self): - """""" - pass - - def IsModified(self): - """""" - pass - - def IsMultiLine(self): - """""" - pass - - def IsSingleLine(self): - """""" - pass - - def LoadFile(self): - """""" - pass - - def Paste(self): - """""" - pass - - def PositionToXY(self): - """""" - pass - - def Redo(self): - """""" - pass - - def Remove(self): - """""" - pass - - def Replace(self): - """""" - pass - - def SaveFile(self): - """""" - pass - - def SelectAll(self): - """""" - pass - - def SetDefaultStyle(self): - """""" - pass - - def SetEditable(self): - """""" - pass - - def SetInsertionPoint(self): - """""" - pass - - def SetInsertionPointEnd(self): - """""" - pass - - def SetMaxLength(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def ShowPosition(self): - """""" - pass - - def Undo(self): - """""" - pass - - def WriteText(self): - """""" - pass - - def XYToPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - def write(self): - """""" - pass - - -class ToggleButton(Control): - """""" - - def Create(self): - """""" - pass - - def GetValue(self): - """""" - pass - - def SetLabel(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/DataStructures.py b/wxPython/wx/py/wxd/DataStructures.py deleted file mode 100644 index 59e533ea3c..0000000000 --- a/wxPython/wx/py/wxd/DataStructures.py +++ /dev/null @@ -1,485 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class Point: - """""" - - def Set(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __getitem__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __len__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - def __setitem__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def __sub__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - -class Point2DDouble: - """""" - - def GetCrossProduct(self): - """""" - pass - - def GetDistance(self): - """""" - pass - - def GetDistanceSquare(self): - """""" - pass - - def GetDotProduct(self): - """""" - pass - - def GetFloor(self): - """""" - pass - - def GetRounded(self): - """""" - pass - - def GetVectorAngle(self): - """""" - pass - - def GetVectorLength(self): - """""" - pass - - def Normalize(self): - """""" - pass - - def SetPolarCoordinates(self): - """""" - pass - - def SetVectorAngle(self): - """""" - pass - - def SetVectorLength(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __getitem__(self): - """""" - pass - - def __iadd__(self): - """""" - pass - - def __idiv__(self): - """""" - pass - - def __imul__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __isub__(self): - """""" - pass - - def __len__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __neg__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - def __setitem__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - -class RealPoint: - """""" - - def Set(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __getitem__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __len__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - def __setitem__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def __sub__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - -class Rect: - """""" - - def GetBottom(self): - """""" - pass - - def GetHeight(self): - """""" - pass - - def GetLeft(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetRight(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def GetTop(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def Inflate(self): - """""" - pass - - def Inside(self): - """""" - pass - - def SetBottom(self): - """""" - pass - - def SetHeight(self): - """""" - pass - - def SetLeft(self): - """""" - pass - - def SetPosition(self): - """""" - pass - - def SetRight(self): - """""" - pass - - def SetSize(self): - """""" - pass - - def SetTop(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def SetX(self): - """""" - pass - - def SetY(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __getitem__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __len__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - def __setitem__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - -class Size: - """""" - - def GetHeight(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def Set(self): - """""" - pass - - def SetHeight(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __getitem__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __len__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - def __setitem__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/DateTime.py b/wxPython/wx/py/wxd/DateTime.py deleted file mode 100644 index a6fb8d7fdd..0000000000 --- a/wxPython/wx/py/wxd/DateTime.py +++ /dev/null @@ -1,553 +0,0 @@ -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class DateSpan: - """""" - - def Add(self): - """""" - pass - - def GetDays(self): - """""" - pass - - def GetMonths(self): - """""" - pass - - def GetTotalDays(self): - """""" - pass - - def GetWeeks(self): - """""" - pass - - def GetYears(self): - """""" - pass - - def Multiply(self): - """""" - pass - - def Neg(self): - """""" - pass - - def SetDays(self): - """""" - pass - - def SetMonths(self): - """""" - pass - - def SetWeeks(self): - """""" - pass - - def SetYears(self): - """""" - pass - - def Subtract(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __mul__(self): - """""" - pass - - def __neg__(self): - """""" - pass - - def __rmul__(self): - """""" - pass - - def __sub__(self): - """""" - pass - - -class DateTime: - """""" - - def AddDS(self): - """""" - pass - - def AddTS(self): - """""" - pass - - def Format(self): - """""" - pass - - def FormatDate(self): - """""" - pass - - def FormatISODate(self): - """""" - pass - - def FormatISOTime(self): - """""" - pass - - def FormatTime(self): - """""" - pass - - def GetDay(self): - """""" - pass - - def GetDayOfYear(self): - """""" - pass - - def GetHour(self): - """""" - pass - - def GetJDN(self): - """""" - pass - - def GetJulianDayNumber(self): - """""" - pass - - def GetLastMonthDay(self): - """""" - pass - - def GetLastWeekDay(self): - """""" - pass - - def GetMJD(self): - """""" - pass - - def GetMillisecond(self): - """""" - pass - - def GetMinute(self): - """""" - pass - - def GetModifiedJulianDayNumber(self): - """""" - pass - - def GetMonth(self): - """""" - pass - - def GetNextWeekDay(self): - """""" - pass - - def GetPrevWeekDay(self): - """""" - pass - - def GetRataDie(self): - """""" - pass - - def GetSecond(self): - """""" - pass - - def GetTicks(self): - """""" - pass - - def GetWeek(self): - """""" - pass - - def GetWeekDay(self): - """""" - pass - - def GetWeekDayInSameWeek(self): - """""" - pass - - def GetWeekOfMonth(self): - """""" - pass - - def GetWeekOfYear(self): - """""" - pass - - def GetYear(self): - """""" - pass - - def GetYearDay(self): - """""" - pass - - def IsBetween(self): - """""" - pass - - def IsDST(self): - """""" - pass - - def IsEarlierThan(self): - """""" - pass - - def IsEqualTo(self): - """""" - pass - - def IsEqualUpTo(self): - """""" - pass - - def IsLaterThan(self): - """""" - pass - - def IsSameDate(self): - """""" - pass - - def IsSameTime(self): - """""" - pass - - def IsStrictlyBetween(self): - """""" - pass - - def IsValid(self): - """""" - pass - - def IsWorkDay(self): - """""" - pass - - def MakeGMT(self): - """""" - pass - - def MakeTimezone(self): - """""" - pass - - def ParseDate(self): - """""" - pass - - def ParseDateTime(self): - """""" - pass - - def ParseFormat(self): - """""" - pass - - def ParseRfc822Date(self): - """""" - pass - - def ParseTime(self): - """""" - pass - - def ResetTime(self): - """""" - pass - - def Set(self): - """""" - pass - - def SetDay(self): - """""" - pass - - def SetHMS(self): - """""" - pass - - def SetHour(self): - """""" - pass - - def SetJDN(self): - """""" - pass - - def SetMillisecond(self): - """""" - pass - - def SetMinute(self): - """""" - pass - - def SetMonth(self): - """""" - pass - - def SetSecond(self): - """""" - pass - - def SetTimeT(self): - """""" - pass - - def SetToCurrent(self): - """""" - pass - - def SetToLastMonthDay(self): - """""" - pass - - def SetToLastWeekDay(self): - """""" - pass - - def SetToNextWeekDay(self): - """""" - pass - - def SetToPrevWeekDay(self): - """""" - pass - - def SetToTheWeek(self): - """""" - pass - - def SetToWeekDay(self): - """""" - pass - - def SetToWeekDayInSameWeek(self): - """""" - pass - - def SetToYearDay(self): - """""" - pass - - def SetYear(self): - """""" - pass - - def Subtract(self): - """""" - pass - - def SubtractDS(self): - """""" - pass - - def SubtractTS(self): - """""" - pass - - def ToGMT(self): - """""" - pass - - def ToTimezone(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __cmp__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def __sub__(self): - """""" - pass - - def _wxDateTimePtr__add__DS(self): - """""" - pass - - def _wxDateTimePtr__add__TS(self): - """""" - pass - - def _wxDateTimePtr__sub__DS(self): - """""" - pass - - def _wxDateTimePtr__sub__DT(self): - """""" - pass - - def _wxDateTimePtr__sub__TS(self): - """""" - pass - - -class TimeSpan: - """""" - - def Abs(self): - """""" - pass - - def Add(self): - """""" - pass - - def Format(self): - """""" - pass - - def GetDays(self): - """""" - pass - - def GetHours(self): - """""" - pass - - def GetMilliseconds(self): - """""" - pass - - def GetMinutes(self): - """""" - pass - - def GetSeconds(self): - """""" - pass - - def GetWeeks(self): - """""" - pass - - def IsEqualTo(self): - """""" - pass - - def IsLongerThan(self): - """""" - pass - - def IsNegative(self): - """""" - pass - - def IsNull(self): - """""" - pass - - def IsPositive(self): - """""" - pass - - def IsShorterThan(self): - """""" - pass - - def Multiply(self): - """""" - pass - - def Neg(self): - """""" - pass - - def Subtract(self): - """""" - pass - - def __add__(self): - """""" - pass - - def __cmp__(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __mul__(self): - """""" - pass - - def __neg__(self): - """""" - pass - - def __rmul__(self): - """""" - pass - - def __sub__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Dialogs.py b/wxPython/wx/py/wxd/Dialogs.py deleted file mode 100644 index 56ca3c2d17..0000000000 --- a/wxPython/wx/py/wxd/Dialogs.py +++ /dev/null @@ -1,471 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -from Frames import Frame -import Parameters as wx -from Window import TopLevelWindow - - -class Dialog(TopLevelWindow): - """""" - - def Centre(self): - """""" - pass - - def Create(self): - """""" - pass - - def CreateButtonSizer(self): - """""" - pass - - def CreateTextSizer(self): - """""" - pass - - def EndModal(self): - """""" - pass - - def GetReturnCode(self): - """""" - pass - - def IsModal(self): - """""" - pass - - def SetModal(self): - """""" - pass - - def SetReturnCode(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ColourDialog(Dialog): - """""" - - def GetColourData(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ColourData(Object): - """""" - - def GetChooseFull(self): - """""" - pass - - def GetColour(self): - """""" - pass - - def GetCustomColour(self): - """""" - pass - - def SetChooseFull(self): - """""" - pass - - def SetColour(self): - """""" - pass - - def SetCustomColour(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ColourDatabase(Object): - """""" - - def Append(self): - """""" - pass - - def FindColour(self): - """""" - pass - - def FindName(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DirDialog(Dialog): - """""" - - def GetMessage(self): - """""" - pass - - def GetPath(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def SetMessage(self): - """""" - pass - - def SetPath(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FileDialog(Dialog): - """""" - - def GetDirectory(self): - """""" - pass - - def GetFilename(self): - """""" - pass - - def GetFilenames(self): - """""" - pass - - def GetFilterIndex(self): - """""" - pass - - def GetMessage(self): - """""" - pass - - def GetPath(self): - """""" - pass - - def GetPaths(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetWildcard(self): - """""" - pass - - def SetDirectory(self): - """""" - pass - - def SetFilename(self): - """""" - pass - - def SetFilterIndex(self): - """""" - pass - - def SetMessage(self): - """""" - pass - - def SetPath(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetWildcard(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FindReplaceDialog(Dialog): - """""" - - def Create(self): - """""" - pass - - def GetData(self): - """""" - pass - - def SetData(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FindReplaceData(Object): - """""" - - def GetFindString(self): - """""" - pass - - def GetFlags(self): - """""" - pass - - def GetReplaceString(self): - """""" - pass - - def SetFindString(self): - """""" - pass - - def SetFlags(self): - """""" - pass - - def SetReplaceString(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FontDialog(Dialog): - """""" - - def GetFontData(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FontData(Object): - """""" - - def EnableEffects(self): - """""" - pass - - def GetAllowSymbols(self): - """""" - pass - - def GetChosenFont(self): - """""" - pass - - def GetColour(self): - """""" - pass - - def GetEnableEffects(self): - """""" - pass - - def GetInitialFont(self): - """""" - pass - - def GetShowHelp(self): - """""" - pass - - def SetAllowSymbols(self): - """""" - pass - - def SetChosenFont(self): - """""" - pass - - def SetColour(self): - """""" - pass - - def SetInitialFont(self): - """""" - pass - - def SetRange(self): - """""" - pass - - def SetShowHelp(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MessageDialog(Dialog): - """""" - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - - -class MultiChoiceDialog(Dialog): - """""" - - def GetSelections(self): - """""" - pass - - def SetSelections(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ProgressDialog(Frame): - """""" - - def Resume(self): - """""" - pass - - def Update(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SingleChoiceDialog(Dialog): - """""" - - def GetSelection(self): - """""" - pass - - def GetStringSelection(self): - """""" - pass - - def SetSelection(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TextEntryDialog(Dialog): - """""" - - def GetValue(self): - """""" - pass - - def SetValue(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/Drawing.py b/wxPython/wx/py/wxd/Drawing.py deleted file mode 100644 index a6819f532c..0000000000 --- a/wxPython/wx/py/wxd/Drawing.py +++ /dev/null @@ -1,1466 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class DC(Object): - """""" - - def BeginDrawing(self): - """""" - pass - - def Blit(self): - """""" - pass - - def CalcBoundingBox(self): - """""" - pass - - def CanDrawBitmap(self): - """""" - pass - - def CanGetTextExtent(self): - """""" - pass - - def Clear(self): - """""" - pass - - def CrossHair(self): - """""" - pass - - def DestroyClippingRegion(self): - """""" - pass - - def DeviceToLogicalX(self): - """""" - pass - - def DeviceToLogicalXRel(self): - """""" - pass - - def DeviceToLogicalY(self): - """""" - pass - - def DeviceToLogicalYRel(self): - """""" - pass - - def DrawArc(self): - """""" - pass - - def DrawBitmap(self): - """""" - pass - - def DrawCircle(self): - """""" - pass - - def DrawEllipse(self): - """""" - pass - - def DrawEllipticArc(self): - """""" - pass - - def DrawIcon(self): - """""" - pass - - def DrawImageLabel(self): - """""" - pass - - def DrawLabel(self): - """""" - pass - - def DrawLine(self): - """""" - pass - - def DrawLineList(self): - """""" - pass - - def DrawLines(self): - """""" - pass - - def DrawPoint(self): - """""" - pass - - def DrawPointList(self): - """""" - pass - - def DrawPolygon(self): - """""" - pass - - def DrawRectangle(self): - """""" - pass - - def DrawRectangleRect(self): - """""" - pass - - def DrawRotatedText(self): - """""" - pass - - def DrawRoundedRectangle(self): - """""" - pass - - def DrawSpline(self): - """""" - pass - - def DrawText(self): - """""" - pass - - def EndDoc(self): - """""" - pass - - def EndDrawing(self): - """""" - pass - - def EndPage(self): - """""" - pass - - def FloodFill(self): - """""" - pass - - def GetBackground(self): - """""" - pass - - def GetBoundingBox(self): - """""" - pass - - def GetBrush(self): - """""" - pass - - def GetCharHeight(self): - """""" - pass - - def GetCharWidth(self): - """""" - pass - - def GetClippingBox(self): - """""" - pass - - def GetDepth(self): - """""" - pass - - def GetDeviceOrigin(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetFullTextExtent(self): - """""" - pass - - def GetLogicalFunction(self): - """""" - pass - - def GetLogicalOrigin(self): - """""" - pass - - def GetLogicalScale(self): - """""" - pass - - def GetMapMode(self): - """""" - pass - - def GetMultiLineTextExtent(self): - """""" - pass - - def GetOptimization(self): - """""" - pass - - def GetPPI(self): - """""" - pass - - def GetPen(self): - """""" - pass - - def GetPixel(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def GetSizeMM(self): - """""" - pass - - def GetSizeTuple(self): - """""" - pass - - def GetTextBackground(self): - """""" - pass - - def GetTextExtent(self): - """""" - pass - - def GetTextForeground(self): - """""" - pass - - def GetUserScale(self): - """""" - pass - - def LogicalToDeviceX(self): - """""" - pass - - def LogicalToDeviceXRel(self): - """""" - pass - - def LogicalToDeviceY(self): - """""" - pass - - def LogicalToDeviceYRel(self): - """""" - pass - - def MaxX(self): - """""" - pass - - def MaxY(self): - """""" - pass - - def MinX(self): - """""" - pass - - def MinY(self): - """""" - pass - - def Ok(self): - """""" - pass - - def ResetBoundingBox(self): - """""" - pass - - def SetAxisOrientation(self): - """""" - pass - - def SetBackground(self): - """""" - pass - - def SetBackgroundMode(self): - """""" - pass - - def SetBrush(self): - """""" - pass - - def SetClippingRect(self): - """""" - pass - - def SetClippingRegion(self): - """""" - pass - - def SetClippingRegionAsRegion(self): - """""" - pass - - def SetDeviceOrigin(self): - """""" - pass - - def SetFont(self): - """""" - pass - - def SetLogicalFunction(self): - """""" - pass - - def SetLogicalOrigin(self): - """""" - pass - - def SetLogicalScale(self): - """""" - pass - - def SetMapMode(self): - """""" - pass - - def SetOptimization(self): - """""" - pass - - def SetPalette(self): - """""" - pass - - def SetPen(self): - """""" - pass - - def SetTextBackground(self): - """""" - pass - - def SetTextForeground(self): - """""" - pass - - def SetUserScale(self): - """""" - pass - - def StartDoc(self): - """""" - pass - - def StartPage(self): - """""" - pass - - def _DrawLineList(self): - """""" - pass - - def _DrawPointList(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ClientDC(DC): - """""" - - def __init__(self): - """""" - pass - - -class MemoryDC(DC): - """""" - - def SelectObject(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class BufferedDC(MemoryDC): - """""" - - def UnMask(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class BufferedPaintDC(BufferedDC): - """""" - - def __init__(self): - """""" - pass - - -class PaintDC(DC): - """""" - - def __init__(self): - """""" - pass - - -class PostScriptDC(DC): - """""" - - def GetPrintData(self): - """""" - pass - - def SetPrintData(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ScreenDC(DC): - """""" - - def EndDrawingOnTop(self): - """""" - pass - - def StartDrawingOnTop(self): - """""" - pass - - def StartDrawingOnTopWin(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class WindowDC(DC): - """""" - - def __init__(self): - """""" - pass - - -class GDIObject(Object): - """""" - - def GetVisible(self): - """""" - pass - - def IsNull(self): - """""" - pass - - def SetVisible(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Bitmap(GDIObject): - """""" - - def CopyFromIcon(self): - """""" - pass - - def GetDepth(self): - """""" - pass - - def GetHeight(self): - """""" - pass - - def GetMask(self): - """""" - pass - - def GetPalette(self): - """""" - pass - - def GetSubBitmap(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def LoadFile(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SaveFile(self): - """""" - pass - - def SetDepth(self): - """""" - pass - - def SetHeight(self): - """""" - pass - - def SetMask(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Brush(GDIObject): - """""" - - def GetColour(self): - """""" - pass - - def GetStipple(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetColour(self): - """""" - pass - - def SetStipple(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class BrushList(Object): - """""" - - def AddBrush(self): - """""" - pass - - def FindOrCreateBrush(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def RemoveBrush(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Colour(Object): - """""" - - def Blue(self): - """""" - pass - - def Get(self): - """""" - pass - - def Green(self): - """""" - pass - - def Ok(self): - """""" - pass - - def Red(self): - """""" - pass - - def Set(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __eq__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __ne__(self): - """""" - pass - - def __nonzero__(self): - """""" - pass - - def __str__(self): - """""" - pass - - def asTuple(self): - """""" - pass - - -class Cursor(GDIObject): - """""" - - def Ok(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Font(Object): - """""" - - def GetEncoding(self): - """""" - pass - - def GetFaceName(self): - """""" - pass - - def GetFamily(self): - """""" - pass - - def GetFamilyString(self): - """""" - pass - - def GetNativeFontInfo(self): - """""" - pass - - def GetNativeFontInfoDesc(self): - """""" - pass - - def GetNativeFontInfoUserDesc(self): - """""" - pass - - def GetNoAntiAliasing(self): - """""" - pass - - def GetPointSize(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetStyleString(self): - """""" - pass - - def GetUnderlined(self): - """""" - pass - - def GetWeight(self): - """""" - pass - - def GetWeightString(self): - """""" - pass - - def IsFixedWidth(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetEncoding(self): - """""" - pass - - def SetFaceName(self): - """""" - pass - - def SetFamily(self): - """""" - pass - - def SetNativeFontInfo(self): - """""" - pass - - def SetNativeFontInfoUserDesc(self): - """""" - pass - - def SetNoAntiAliasing(self): - """""" - pass - - def SetPointSize(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetUnderlined(self): - """""" - pass - - def SetWeight(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def wxFontFromNativeInfoString(self): - """""" - pass - - -class FontList(Object): - """""" - - def AddFont(self): - """""" - pass - - def FindOrCreateFont(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def RemoveFont(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Icon(GDIObject): - """""" - - def CopyFromBitmap(self): - """""" - pass - - def GetDepth(self): - """""" - pass - - def GetHeight(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def LoadFile(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetDepth(self): - """""" - pass - - def SetHeight(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class IconBundle: - """""" - - def AddIcon(self): - """""" - pass - - def AddIconFromFile(self): - """""" - pass - - def GetIcon(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Image(Object): - """""" - - def ConvertToBitmap(self): - """""" - pass - - def ConvertToMono(self): - """""" - pass - - def ConvertToMonoBitmap(self): - """""" - pass - - def Copy(self): - """""" - pass - - def CountColours(self): - """""" - pass - - def Create(self): - """""" - pass - - def Destroy(self): - """""" - pass - - def FindFirstUnusedColour(self): - """""" - pass - - def GetBlue(self): - """""" - pass - - def GetData(self): - """""" - pass - - def GetDataBuffer(self): - """""" - pass - - def GetGreen(self): - """""" - pass - - def GetHeight(self): - """""" - pass - - def GetMaskBlue(self): - """""" - pass - - def GetMaskGreen(self): - """""" - pass - - def GetMaskRed(self): - """""" - pass - - def GetOption(self): - """""" - pass - - def GetOptionInt(self): - """""" - pass - - def GetRed(self): - """""" - pass - - def GetSubImage(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def HasMask(self): - """""" - pass - - def HasOption(self): - """""" - pass - - def LoadFile(self): - """""" - pass - - def LoadMimeFile(self): - """""" - pass - - def LoadMimeStream(self): - """""" - pass - - def LoadStream(self): - """""" - pass - - def Mirror(self): - """""" - pass - - def Ok(self): - """""" - pass - - def Paste(self): - """""" - pass - - def Replace(self): - """""" - pass - - def Rescale(self): - """""" - pass - - def Rotate(self): - """""" - pass - - def Rotate90(self): - """""" - pass - - def SaveFile(self): - """""" - pass - - def SaveMimeFile(self): - """""" - pass - - def Scale(self): - """""" - pass - - def SetData(self): - """""" - pass - - def SetMask(self): - """""" - pass - - def SetMaskColour(self): - """""" - pass - - def SetMaskFromImage(self): - """""" - pass - - def SetOption(self): - """""" - pass - - def SetOptionInt(self): - """""" - pass - - def SetRGB(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ImageList(Object): - """""" - - def Add(self): - """""" - pass - - def AddIcon(self): - """""" - pass - - def AddWithColourMask(self): - """""" - pass - - def Draw(self): - """""" - pass - - def GetImageCount(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def Remove(self): - """""" - pass - - def RemoveAll(self): - """""" - pass - - def Replace(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Mask(Object): - """""" - - def Destroy(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Palette(GDIObject): - """""" - - def GetPixel(self): - """""" - pass - - def GetRGB(self): - """""" - pass - - def Ok(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Pen(GDIObject): - """""" - - def GetCap(self): - """""" - pass - - def GetColour(self): - """""" - pass - - def GetDashes(self): - """""" - pass - - def GetJoin(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetCap(self): - """""" - pass - - def SetColour(self): - """""" - pass - - def SetDashes(self): - """""" - pass - - def SetJoin(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetWidth(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PenList(Object): - """""" - - def AddPen(self): - """""" - pass - - def FindOrCreatePen(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def RemovePen(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyPen(Pen): - """""" - - def SetDashes(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Region(GDIObject): - """""" - - def Clear(self): - """""" - pass - - def Contains(self): - """""" - pass - - def ContainsPoint(self): - """""" - pass - - def ContainsRect(self): - """""" - pass - - def ContainsRectDim(self): - """""" - pass - - def GetBox(self): - """""" - pass - - def Intersect(self): - """""" - pass - - def IntersectRect(self): - """""" - pass - - def IntersectRegion(self): - """""" - pass - - def IsEmpty(self): - """""" - pass - - def Offset(self): - """""" - pass - - def Subtract(self): - """""" - pass - - def SubtractRect(self): - """""" - pass - - def SubtractRegion(self): - """""" - pass - - def Union(self): - """""" - pass - - def UnionRect(self): - """""" - pass - - def UnionRegion(self): - """""" - pass - - def Xor(self): - """""" - pass - - def XorRect(self): - """""" - pass - - def XorRegion(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class RegionIterator(Object): - """""" - - def GetH(self): - """""" - pass - - def GetHeight(self): - """""" - pass - - def GetRect(self): - """""" - pass - - def GetW(self): - """""" - pass - - def GetWidth(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def HaveRects(self): - """""" - pass - - def Next(self): - """""" - pass - - def Reset(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Errors.py b/wxPython/wx/py/wxd/Errors.py deleted file mode 100644 index e1b5fea2bd..0000000000 --- a/wxPython/wx/py/wxd/Errors.py +++ /dev/null @@ -1,25 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -class PyAssertionError(AssertionError): - """""" - pass - - -class PyDeadObjectError(AttributeError): - """Instances of wx objects that are OOR capable will have their - __class__ attribute changed to a _wxPyDeadObject class when the - C++ object is deleted. Subsequent attempts to access object - attributes will raise this error, rather than segfault.""" - pass diff --git a/wxPython/wx/py/wxd/EventFunctions.py b/wxPython/wx/py/wxd/EventFunctions.py deleted file mode 100644 index b9e7f8a822..0000000000 --- a/wxPython/wx/py/wxd/EventFunctions.py +++ /dev/null @@ -1,801 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -def EVT_ACTIVATE(win, func): - """""" - pass - -def EVT_ACTIVATE_APP(win, func): - """""" - pass - -def EVT_BUTTON(win, id, func): - """""" - pass - -def EVT_CALCULATE_LAYOUT(): - """""" - pass - -def EVT_CHAR(win, func): - """""" - pass - -def EVT_CHAR_HOOK(win, func): - """""" - pass - -def EVT_CHECKBOX(win, id, func): - """""" - pass - -def EVT_CHECKLISTBOX(win, id, func): - """""" - pass - -def EVT_CHILD_FOCUS(win, func): - """""" - pass - -def EVT_CHOICE(win, id, func): - """""" - pass - -def EVT_CLOSE(win, func): - """""" - pass - -def EVT_COMBOBOX(win, id, func): - """""" - pass - -def EVT_COMMAND(win, id, cmd, func): - """""" - pass - -def EVT_COMMAND_ENTER(win, id, func): - """""" - pass - -def EVT_COMMAND_FIND(): - """""" - pass - -def EVT_COMMAND_FIND_CLOSE(): - """""" - pass - -def EVT_COMMAND_FIND_NEXT(): - """""" - pass - -def EVT_COMMAND_FIND_REPLACE(): - """""" - pass - -def EVT_COMMAND_FIND_REPLACE_ALL(): - """""" - pass - -def EVT_COMMAND_KILL_FOCUS(win, id, func): - """""" - pass - -def EVT_COMMAND_LEFT_CLICK(win, id, func): - """""" - pass - -def EVT_COMMAND_LEFT_DCLICK(win, id, func): - """""" - pass - -def EVT_COMMAND_RANGE(win, id1, id2, cmd, func): - """""" - pass - -def EVT_COMMAND_RIGHT_CLICK(win, id, func): - """""" - pass - -def EVT_COMMAND_RIGHT_DCLICK(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_BOTTOM(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_LINEDOWN(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_LINEUP(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_PAGEDOWN(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_PAGEUP(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_THUMBRELEASE(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_THUMBTRACK(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLLWIN_TOP(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_BOTTOM(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_ENDSCROLL(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_LINEDOWN(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_LINEUP(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_PAGEDOWN(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_PAGEUP(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_THUMBRELEASE(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_THUMBTRACK(win, id, func): - """""" - pass - -def EVT_COMMAND_SCROLL_TOP(win, id, func): - """""" - pass - -def EVT_COMMAND_SET_FOCUS(win, id, func): - """""" - pass - -def EVT_CONTEXT_MENU(win, func): - """""" - pass - -def EVT_DISPLAY_CHANGED(win, func): - """""" - pass - -def EVT_DROP_FILES(win, func): - """""" - pass - -def EVT_END_PROCESS(eh, id, func): - """""" - pass - -def EVT_END_SESSION(win, func): - """""" - pass - -def EVT_ENTER_WINDOW(win, func): - """""" - pass - -def EVT_ERASE_BACKGROUND(win, func): - """""" - pass - -def EVT_ICONIZE(win, func): - """""" - pass - -def EVT_IDLE(win, func): - """""" - pass - -def EVT_INIT_DIALOG(win, func): - """""" - pass - -def EVT_JOYSTICK_EVENTS(win, func): - """""" - pass - -def EVT_JOY_DOWN(win, func): - """""" - pass - -def EVT_JOY_MOVE(win, func): - """""" - pass - -def EVT_JOY_UP(win, func): - """""" - pass - -def EVT_JOY_ZMOVE(win, func): - """""" - pass - -def EVT_KEY_DOWN(win, func): - """""" - pass - -def EVT_KEY_UP(win, func): - """""" - pass - -def EVT_KILL_FOCUS(win, func): - """""" - pass - -def EVT_LEAVE_WINDOW(win, func): - """""" - pass - -def EVT_LEFT_DCLICK(win, func): - """""" - pass - -def EVT_LEFT_DOWN(win, func): - """""" - pass - -def EVT_LEFT_UP(win, func): - """""" - pass - -def EVT_LISTBOX(win, id, func): - """""" - pass - -def EVT_LISTBOX_DCLICK(win, id, func): - """""" - pass - -def EVT_LIST_BEGIN_DRAG(): - """""" - pass - -def EVT_LIST_BEGIN_LABEL_EDIT(): - """""" - pass - -def EVT_LIST_BEGIN_RDRAG(): - """""" - pass - -def EVT_LIST_CACHE_HINT(): - """""" - pass - -def EVT_LIST_COL_BEGIN_DRAG(): - """""" - pass - -def EVT_LIST_COL_CLICK(): - """""" - pass - -def EVT_LIST_COL_DRAGGING(): - """""" - pass - -def EVT_LIST_COL_END_DRAG(): - """""" - pass - -def EVT_LIST_COL_RIGHT_CLICK(): - """""" - pass - -def EVT_LIST_DELETE_ALL_ITEMS(): - """""" - pass - -def EVT_LIST_DELETE_ITEM(): - """""" - pass - -def EVT_LIST_END_LABEL_EDIT(): - """""" - pass - -def EVT_LIST_GET_INFO(): - """""" - pass - -def EVT_LIST_INSERT_ITEM(): - """""" - pass - -def EVT_LIST_ITEM_ACTIVATED(): - """""" - pass - -def EVT_LIST_ITEM_DESELECTED(): - """""" - pass - -def EVT_LIST_ITEM_FOCUSED(): - """""" - pass - -def EVT_LIST_ITEM_MIDDLE_CLICK(): - """""" - pass - -def EVT_LIST_ITEM_RIGHT_CLICK(): - """""" - pass - -def EVT_LIST_ITEM_SELECTED(): - """""" - pass - -def EVT_LIST_KEY_DOWN(): - """""" - pass - -def EVT_LIST_SET_INFO(): - """""" - pass - -def EVT_MAXIMIZE(win, func): - """""" - pass - -def EVT_MENU(win, id, func): - """""" - pass - -def EVT_MENU_CLOSE(win, func): - """""" - pass - -def EVT_MENU_HIGHLIGHT(win, id, func): - """""" - pass - -def EVT_MENU_HIGHLIGHT_ALL(win, func): - """""" - pass - -def EVT_MENU_OPEN(win, func): - """""" - pass - -def EVT_MENU_RANGE(win, id1, id2, func): - """""" - pass - -def EVT_MIDDLE_DCLICK(win, func): - """""" - pass - -def EVT_MIDDLE_DOWN(win, func): - """""" - pass - -def EVT_MIDDLE_UP(win, func): - """""" - pass - -def EVT_MOTION(win, func): - """""" - pass - -def EVT_MOUSEWHEEL(win, func): - """""" - pass - -def EVT_MOUSE_CAPTURE_CHANGED(win, func): - """""" - pass - -def EVT_MOUSE_EVENTS(win, func): - """""" - pass - -def EVT_MOVE(win, func): - """""" - pass - -def EVT_NAVIGATION_KEY(win, func): - """""" - pass - -def EVT_NOTEBOOK_PAGE_CHANGED(win, id, func): - """""" - pass - -def EVT_NOTEBOOK_PAGE_CHANGING(win, id, func): - """""" - pass - -def EVT_PAINT(win, func): - """""" - pass - -def EVT_PALETTE_CHANGED(win, func): - """""" - pass - -def EVT_QUERY_END_SESSION(win, func): - """""" - pass - -def EVT_QUERY_LAYOUT_INFO(): - """""" - pass - -def EVT_QUERY_NEW_PALETTE(win, func): - """""" - pass - -def EVT_RADIOBOX(win, id, func): - """""" - pass - -def EVT_RADIOBUTTON(win, id, func): - """""" - pass - -def EVT_RIGHT_DCLICK(win, func): - """""" - pass - -def EVT_RIGHT_DOWN(win, func): - """""" - pass - -def EVT_RIGHT_UP(win, func): - """""" - pass - -def EVT_SASH_DRAGGED(win, id, func): - """""" - pass - -def EVT_SASH_DRAGGED_RANGE(win, id1, id2, func): - """""" - pass - -def EVT_SCROLL(win, func): - """""" - pass - -def EVT_SCROLLWIN(win, func): - """""" - pass - -def EVT_SCROLLWIN_BOTTOM(win, func): - """""" - pass - -def EVT_SCROLLWIN_LINEDOWN(win, func): - """""" - pass - -def EVT_SCROLLWIN_LINEUP(win, func): - """""" - pass - -def EVT_SCROLLWIN_PAGEDOWN(win, func): - """""" - pass - -def EVT_SCROLLWIN_PAGEUP(win, func): - """""" - pass - -def EVT_SCROLLWIN_THUMBRELEASE(win, func): - """""" - pass - -def EVT_SCROLLWIN_THUMBTRACK(win, func): - """""" - pass - -def EVT_SCROLLWIN_TOP(win, func): - """""" - pass - -def EVT_SCROLL_BOTTOM(win, func): - """""" - pass - -def EVT_SCROLL_ENDSCROLL(win, func): - """""" - pass - -def EVT_SCROLL_LINEDOWN(win, func): - """""" - pass - -def EVT_SCROLL_LINEUP(win, func): - """""" - pass - -def EVT_SCROLL_PAGEDOWN(win, func): - """""" - pass - -def EVT_SCROLL_PAGEUP(win, func): - """""" - pass - -def EVT_SCROLL_THUMBRELEASE(win, func): - """""" - pass - -def EVT_SCROLL_THUMBTRACK(win, func): - """""" - pass - -def EVT_SCROLL_TOP(win, func): - """""" - pass - -def EVT_SET_CURSOR(win, func): - """""" - pass - -def EVT_SET_FOCUS(win, func): - """""" - pass - -def EVT_SHOW(win, func): - """""" - pass - -def EVT_SIZE(): - """""" - pass - -def EVT_SLIDER(win, id, func): - """""" - pass - -def EVT_SPIN(win, id, func): - """""" - pass - -def EVT_SPINCTRL(win, id, func): - """""" - pass - -def EVT_SPIN_DOWN(win, id, func): - """""" - pass - -def EVT_SPIN_UP(win, id, func): - """""" - pass - -def EVT_SPLITTER_DOUBLECLICKED(win, id, func): - """""" - pass - -def EVT_SPLITTER_SASH_POS_CHANGED(win, id, func): - """""" - pass - -def EVT_SPLITTER_SASH_POS_CHANGING(win, id, func): - """""" - pass - -def EVT_SPLITTER_UNSPLIT(win, id, func): - """""" - pass - -def EVT_SYS_COLOUR_CHANGED(win, func): - """""" - pass - -def EVT_TASKBAR_LEFT_DCLICK(win, func): - """""" - pass - -def EVT_TASKBAR_LEFT_DOWN(win, func): - """""" - pass - -def EVT_TASKBAR_LEFT_UP(win, func): - """""" - pass - -def EVT_TASKBAR_MOVE(win, func): - """""" - pass - -def EVT_TASKBAR_RIGHT_DCLICK(win, func): - """""" - pass - -def EVT_TASKBAR_RIGHT_DOWN(win, func): - """""" - pass - -def EVT_TASKBAR_RIGHT_UP(win, func): - """""" - pass - -def EVT_TEXT(win, id, func): - """""" - pass - -def EVT_TEXT_ENTER(win, id, func): - """""" - pass - -def EVT_TEXT_MAXLEN(win, id, func): - """""" - pass - -def EVT_TEXT_URL(win, id, func): - """""" - pass - -def EVT_TIMER(win, id, func): - """""" - pass - -def EVT_TOGGLEBUTTON(win, id, func): - """""" - pass - -def EVT_TOOL(win, id, func): - """""" - pass - -def EVT_TOOL_ENTER(win, id, func): - """""" - pass - -def EVT_TOOL_RANGE(win, id, id2, func): - """""" - pass - -def EVT_TOOL_RCLICKED(win, id, func): - """""" - pass - -def EVT_TOOL_RCLICKED_RANGE(win, id, id2, func): - """""" - pass - -def EVT_TREE_BEGIN_DRAG(): - """""" - pass - -def EVT_TREE_BEGIN_LABEL_EDIT(): - """""" - pass - -def EVT_TREE_BEGIN_RDRAG(): - """""" - pass - -def EVT_TREE_DELETE_ITEM(): - """""" - pass - -def EVT_TREE_END_DRAG(): - """""" - pass - -def EVT_TREE_END_LABEL_EDIT(): - """""" - pass - -def EVT_TREE_GET_INFO(): - """""" - pass - -def EVT_TREE_ITEM_ACTIVATED(): - """""" - pass - -def EVT_TREE_ITEM_COLLAPSED(): - """""" - pass - -def EVT_TREE_ITEM_COLLAPSING(): - """""" - pass - -def EVT_TREE_ITEM_EXPANDED(): - """""" - pass - -def EVT_TREE_ITEM_EXPANDING(): - """""" - pass - -def EVT_TREE_ITEM_MIDDLE_CLICK(): - """""" - pass - -def EVT_TREE_ITEM_RIGHT_CLICK(): - """""" - pass - -def EVT_TREE_KEY_DOWN(): - """""" - pass - -def EVT_TREE_SEL_CHANGED(): - """""" - pass - -def EVT_TREE_SEL_CHANGING(): - """""" - pass - -def EVT_TREE_SET_INFO(): - """""" - pass - -def EVT_UPDATE_UI(win, id, func): - """""" - pass - -def EVT_UPDATE_UI_RANGE(win, id, id2, func): - """""" - pass - -def EVT_VLBOX(win, id, func): - """""" - pass - -def EVT_WINDOW_CREATE(win, func): - """""" - pass - -def EVT_WINDOW_CREATE_ID(win, id, func): - """""" - pass - -def EVT_WINDOW_DESTROY(win, func): - """""" - pass - -def EVT_WINDOW_DESTROY_ID(win, id, func): - """""" - pass diff --git a/wxPython/wx/py/wxd/Events.py b/wxPython/wx/py/wxd/Events.py deleted file mode 100644 index c9e5a642e3..0000000000 --- a/wxPython/wx/py/wxd/Events.py +++ /dev/null @@ -1,1275 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class Event(Object): - """""" - - def __init__(self): - """""" - pass - - def Clone(self): - """""" - pass - - def GetEventObject(self): - """""" - pass - - def GetEventType(self): - """""" - pass - - def GetId(self): - """""" - pass - - def GetSkipped(self): - """""" - pass - - def GetTimestamp(self): - """""" - pass - - def SetEventObject(self): - """""" - pass - - def SetEventType(self): - """""" - pass - - def SetId(self): - """""" - pass - - def SetTimestamp(self): - """""" - pass - - def Skip(self): - """""" - pass - - -class PyEvent(Event): - """""" - - def GetSelf(self): - """""" - pass - - def SetSelf(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ActivateEvent(Event): - """""" - - def GetActive(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CalculateLayoutEvent(Event): - """""" - - def GetFlags(self): - """""" - pass - - def GetRect(self): - """""" - pass - - def SetFlags(self): - """""" - pass - - def SetRect(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CloseEvent(Event): - """""" - - def CanVeto(self): - """""" - pass - - def GetLoggingOff(self): - """""" - pass - - def GetVeto(self): - """""" - pass - - def SetCanVeto(self): - """""" - pass - - def SetLoggingOff(self): - """""" - pass - - def Veto(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CommandEvent(Event): - """""" - - def __init__(self): - """""" - pass - - def Checked(self): - """""" - pass - - def GetClientData(self): - """""" - pass - - def GetExtraLong(self): - """""" - pass - - def GetInt(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetString(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - def IsSelection(self): - """""" - pass - - def SetExtraLong(self): - """""" - pass - - def SetInt(self): - """""" - pass - - def SetString(self): - """""" - pass - - -class ChildFocusEvent(CommandEvent): - """""" - - def GetWindow(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ContextMenuEvent(CommandEvent): - """""" - - def GetPosition(self): - """""" - pass - - def SetPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DisplayChangedEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class DropFilesEvent(Event): - """""" - - def GetFiles(self): - """""" - pass - - def GetNumberOfFiles(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class EraseEvent(Event): - """""" - - def GetDC(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FindDialogEvent(CommandEvent): - """""" - - def GetDialog(self): - """""" - pass - - def GetFindString(self): - """""" - pass - - def GetFlags(self): - """""" - pass - - def GetReplaceString(self): - """""" - pass - - def SetFindString(self): - """""" - pass - - def SetFlags(self): - """""" - pass - - def SetReplaceString(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FocusEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class IconizeEvent(Event): - """""" - - def Iconized(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class IdleEvent(Event): - """""" - - def MoreRequested(self): - """""" - pass - - def RequestMore(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class InitDialogEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class JoystickEvent(Event): - """""" - - def ButtonDown(self): - """""" - pass - - def ButtonIsDown(self): - """""" - pass - - def ButtonUp(self): - """""" - pass - - def GetButtonChange(self): - """""" - pass - - def GetButtonState(self): - """""" - pass - - def GetJoystick(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetZPosition(self): - """""" - pass - - def IsButton(self): - """""" - pass - - def IsMove(self): - """""" - pass - - def IsZMove(self): - """""" - pass - - def SetButtonChange(self): - """""" - pass - - def SetButtonState(self): - """""" - pass - - def SetJoystick(self): - """""" - pass - - def SetPosition(self): - """""" - pass - - def SetZPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class KeyEvent(Event): - """""" - - def AltDown(self): - """""" - pass - - def ControlDown(self): - """""" - pass - - def GetKeyCode(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetPositionTuple(self): - """""" - pass - - def GetRawKeyCode(self): - """""" - pass - - def GetRawKeyFlags(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def HasModifiers(self): - """""" - pass - - def KeyCode(self): - """""" - pass - - def MetaDown(self): - """""" - pass - - def ShiftDown(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class MaximizeEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class MenuEvent(Event): - """""" - - def GetMenuId(self): - """""" - pass - - def IsPopup(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MouseCaptureChangedEvent(Event): - """""" - - def GetCapturedWindow(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MouseEvent(Event): - """""" - - def AltDown(self): - """""" - pass - - def Button(self): - """""" - pass - - def ButtonDClick(self): - """""" - pass - - def ButtonDown(self): - """""" - pass - - def ButtonIsDown(self): - """""" - pass - - def ButtonUp(self): - """""" - pass - - def ControlDown(self): - """""" - pass - - def Dragging(self): - """""" - pass - - def Entering(self): - """""" - pass - - def GetLinesPerAction(self): - """""" - pass - - def GetLogicalPosition(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetPositionTuple(self): - """""" - pass - - def GetWheelDelta(self): - """""" - pass - - def GetWheelRotation(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def IsButton(self): - """""" - pass - - def Leaving(self): - """""" - pass - - def LeftDClick(self): - """""" - pass - - def LeftDown(self): - """""" - pass - - def LeftIsDown(self): - """""" - pass - - def LeftUp(self): - """""" - pass - - def MetaDown(self): - """""" - pass - - def MiddleDClick(self): - """""" - pass - - def MiddleDown(self): - """""" - pass - - def MiddleIsDown(self): - """""" - pass - - def MiddleUp(self): - """""" - pass - - def Moving(self): - """""" - pass - - def RightDClick(self): - """""" - pass - - def RightDown(self): - """""" - pass - - def RightIsDown(self): - """""" - pass - - def RightUp(self): - """""" - pass - - def ShiftDown(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class MoveEvent(Event): - """""" - - def GetPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class NavigationKeyEvent(Event): - """""" - - def GetCurrentFocus(self): - """""" - pass - - def GetDirection(self): - """""" - pass - - def IsWindowChange(self): - """""" - pass - - def SetCurrentFocus(self): - """""" - pass - - def SetDirection(self): - """""" - pass - - def SetWindowChange(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class NotifyEvent(CommandEvent): - """""" - - def __init__(self): - """""" - pass - - def Allow(self): - """""" - pass - - def IsAllowed(self): - """""" - pass - - def Veto(self): - """""" - pass - - -class ListEvent(NotifyEvent): - """""" - - def GetCacheFrom(self): - """""" - pass - - def GetCacheTo(self): - """""" - pass - - def GetCode(self): - """""" - pass - - def GetColumn(self): - """""" - pass - - def GetData(self): - """""" - pass - - def GetImage(self): - """""" - pass - - def GetIndex(self): - """""" - pass - - def GetItem(self): - """""" - pass - - def GetKeyCode(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetMask(self): - """""" - pass - - def GetPoint(self): - """""" - pass - - def GetText(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class NotebookEvent(NotifyEvent): - - def __init__(self, commandType=wx.EVT_NULL, id=0, nSel=-1, nOldSel=-1): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetOldSelection(self): - """""" - pass - - def SetOldSelection(self, page): - """""" - pass - - def SetSelection(self, page): - """""" - pass - - -class PaintEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class PaletteChangedEvent(Event): - """""" - - def GetChangedWindow(self): - """""" - pass - - def SetChangedWindow(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ProcessEvent(Event): - """""" - - def GetExitCode(self): - """""" - pass - - def GetPid(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class PyCommandEvent(CommandEvent): - """""" - - def GetSelf(self): - """""" - pass - - def SetSelf(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class QueryLayoutInfoEvent(Event): - """""" - - def GetAlignment(self): - """""" - pass - - def GetFlags(self): - """""" - pass - - def GetOrientation(self): - """""" - pass - - def GetRequestedLength(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def SetAlignment(self): - """""" - pass - - def SetFlags(self): - """""" - pass - - def SetOrientation(self): - """""" - pass - - def SetRequestedLength(self): - """""" - pass - - def SetSize(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class QueryNewPaletteEvent(Event): - """""" - - def GetPaletteRealized(self): - """""" - pass - - def SetPaletteRealized(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SashEvent(CommandEvent): - """""" - - def GetDragRect(self): - """""" - pass - - def GetDragStatus(self): - """""" - pass - - def GetEdge(self): - """""" - pass - - def SetDragRect(self): - """""" - pass - - def SetDragStatus(self): - """""" - pass - - def SetEdge(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ScrollEvent(CommandEvent): - """""" - - def GetOrientation(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ScrollWinEvent(Event): - """""" - - def GetOrientation(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SetCursorEvent(Event): - """""" - - def GetCursor(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def HasCursor(self): - """""" - pass - - def SetCursor(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ShowEvent(Event): - """""" - - def GetShow(self): - """""" - pass - - def SetShow(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SizeEvent(Event): - """""" - - def GetSize(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SpinEvent(ScrollEvent): - """""" - - def __init__(self): - """""" - pass - - -class SplitterEvent(NotifyEvent): - """""" - - def GetSashPosition(self): - """""" - pass - - def GetWindowBeingRemoved(self): - """""" - pass - - def GetX(self): - """""" - pass - - def GetY(self): - """""" - pass - - def SetSashPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SysColourChangedEvent(Event): - """""" - - def __init__(self): - """""" - pass - - -class TextUrlEvent(CommandEvent): - """""" - - def GetMouseEvent(self): - """""" - pass - - def GetURLEnd(self): - """""" - pass - - def GetURLStart(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TimerEvent(Event): - """""" - - def GetInterval(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TreeEvent(NotifyEvent): - """""" - - def GetCode(self): - """""" - pass - - def GetItem(self): - """""" - pass - - def GetKeyCode(self): - """""" - pass - - def GetKeyEvent(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetOldItem(self): - """""" - pass - - def GetPoint(self): - """""" - pass - - def IsEditCancelled(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class UpdateUIEvent(Event): - """""" - - def Check(self): - """""" - pass - - def Enable(self): - """""" - pass - - def GetChecked(self): - """""" - pass - - def GetEnabled(self): - """""" - pass - - def GetSetChecked(self): - """""" - pass - - def GetSetEnabled(self): - """""" - pass - - def GetSetText(self): - """""" - pass - - def GetText(self): - """""" - pass - - def SetText(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class WindowCreateEvent(CommandEvent): - """""" - - def GetWindow(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class WindowDestroyEvent(CommandEvent): - """""" - - def GetWindow(self): - """""" - pass - - def __init__(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/FileSystem.py b/wxPython/wx/py/wxd/FileSystem.py deleted file mode 100644 index 41780660c4..0000000000 --- a/wxPython/wx/py/wxd/FileSystem.py +++ /dev/null @@ -1,193 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class FSFile(Object): - """""" - - def GetAnchor(self): - """""" - pass - - def GetLocation(self): - """""" - pass - - def GetMimeType(self): - """""" - pass - - def GetModificationTime(self): - """""" - pass - - def GetStream(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FileSystem(Object): - """""" - - def ChangePathTo(self): - """""" - pass - - def FindFirst(self): - """""" - pass - - def FindNext(self): - """""" - pass - - def GetPath(self): - """""" - pass - - def OpenFile(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class CPPFileSystemHandler(Object): - """""" - - def __init__(self): - """""" - pass - - -class FileSystemHandler(CPPFileSystemHandler): - """""" - - def CanOpen(self): - """""" - pass - - def FindFirst(self): - """""" - pass - - def FindNext(self): - """""" - pass - - def GetAnchor(self): - """""" - pass - - def GetLeftLocation(self): - """""" - pass - - def GetMimeTypeFromExt(self): - """""" - pass - - def GetProtocol(self): - """""" - pass - - def GetRightLocation(self): - """""" - pass - - def OpenFile(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class InternetFSHandler(CPPFileSystemHandler): - """""" - - def CanOpen(self): - """""" - pass - - def OpenFile(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MemoryFSHandler(CPPFileSystemHandler): - """""" - - def CanOpen(self): - """""" - pass - - def FindFirst(self): - """""" - pass - - def FindNext(self): - """""" - pass - - def OpenFile(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ZipFSHandler(CPPFileSystemHandler): - """""" - - def CanOpen(self): - """""" - pass - - def FindFirst(self): - """""" - pass - - def FindNext(self): - """""" - pass - - def OpenFile(self): - """""" - pass - - def __init__(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/Frames.py b/wxPython/wx/py/wxd/Frames.py deleted file mode 100644 index 49b5b21306..0000000000 --- a/wxPython/wx/py/wxd/Frames.py +++ /dev/null @@ -1,519 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx -from Window import TopLevelWindow, Window - - -class Frame(TopLevelWindow): - """A frame is a window whose size and position can (usually) be - changed by the user. It usually has thick borders and a title bar, - and can optionally contain a menu bar, toolbar and status bar. A - frame can contain any window that is not a frame or dialog. - - A frame that has a status bar and toolbar created via the - CreateStatusBar/CreateToolBar functions manages these windows, and - adjusts the value returned by GetClientSize to reflect the - remaining size available to application windows. - - An application should normally define a CloseEvent handler for the - frame to respond to system close events, for example so that - related data and subwindows can be cleaned up.""" - - def __init__(self, parent, id, title, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, - name=wx.PyFrameNameStr): - """Create a Frame instance. - - parent - The window parent. This may be None. If it is not - None, the frame will always be displayed on top of the parent - window on Windows. - - id - The window identifier. It may take a value of -1 to - indicate a default value. - - title - The caption to be displayed on the frame's title bar. - - pos - The window position. A value of (-1, -1) indicates a - default position, chosen by either the windowing system or - wxWindows, depending on platform. - - size - The window size. A value of (-1, -1) indicates a - default size, chosen by either the windowing system or - wxWindows, depending on platform. - - style - The window style. - - name - The name of the window. This parameter is used to - associate a name with the item, allowing the application user - to set Motif resource values for individual windows.""" - pass - - def Create(self, parent, id, title, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.DEFAULT_FRAME_STYLE, - name=wx.PyFrameNameStr): - """Create a Frame instance.""" - pass - - def Command(self, id): - """Simulate a menu command; id is a menu item identifier.""" - pass - - def CreateStatusBar(self, number=1, style=wx.ST_SIZEGRIP, id=-1, - name=wx.PyStatusLineNameStr): - """Create a status bar at the bottom of frame. - - number - The number of fields to create. Specify a value - greater than 1 to create a multi-field status bar. - - style - The status bar style. See wx.StatusBar for a list of - valid styles. - - id - The status bar window identifier. If -1, an identifier - will be chosen by wxWindows. - - name - The status bar window name. - - The width of the status bar is the whole width of the frame - (adjusted automatically when resizing), and the height and - text size are chosen by the host windowing system. - - By default, the status bar is an instance of wx.StatusBar.""" - pass - - def CreateToolBar(self, style=wx.NO_BORDER | wx.TB_HORIZONTAL, - id=-1, name=wx.PyToolBarNameStr): - """Create a toolbar at the top or left of frame. - - style - The toolbar style. See wxToolBar for a list of valid - styles. - - id - The toolbar window identifier. If -1, an identifier will - be chosen by wxWindows. - - name - The toolbar window name. - - By default, the toolbar is an instance of wx.ToolBar (which is - defined to be a suitable toolbar class on each platform, such - as wx.ToolBar95). - - When a toolbar has been created with this function, or made - known to the frame with wx.Frame.SetToolBar, the frame will - manage the toolbar position and adjust the return value from - wx.Window.GetClientSize to reflect the available space for - application windows.""" - pass - - def DoGiveHelp(self, text, show): - """Show help text (typically in the statusbar). - - show is False if you are hiding the help, True otherwise. - - Meant to be overridden if a derived frame wants to do - something else with help text from menus and etc. The default - implementation simply calls Frame.SetStatusText.""" - pass - - def GetClientAreaOrigin(self): - """Return origin of frame client area (in client coordinates). - - It may be different from (0, 0) if the frame has a toolbar.""" - pass - - def GetMenuBar(self): - """Return menubar currently associated with frame (if any).""" - pass - - def GetStatusBar(self): - """Return status bar currently associated with frame (if any).""" - pass - - def GetStatusBarPane(self): - """Return status bar pane used to display menu/toolbar help.""" - pass - - def GetToolBar(self): - """Return toolbar currently associated with frame (if any).""" - pass - - def PopStatusText(self, number=0): - """Redraw status bar with previous status text. - - number - The status field (starting from zero).""" - pass - - def ProcessCommand(self, id): - """Process menu command; return True if processed. - - id is the menu command identifier.""" - pass - - def PushStatusText(self, text, number=0): - """Set status bar text and redraw status bar, remembering - previous text. - - text - The text for the status field. - - number - The status field (starting from zero). - - Use an empty string to clear the status bar.""" - pass - - def SendSizeEvent(self): - """Send a dummy size event to the frame forcing it to - reevaluate its children positions. It is sometimes useful to - call this function after adding or deleting a children after - the frame creation or if a child size changes. - - Note that if the frame is using either sizers or constraints - for the children layout, it is enough to call Frame.Layout() - directly and this function should not be used in this case.""" - pass - - def SetMenuBar(self, menubar): - """Show the menu bar in the frame. - - menuBar - The menu bar to associate with the frame. - - If the frame is destroyed, the menu bar and its menus will be - destroyed also, so do not delete the menu bar explicitly - (except by resetting the frame's menu bar to another frame or - NULL). - - Under Windows, a call to Frame.OnSize is generated, so be sure - to initialize data members properly before calling SetMenuBar. - - Note that it is not possible to call this function twice for - the same frame object.""" - pass - - def SetStatusBar(self, statBar): - """Associate a status bar with the frame.""" - pass - - def SetStatusBarPane(self, n): - """Set the status bar pane used to display menu and toolbar - help. Using -1 disables help display.""" - pass - - def SetStatusText(self, text, number=0): - """Set status bar text and redraw status bar. - - text - The text for the status field. - - number - The status field (starting from zero). - - Use an empty string to clear the status bar.""" - pass - - def SetStatusWidths(self, choices): - """Sets the widths of the fields in the status bar. - - choices - a Python list of integers, each of which is a status - field width in pixels. A value of -1 indicates that the field - is variable width; at least one field must be -1. - - The widths of the variable fields are calculated from the - total width of all fields, minus the sum of widths of the - non-variable fields, divided by the number of variable fields.""" - pass - - def SetToolBar(self, toolbar): - """Associate a toolbar with the frame.""" - pass - - -class LayoutAlgorithm(Object): - """LayoutAlgorithm implements layout of subwindows in MDI or SDI - frames. It sends a wx.CalculateLayoutEvent event to children of - the frame, asking them for information about their size. For MDI - parent frames, the algorithm allocates the remaining space to the - MDI client window (which contains the MDI child frames). For SDI - (normal) frames, a 'main' window is specified as taking up the - remaining space. - - Because the event system is used, this technique can be applied to - any windows, which are not necessarily 'aware' of the layout - classes. However, you may wish to use wx.SashLayoutWindow for - your subwindows since this class provides handlers for the - required events, and accessors to specify the desired size of the - window. The sash behaviour in the base class can be used, - optionally, to make the windows user-resizable. - - LayoutAlgorithm is typically used in IDE (integrated development - environment) applications, where there are several resizable - windows in addition to the MDI client window, or other primary - editing window. Resizable windows might include toolbars, a - project window, and a window for displaying error and warning - messages. - - When a window receives an OnCalculateLayout event, it should call - SetRect in the given event object, to be the old supplied - rectangle minus whatever space the window takes up. It should - also set its own size accordingly. - SashLayoutWindow.OnCalculateLayout generates an OnQueryLayoutInfo - event which it sends to itself to determine the orientation, - alignment and size of the window, which it gets from internal - member variables set by the application. - - The algorithm works by starting off with a rectangle equal to the - whole frame client area. It iterates through the frame children, - generating OnCalculateLayout events which subtract the window size - and return the remaining rectangle for the next window to process. - It is assumed (by SashLayoutWindow.OnCalculateLayout) that a - window stretches the full dimension of the frame client, according - to the orientation it specifies. For example, a horizontal window - will stretch the full width of the remaining portion of the frame - client area. In the other orientation, the window will be fixed - to whatever size was specified by OnQueryLayoutInfo. An alignment - setting will make the window 'stick' to the left, top, right or - bottom of the remaining client area. This scheme implies that - order of window creation is important. Say you wish to have an - extra toolbar at the top of the frame, a project window to the - left of the MDI client window, and an output window above the - status bar. You should therefore create the windows in this - order: toolbar, output window, project window. This ensures that - the toolbar and output window take up space at the top and bottom, - and then the remaining height in-between is used for the project - window. - - LayoutAlgorithm is quite independent of the way in which - OnCalculateLayout chooses to interpret a window's size and - alignment. Therefore you could implement a different window class - with a new OnCalculateLayout event handler, that has a more - sophisticated way of laying out the windows. It might allow - specification of whether stretching occurs in the specified - orientation, for example, rather than always assuming - stretching. (This could, and probably should, be added to the - existing implementation). - - The algorithm object does not respond to events, but itself - generates the following events in order to calculate window sizes: - EVT_QUERY_LAYOUT_INFO(func), EVT_CALCULATE_LAYOUT(func).""" - - def __init__(self): - """Create a LayoutAlgorithm instance.""" - pass - - def LayoutFrame(self, frame, mainWindow=wx.NULL): - """Lay out the children of a normal frame. - - mainWindow is set to occupy the remaining space. This - function simply calls LayoutWindow().""" - pass - - def LayoutMDIFrame(self, frame, rect=wx.NULL): - """Lay out the children of an MDI parent frame. - - If rect is non-NULL, the given rectangle will be used as a - starting point instead of the frame's client area. - - The MDI client window is set to occupy the remaining space.""" - pass - - def LayoutWindow(self, parent, mainWindow=wx.NULL): - """Lay out the children of a normal frame or other window. - - mainWindow is set to occupy the remaining space. If this is - not specified, then the last window that responds to a - calculate layout event in query mode will get the remaining - space (that is, a non-query OnCalculateLayout event will not - be sent to this window and the window will be set to the - remaining size).""" - pass - - -class MDIChildFrame(Frame): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - def Activate(self): - """""" - pass - - def Maximize(self): - """""" - pass - - def Restore(self): - """""" - pass - - -class MDIClientWindow(Window): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - -class MDIParentFrame(Frame): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - def ActivateNext(self): - """""" - pass - - def ActivatePrevious(self): - """""" - pass - - def ArrangeIcons(self): - """""" - pass - - def Cascade(self): - """""" - pass - - def GetActiveChild(self): - """""" - pass - - def GetClientWindow(self): - """""" - pass - - def GetToolBar(self): - """""" - pass - - def Tile(self): - """""" - pass - - -class MiniFrame(Frame): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - -class SplashScreen(Frame): - """""" - - def __init__(self): - """""" - pass - - def GetSplashStyle(self): - """""" - pass - - def GetSplashWindow(self): - """""" - pass - - def GetTimeout(self): - """""" - pass - - -class SplashScreenWindow(Window): - """""" - - def __init__(self): - """""" - pass - - def GetBitmap(self): - """""" - pass - - def SetBitmap(self): - """""" - pass - - -class StatusBar(Window): - """""" - - def __init__(self): - """""" - pass - - def Create(self): - """""" - pass - - def GetBorderX(self): - """""" - pass - - def GetBorderY(self): - """""" - pass - - def GetFieldRect(self): - """""" - pass - - def GetFieldsCount(self): - """""" - pass - - def GetStatusText(self): - """""" - pass - - def PopStatusText(self): - """""" - pass - - def PushStatusText(self): - """""" - pass - - def SetFieldsCount(self): - """""" - pass - - def SetMinHeight(self): - """""" - pass - - def SetStatusText(self): - """""" - pass - - def SetStatusWidths(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/Functions.py b/wxPython/wx/py/wxd/Functions.py deleted file mode 100644 index 67af4e18be..0000000000 --- a/wxPython/wx/py/wxd/Functions.py +++ /dev/null @@ -1,1262 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -def ArtProvider_GetBitmap(): - """""" - pass - -def ArtProvider_GetIcon(): - """""" - pass - -def ArtProvider_PopProvider(): - """""" - pass - -def ArtProvider_PushProvider(): - """""" - pass - -def ArtProvider_RemoveProvider(): - """""" - pass - -def BeginBusyCursor(): - """""" - pass - -def Bell(): - """""" - pass - -def BitmapFromBits(): - """""" - pass - -def BitmapFromIcon(): - """""" - pass - -def BitmapFromImage(): - """""" - pass - -def BitmapFromXPMData(): - """""" - pass - -def BufferedDCInternalBuffer(): - """""" - pass - -def Button_GetDefaultSize(): - """""" - pass - -def CallAfter(callable, *args, **kw): - """Call the specified function after the current and pending event - handlers have been completed. This is also good for making GUI - method calls from non-GUI threads.""" - pass - -def Caret_GetBlinkTime(): - """""" - pass - -def Caret_SetBlinkTime(): - """""" - pass - -def ClientDisplayRect(): - """""" - pass - -def ColourDisplay(): - """""" - pass - -def ConfigBase_Create(): - """""" - pass - -def ConfigBase_DontCreateOnDemand(): - """""" - pass - -def ConfigBase_Get(): - """""" - pass - -def ConfigBase_Set(): - """""" - pass - -def CreateFileTipProvider(): - """""" - pass - -def CustomDataFormat(): - """""" - pass - -def DLG_PNT(): - """""" - pass - -def DLG_SZE(): - """""" - pass - -def DateSpan_Day(): - """""" - pass - -def DateSpan_Days(): - """""" - pass - -def DateSpan_Month(): - """""" - pass - -def DateSpan_Months(): - """""" - pass - -def DateSpan_Week(): - """""" - pass - -def DateSpan_Weeks(): - """""" - pass - -def DateSpan_Year(): - """""" - pass - -def DateSpan_Years(): - """""" - pass - -def DateTimeFromDMY(): - """""" - pass - -def DateTimeFromHMS(): - """""" - pass - -def DateTimeFromJDN(): - """""" - pass - -def DateTimeFromTimeT(): - """""" - pass - -def DateTime_ConvertYearToBC(): - """""" - pass - -def DateTime_GetAmPmStrings(): - """""" - pass - -def DateTime_GetBeginDST(): - """""" - pass - -def DateTime_GetCentury(): - """""" - pass - -def DateTime_GetCountry(): - """""" - pass - -def DateTime_GetCurrentMonth(): - """""" - pass - -def DateTime_GetCurrentYear(): - """""" - pass - -def DateTime_GetEndDST(): - """""" - pass - -def DateTime_GetMonthName(): - """""" - pass - -def DateTime_GetNumberOfDaysInMonth(): - """""" - pass - -def DateTime_GetNumberOfDaysinYear(): - """""" - pass - -def DateTime_GetWeekDayName(): - """""" - pass - -def DateTime_IsDSTApplicable(): - """""" - pass - -def DateTime_IsLeapYear(): - """""" - pass - -def DateTime_IsWestEuropeanCountry(): - """""" - pass - -def DateTime_Now(): - """""" - pass - -def DateTime_SetCountry(): - """""" - pass - -def DateTime_Today(): - """""" - pass - -def DateTime_UNow(): - """""" - pass - -def DirSelector(): - """""" - pass - -def DisplayDepth(): - """""" - pass - -def DisplaySize(): - """""" - pass - -def DisplaySizeMM(): - """""" - pass - -def DragIcon(): - """""" - pass - -def DragListItem(): - """""" - pass - -def DragString(): - """""" - pass - -def DragTreeItem(): - """""" - pass - -def EmptyBitmap(): - """""" - pass - -def EmptyIcon(): - """""" - pass - -def EmptyImage(): - """""" - pass - -def EnableTopLevelWindows(): - """""" - pass - -def EncodingConverter_GetAllEquivalents(): - """""" - pass - -def EncodingConverter_GetPlatformEquivalents(): - """""" - pass - -def EndBusyCursor(): - """""" - pass - -def Execute(): - """""" - pass - -def FileSelector(): - """""" - pass - -def FileSystem_AddHandler(): - """""" - pass - -def FileSystem_CleanUpHandlers(): - """""" - pass - -def FileTypeInfoSequence(): - """""" - pass - -def FileType_ExpandCommand(): - """""" - pass - -def FindWindowAtPoint(): - """""" - pass - -def FindWindowById(id, parent=wx.NULL): - """""" - pass - -def FindWindowByLabel(label, parent=wx.NULL): - """""" - pass - -def FindWindowByName(name, parent=wx.NULL): - """""" - pass - -def FontFromNativeInfo(): - """""" - pass - -def FontMapper_Get(): - """""" - pass - -def FontMapper_GetDefaultConfigPath(): - """""" - pass - -def FontMapper_GetEncodingDescription(): - """""" - pass - -def FontMapper_GetEncodingName(): - """""" - pass - -def FontMapper_Set(): - """""" - pass - -def Font_GetDefaultEncoding(): - """""" - pass - -def Font_SetDefaultEncoding(): - """""" - pass - -def GenericFindWindowAtPoint(): - """""" - pass - -def GetAccelFromString(): - """""" - pass - -def GetActiveWindow(): - """""" - pass - -def GetApp(): - """""" - pass - -def GetClientDisplayRect(): - """""" - pass - -def GetCurrentId(): - """""" - pass - -def GetCurrentTime(): - """""" - pass - -def GetDisplayDepth(): - """""" - pass - -def GetDisplaySize(): - """""" - pass - -def GetDisplaySizeMM(): - """""" - pass - -def GetElapsedTime(): - """""" - pass - -def GetEmailAddress(): - """""" - pass - -def GetFullHostName(): - """""" - pass - -def GetHomeDir(): - """""" - pass - -def GetHostName(): - """""" - pass - -def GetLocalTime(): - """""" - pass - -def GetLocalTimeMillis(): - """""" - pass - -def GetLocale(): - """""" - pass - -def GetMousePosition(): - """""" - pass - -def GetNumberFromUser(): - """""" - pass - -def GetOsDescription(): - """""" - pass - -def GetOsVersion(): - """""" - pass - -def GetPasswordFromUser(): - """""" - pass - -def GetProcessId(): - """""" - pass - -def GetSingleChoice(): - """""" - pass - -def GetSingleChoiceIndex(): - """""" - pass - -def GetTextFromUser(): - """""" - pass - -def GetTopLevelParent(): - """""" - pass - -def GetTranslation(): - """""" - pass - -def GetUTCTime(): - """""" - pass - -def GetUserHome(): - """""" - pass - -def GetUserId(): - """""" - pass - -def GetUserName(): - """""" - pass - -def IconBundleFromFile(): - """""" - pass - -def IconBundleFromIcon(): - """""" - pass - -def IconFromBitmap(): - """""" - pass - -def IconFromXPMData(): - """""" - pass - -def ImageFromBitmap(): - """""" - pass - -def ImageFromData(): - """""" - pass - -def ImageFromMime(): - """""" - pass - -def ImageFromStream(): - """""" - pass - -def ImageFromStreamMime(): - """""" - pass - -def Image_AddHandler(): - """""" - pass - -def Image_CanRead(): - """""" - pass - -def Image_CanReadStream(): - """""" - pass - -def Image_GetImageCount(): - """""" - pass - -def Image_InsertHandler(): - """""" - pass - -def Image_RemoveHandler(): - """""" - pass - -def InitAllImageHandlers(): - """""" - pass - -def IntersectRect(): - """""" - pass - -def IsBusy(): - """""" - pass - -def IsDragResultOk(): - """""" - pass - -def LoadFileSelector(): - """""" - pass - -def Locale_AddCatalogLookupPathPrefix(): - """""" - pass - -def Locale_AddLanguage(): - """""" - pass - -def Locale_GetLanguageInfo(): - """""" - pass - -def Locale_GetSystemEncoding(): - """""" - pass - -def Locale_GetSystemEncodingName(): - """""" - pass - -def Locale_GetSystemLanguage(): - """""" - pass - -def LogDebug(): - """""" - pass - -def LogError(): - """""" - pass - -def LogFatalError(): - """""" - pass - -def LogGeneric(): - """""" - pass - -def LogInfo(): - """""" - pass - -def LogMessage(): - """""" - pass - -def LogStatus(): - """""" - pass - -def LogStatusFrame(): - """""" - pass - -def LogSysError(): - """""" - pass - -def LogTrace(): - """""" - pass - -def LogTraceMask(): - """""" - pass - -def LogVerbose(): - """""" - pass - -def LogWarning(): - """""" - pass - -def Log_AddTraceMask(): - """""" - pass - -def Log_ClearTraceMasks(): - """""" - pass - -def Log_DontCreateOnDemand(): - """""" - pass - -def Log_EnableLogging(): - """""" - pass - -def Log_FlushActive(): - """""" - pass - -def Log_GetActiveTarget(): - """""" - pass - -def Log_GetLogLevel(): - """""" - pass - -def Log_GetTimestamp(): - """""" - pass - -def Log_GetTraceMask(): - """""" - pass - -def Log_GetTraceMasks(): - """""" - pass - -def Log_IsAllowedTraceMask(): - """""" - pass - -def Log_IsEnabled(): - """""" - pass - -def Log_OnLog(): - """""" - pass - -def Log_RemoveTraceMask(): - """""" - pass - -def Log_Resume(): - """""" - pass - -def Log_SetActiveTarget(): - """""" - pass - -def Log_SetLogLevel(): - """""" - pass - -def Log_SetTimestamp(): - """""" - pass - -def Log_SetTraceMask(): - """""" - pass - -def Log_SetVerbose(): - """""" - pass - -def Log_Suspend(): - """""" - pass - -def MaskColour(): - """""" - pass - -def MemoryDCFromDC(): - """""" - pass - -def MemoryFSHandler_AddFile(): - """""" - pass - -def MemoryFSHandler_RemoveFile(): - """""" - pass - -def MenuItem_GetLabelFromText(): - """""" - pass - -def MessageBox(): - """""" - pass - -def MimeTypesManager_IsOfType(): - """""" - pass - -def MutexGuiEnter(): - """""" - pass - -def MutexGuiLeave(): - """""" - pass - -def NamedColour(): - """""" - pass - -def NamedColour(): - """""" - pass - -def NewEventType(): - """""" - pass - -def NewId(): - """""" - pass - -def Now(): - """""" - pass - -def NullFileTypeInfo(): - """""" - pass - -def Point2DDoubleCopy(): - """""" - pass - -def Point2DDoubleFromPoint(): - """""" - pass - -def PostEvent(): - """""" - pass - -def PostScriptDC_GetResolution(): - """""" - pass - -def PostScriptDC_SetResolution(): - """""" - pass - -def PreBitmapButton(): - """""" - pass - -def PreButton(): - """""" - pass - -def PreCheckBox(): - """""" - pass - -def PreCheckListBox(): - """""" - pass - -def PreChoice(): - """""" - pass - -def PreComboBox(): - """""" - pass - -def PreControl(): - """""" - pass - -def PreDialog(): - """""" - pass - -def PreDirFilterListCtrl(): - """""" - pass - -def PreFindReplaceDialog(): - """""" - pass - -def PreFrame(): - """""" - pass - -def PreGauge(): - """""" - pass - -def PreGenericDirCtrl(): - """""" - pass - -def PreListBox(): - """""" - pass - -def PreListCtrl(): - """""" - pass - -def PreListView(): - """""" - pass - -def PreMDIChildFrame(): - """""" - pass - -def PreMDIClientWindow(): - """""" - pass - -def PreMDIParentFrame(): - """""" - pass - -def PreMiniFrame(): - """""" - pass - -def PreNotebook(): - """""" - pass - -def PrePanel(): - """""" - pass - -def PrePopupTransientWindow(): - """""" - pass - -def PrePopupWindow(): - """""" - pass - -def PreRadioBox(): - """""" - pass - -def PreRadioButton(): - """""" - pass - -def PreSashLayoutWindow(): - """""" - pass - -def PreSashWindow(): - """""" - pass - -def PreScrollBar(): - """""" - pass - -def PreScrolledWindow(): - """""" - pass - -def PreSingleInstanceChecker(): - """""" - pass - -def PreSlider(): - """""" - pass - -def PreSpinButton(): - """""" - pass - -def PreSpinCtrl(): - """""" - pass - -def PreSplitterWindow(): - """""" - pass - -def PreStaticBitmap(): - """""" - pass - -def PreStaticBox(): - """""" - pass - -def PreStaticLine(): - """""" - pass - -def PreStaticText(): - """""" - pass - -def PreStatusBar(): - """""" - pass - -def PreTextCtrl(): - """""" - pass - -def PreToggleButton(): - """""" - pass - -def PreToolBar(): - """""" - pass - -def PreToolBarSimple(): - """""" - pass - -def PreTopLevelWindow(): - """""" - pass - -def PreTreeCtrl(): - """""" - pass - -def PreWindow(): - """""" - pass - -def Process_Exists(): - """""" - pass - -def Process_Kill(): - """""" - pass - -def Process_Open(): - """""" - pass - -def PyTypeCast(obj, typeStr): - """This helper function will take a wxPython object and convert it - to another wxPython object type. This will not be able to create - objects that are derived from wxPython classes by the user, only - those that are actually part of wxPython and directly corespond to - C++ objects. - - This is useful in situations where some method returns a generic - type such as wxWindow, but you know that it is actually some - derived type such as a TextCtrl. You can't call TextCtrl - specific methods on a Window object, but you can use this - function to create a TextCtrl object that will pass the same - pointer to the C++ code. You use it like this: - - textCtrl = PyTypeCast(window, "TextCtrl") - - WARNING: Using this function to type cast objects into types that - they are not is not recommended and is likely to cause - your program to crash... Hard.""" - pass - -def Py_isinstance(obj, klasses): - """An isinstance for Python < 2.2 that can check a sequence of - class objects like the one in 2.2 can.""" - pass - -def RegionFromPoints(): - """""" - pass - -def RegisterId(): - """""" - pass - -## def RunLater(callable, *args, **kw): -## """An alias for CallAfter.""" -## pass - -RunLater = CallAfter - -def SafeShowMessage(): - """""" - pass - -def SafeYield(): - """""" - pass - -def SaveFileSelector(): - """""" - pass - -def SetCursor(): - """""" - pass - -def Shell(): - """""" - pass - -def ShowTip(): - """""" - pass - -def Shutdown(): - """""" - pass - -def Sleep(): - """""" - pass - -def StartTimer(): - """""" - pass - -def StockCursor(): - """""" - pass - -def StripMenuCodes(): - """""" - pass - -def SysErrorCode(): - """""" - pass - -def SysErrorMsg(): - """""" - pass - -def SystemSettings_GetColour(): - """""" - pass - -def SystemSettings_GetFont(): - """""" - pass - -def SystemSettings_GetMetric(): - """""" - pass - -def SystemSettings_GetScreenType(): - """""" - pass - -def SystemSettings_GetColour(): - """""" - pass - -def SystemSettings_GetFont(): - """""" - pass - -def SystemSettings_GetMetric(): - """""" - pass - -def SystemSettings_HasFeature(): - """""" - pass - -def SystemSettings_SetScreenType(): - """""" - pass - -def TextAttr_Combine(): - """""" - pass - -def Thread_IsMain(): - """""" - pass - -def TimeSpan_Day(): - """""" - pass - -def TimeSpan_Days(): - """""" - pass - -def TimeSpan_Hour(): - """""" - pass - -def TimeSpan_Hours(): - """""" - pass - -def TimeSpan_Minute(): - """""" - pass - -def TimeSpan_Minutes(): - """""" - pass - -def TimeSpan_Second(): - """""" - pass - -def TimeSpan_Seconds(): - """""" - pass - -def TimeSpan_Week(): - """""" - pass - -def TimeSpan_Weeks(): - """""" - pass - -def ToolTip_Enable(): - """""" - pass - -def ToolTip_SetDelay(): - """""" - pass - -def Usleep(): - """""" - pass - -def Validator_IsSilent(): - """""" - pass - -def Validator_SetBellOnError(): - """""" - pass - -def WakeUpIdle(): - """""" - pass - -def WaveData(): - """""" - pass - -def Window_FindFocus(): - """""" - pass - -def Window_GetCapture(): - """""" - pass - -def Window_NewControlId(): - """""" - pass - -def Window_NextControlId(): - """""" - pass - -def Window_PrevControlId(): - """""" - pass - -def Yield(): - """""" - pass - -def YieldIfNeeded(): - """""" - pass diff --git a/wxPython/wx/py/wxd/Help.py b/wxPython/wx/py/wxd/Help.py deleted file mode 100644 index e2518b37cc..0000000000 --- a/wxPython/wx/py/wxd/Help.py +++ /dev/null @@ -1,127 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx -from Window import Window - - -class PopupWindow(Window): - """""" - - def Create(self): - """""" - pass - - def Position(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PopupTransientWindow(PopupWindow): - """""" - - def Dismiss(self): - """""" - pass - - def Popup(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class TipProvider: - """""" - - def GetCurrentTip(self): - """""" - pass - - def GetTip(self): - """""" - pass - - def PreprocessTip(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyTipProvider(TipProvider): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class TipWindow(PopupTransientWindow): - """""" - - def Close(self): - """""" - pass - - def SetBoundingRect(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ToolTip(Object): - """""" - - def GetTip(self): - """""" - pass - - def GetWindow(self): - """""" - pass - - def SetTip(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/ImageHandlers.py b/wxPython/wx/py/wxd/ImageHandlers.py deleted file mode 100644 index f034f394bb..0000000000 --- a/wxPython/wx/py/wxd/ImageHandlers.py +++ /dev/null @@ -1,142 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class ImageHandler(Object): - """""" - - def CanRead(self): - """""" - pass - - def GetExtension(self): - """""" - pass - - def GetMimeType(self): - """""" - pass - - def GetName(self): - """""" - pass - - def GetType(self): - """""" - pass - - def SetExtension(self): - """""" - pass - - def SetMimeType(self): - """""" - pass - - def SetName(self): - """""" - pass - - def SetType(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class BMPHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class GIFHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class ICOHandler(BMPHandler): - """""" - - def __init__(self): - """""" - pass - - -class CURHandler(ICOHandler): - """""" - - def __init__(self): - """""" - pass - - -class ANIHandler(CURHandler): - """""" - - def __init__(self): - """""" - pass - - -class JPEGHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class PCXHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class PNGHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class PNMHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - -class TIFFHandler(ImageHandler): - """""" - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Joystick.py b/wxPython/wx/py/wxd/Joystick.py deleted file mode 100644 index 2d787b63ce..0000000000 --- a/wxPython/wx/py/wxd/Joystick.py +++ /dev/null @@ -1,197 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class Joystick(Object): - """""" - - def GetButtonState(self): - """""" - pass - - def GetManufacturerId(self): - """""" - pass - - def GetMaxAxes(self): - """""" - pass - - def GetMaxButtons(self): - """""" - pass - - def GetMovementThreshold(self): - """""" - pass - - def GetNumberAxes(self): - """""" - pass - - def GetNumberButtons(self): - """""" - pass - - def GetNumberJoysticks(self): - """""" - pass - - def GetPOVCTSPosition(self): - """""" - pass - - def GetPOVPosition(self): - """""" - pass - - def GetPollingMax(self): - """""" - pass - - def GetPollingMin(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetProductId(self): - """""" - pass - - def GetProductName(self): - """""" - pass - - def GetRudderMax(self): - """""" - pass - - def GetRudderMin(self): - """""" - pass - - def GetRudderPosition(self): - """""" - pass - - def GetUMax(self): - """""" - pass - - def GetUMin(self): - """""" - pass - - def GetUPosition(self): - """""" - pass - - def GetVMax(self): - """""" - pass - - def GetVMin(self): - """""" - pass - - def GetVPosition(self): - """""" - pass - - def GetXMax(self): - """""" - pass - - def GetXMin(self): - """""" - pass - - def GetYMax(self): - """""" - pass - - def GetYMin(self): - """""" - pass - - def GetZMax(self): - """""" - pass - - def GetZMin(self): - """""" - pass - - def GetZPosition(self): - """""" - pass - - def HasPOV(self): - """""" - pass - - def HasPOV4Dir(self): - """""" - pass - - def HasPOVCTS(self): - """""" - pass - - def HasRudder(self): - """""" - pass - - def HasU(self): - """""" - pass - - def HasV(self): - """""" - pass - - def HasZ(self): - """""" - pass - - def IsOk(self): - """""" - pass - - def ReleaseCapture(self): - """""" - pass - - def SetCapture(self): - """""" - pass - - def SetMovementThreshold(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/LayoutConstraints.py b/wxPython/wx/py/wxd/LayoutConstraints.py deleted file mode 100644 index 5017e62c43..0000000000 --- a/wxPython/wx/py/wxd/LayoutConstraints.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class IndividualLayoutConstraint(Object): - """""" - - def Above(self): - """""" - pass - - def Absolute(self): - """""" - pass - - def AsIs(self): - """""" - pass - - def Below(self): - """""" - pass - - def LeftOf(self): - """""" - pass - - def PercentOf(self): - """""" - pass - - def RightOf(self): - """""" - pass - - def SameAs(self): - """""" - pass - - def Set(self): - """""" - pass - - def Unconstrained(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class LayoutConstraints(Object): - """""" - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/Logging.py b/wxPython/wx/py/wxd/Logging.py deleted file mode 100644 index ca2ed02d70..0000000000 --- a/wxPython/wx/py/wxd/Logging.py +++ /dev/null @@ -1,145 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class Log: - """""" - - def Flush(self): - """""" - pass - - def GetVerbose(self): - """""" - pass - - def HasPendingMessages(self): - """""" - pass - - def TimeStamp(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PyLog(Log): - """""" - - def Destroy(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class LogChain(Log): - """""" - - def GetOldLog(self): - """""" - pass - - def IsPassingMessages(self): - """""" - pass - - def PassMessages(self): - """""" - pass - - def SetLog(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class LogGui(Log): - """""" - - def __init__(self): - """""" - pass - - -class LogNull: - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class LogStderr(Log): - """""" - - def __init__(self): - """""" - pass - - -class LogTextCtrl(Log): - """""" - - def __init__(self): - """""" - pass - - -class LogWindow(Log): - """""" - - def GetFrame(self): - """""" - pass - - def GetOldLog(self): - """""" - pass - - def IsPassingMessages(self): - """""" - pass - - def PassMessages(self): - """""" - pass - - def Show(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Menus.py b/wxPython/wx/py/wxd/Menus.py deleted file mode 100644 index 3ec16fd151..0000000000 --- a/wxPython/wx/py/wxd/Menus.py +++ /dev/null @@ -1,477 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object, EvtHandler -import Parameters as wx -from Window import Window - - -class FileHistory(Object): - """""" - - def AddFileToHistory(self): - """""" - pass - - def AddFilesToMenu(self): - """""" - pass - - def AddFilesToThisMenu(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def GetHistoryFile(self): - """""" - pass - - def GetMaxFiles(self): - """""" - pass - - def GetNoHistoryFiles(self): - """""" - pass - - def Load(self): - """""" - pass - - def RemoveFileFromHistory(self): - """""" - pass - - def RemoveMenu(self): - """""" - pass - - def Save(self): - """""" - pass - - def UseMenu(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Menu(EvtHandler): - """""" - - def Append(self): - """""" - pass - - def AppendCheckItem(self): - """""" - pass - - def AppendItem(self): - """""" - pass - - def AppendMenu(self): - """""" - pass - - def AppendRadioItem(self): - """""" - pass - - def AppendSeparator(self): - """""" - pass - - def Break(self): - """""" - pass - - def Check(self): - """""" - pass - - def Delete(self): - """""" - pass - - def DeleteItem(self): - """""" - pass - - def Destroy(self): - """""" - pass - - def DestroyId(self): - """""" - pass - - def DestroyItem(self): - """""" - pass - - def Enable(self): - """""" - pass - - def FindItem(self): - """""" - pass - - def FindItemById(self): - """""" - pass - - def GetEventHandler(self): - """""" - pass - - def GetHelpString(self): - """""" - pass - - def GetInvokingWindow(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetMenuItemCount(self): - """""" - pass - - def GetMenuItems(self): - """""" - pass - - def GetParent(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetTitle(self): - """""" - pass - - def Insert(self): - """""" - pass - - def InsertCheckItem(self): - """""" - pass - - def InsertItem(self): - """""" - pass - - def InsertMenu(self): - """""" - pass - - def InsertRadioItem(self): - """""" - pass - - def InsertSeparator(self): - """""" - pass - - def IsAttached(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - def IsEnabled(self): - """""" - pass - - def Prepend(self): - """""" - pass - - def PrependCheckItem(self): - """""" - pass - - def PrependItem(self): - """""" - pass - - def PrependMenu(self): - """""" - pass - - def PrependRadioItem(self): - """""" - pass - - def PrependSeparator(self): - """""" - pass - - def Remove(self): - """""" - pass - - def RemoveItem(self): - """""" - pass - - def SetEventHandler(self): - """""" - pass - - def SetHelpString(self): - """""" - pass - - def SetInvokingWindow(self): - """""" - pass - - def SetLabel(self): - """""" - pass - - def SetParent(self): - """""" - pass - - def SetTitle(self): - """""" - pass - - def UpdateUI(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MenuBar(Window): - """""" - - def Append(self): - """""" - pass - - def Check(self): - """""" - pass - - def Enable(self): - """""" - pass - - def EnableTop(self): - """""" - pass - - def FindItemById(self): - """""" - pass - - def FindMenu(self): - """""" - pass - - def FindMenuItem(self): - """""" - pass - - def GetHelpString(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetLabelTop(self): - """""" - pass - - def GetMenu(self): - """""" - pass - - def GetMenuCount(self): - """""" - pass - - def Insert(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - def IsEnabled(self): - """""" - pass - - def IsEnabledTop(self): - """""" - pass - - def Remove(self): - """""" - pass - - def Replace(self): - """""" - pass - - def SetHelpString(self): - """""" - pass - - def SetLabel(self): - """""" - pass - - def SetLabelTop(self): - """""" - pass - - def __init__(self): - """""" - pass - -class MenuItem(Object): - """""" - - def Check(self): - """""" - pass - - def Enable(self): - """""" - pass - - def GetAccel(self): - """""" - pass - - def GetBitmap(self): - """""" - pass - - def GetHelp(self): - """""" - pass - - def GetId(self): - """""" - pass - - def GetKind(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetMenu(self): - """""" - pass - - def GetSubMenu(self): - """""" - pass - - def GetText(self): - """""" - pass - - def IsCheckable(self): - """""" - pass - - def IsChecked(self): - """""" - pass - - def IsEnabled(self): - """""" - pass - - def IsSeparator(self): - """""" - pass - - def IsSubMenu(self): - """""" - pass - - def SetAccel(self): - """""" - pass - - def SetBitmap(self): - """""" - pass - - def SetCheckable(self): - """""" - pass - - def SetHelp(self): - """""" - pass - - def SetId(self): - """""" - pass - - def SetSubMenu(self): - """""" - pass - - def SetText(self): - """""" - pass - - def Toggle(self): - """""" - pass - - def __init__(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/MimeTypes.py b/wxPython/wx/py/wxd/MimeTypes.py deleted file mode 100644 index 2637b3dd37..0000000000 --- a/wxPython/wx/py/wxd/MimeTypes.py +++ /dev/null @@ -1,185 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx - - -class FileType: - """""" - - def GetAllCommands(self): - """""" - pass - - def GetDescription(self): - """""" - pass - - def GetExtensions(self): - """""" - pass - - def GetIcon(self): - """""" - pass - - def GetIconInfo(self): - """""" - pass - - def GetMimeType(self): - """""" - pass - - def GetMimeTypes(self): - """""" - pass - - def GetOpenCommand(self): - """""" - pass - - def GetPrintCommand(self): - """""" - pass - - def SetCommand(self): - """""" - pass - - def SetDefaultIcon(self): - """""" - pass - - def Unassociate(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FileTypeInfo: - """""" - - def GetDescription(self): - """""" - pass - - def GetExtensions(self): - """""" - pass - - def GetExtensionsCount(self): - """""" - pass - - def GetIconFile(self): - """""" - pass - - def GetIconIndex(self): - """""" - pass - - def GetMimeType(self): - """""" - pass - - def GetOpenCommand(self): - """""" - pass - - def GetPrintCommand(self): - """""" - pass - - def GetShortDesc(self): - """""" - pass - - def IsValid(self): - """""" - pass - - def SetIcon(self): - """""" - pass - - def SetShortDesc(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class MimeTypesManager: - """""" - - def AddFallback(self): - """""" - pass - - def Associate(self): - """""" - pass - - def ClearData(self): - """""" - pass - - def EnumAllFileTypes(self): - """""" - pass - - def GetFileTypeFromExtension(self): - """""" - pass - - def GetFileTypeFromMimeType(self): - """""" - pass - - def Initialize(self): - """""" - pass - - def ReadMailcap(self): - """""" - pass - - def ReadMimeTypes(self): - """""" - pass - - def Unassociate(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Misc.py b/wxPython/wx/py/wxd/Misc.py deleted file mode 100644 index 132e85cea8..0000000000 --- a/wxPython/wx/py/wxd/Misc.py +++ /dev/null @@ -1,558 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - - -class ArtProvider(Object): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class BusyCursor: - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class BusyInfo(Object): - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Caret: - """""" - - def GetPosition(self): - """""" - pass - - def GetPositionTuple(self): - """""" - pass - - def GetSize(self): - """""" - pass - - def GetSizeTuple(self): - """""" - pass - - def GetWindow(self): - """""" - pass - - def Hide(self): - """""" - pass - - def IsOk(self): - """""" - pass - - def IsVisible(self): - """""" - pass - - def Move(self): - """""" - pass - - def MoveXY(self): - """""" - pass - - def SetSize(self): - """""" - pass - - def SetSizeWH(self): - """""" - pass - - def Show(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class EncodingConverter(Object): - """""" - - def Convert(self): - """""" - pass - - def Init(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class DirItemData(Object): - """""" - - def SetNewDirName(self): - """""" - pass - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class Effects(Object): - """""" - - def DrawSunkenEdge(self): - """""" - pass - - def GetDarkShadow(self): - """""" - pass - - def GetFaceColour(self): - """""" - pass - - def GetHighlightColour(self): - """""" - pass - - def GetLightShadow(self): - """""" - pass - - def GetMediumShadow(self): - """""" - pass - - def Set(self): - """""" - pass - - def SetDarkShadow(self): - """""" - pass - - def SetFaceColour(self): - """""" - pass - - def SetHighlightColour(self): - """""" - pass - - def SetLightShadow(self): - """""" - pass - - def SetMediumShadow(self): - """""" - pass - - def TileBitmap(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class FontEnumerator: - """""" - - def EnumerateEncodings(self): - """""" - pass - - def EnumerateFacenames(self): - """""" - pass - - def GetEncodings(self): - """""" - pass - - def GetFacenames(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class FontMapper: - """""" - - def CharsetToEncoding(self): - """""" - pass - - def GetAltForEncoding(self): - """""" - pass - - def IsEncodingAvailable(self): - """""" - pass - - def SetConfig(self): - """""" - pass - - def SetConfigPath(self): - """""" - pass - - def SetDialogParent(self): - """""" - pass - - def SetDialogTitle(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class LanguageInfo: - """""" - - def __getattr__(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __setattr__(self): - """""" - pass - - -class Locale: - """""" - - def AddCatalog(self): - """""" - pass - - def GetCanonicalName(self): - """""" - pass - - def GetLanguage(self): - """""" - pass - - def GetLocale(self): - """""" - pass - - def GetName(self): - """""" - pass - - def GetString(self): - """""" - pass - - def GetSysName(self): - """""" - pass - - def Init(self): - """""" - pass - - def IsLoaded(self): - """""" - pass - - def IsOk(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class NativeFontInfo: - """""" - - def FromString(self): - """""" - pass - - def FromUserString(self): - """""" - pass - - def GetEncoding(self): - """""" - pass - - def GetFaceName(self): - """""" - pass - - def GetFamily(self): - """""" - pass - - def GetPointSize(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetUnderlined(self): - """""" - pass - - def GetWeight(self): - """""" - pass - - def Init(self): - """""" - pass - - def SetEncoding(self): - """""" - pass - - def SetFaceName(self): - """""" - pass - - def SetFamily(self): - """""" - pass - - def SetPointSize(self): - """""" - pass - - def SetStyle(self): - """""" - pass - - def SetUnderlined(self): - """""" - pass - - def SetWeight(self): - """""" - pass - - def ToString(self): - """""" - pass - - def ToUserString(self): - """""" - pass - - def __init__(self): - """""" - pass - - def __str__(self): - """""" - pass - - -class PyTimer(Object): - """""" - - def GetInterval(self): - """""" - pass - - def IsOneShot(self): - """""" - pass - - def IsRunning(self): - """""" - pass - - def SetOwner(self): - """""" - pass - - def Start(self): - """""" - pass - - def Stop(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class StopWatch: - """""" - - def Pause(self): - """""" - pass - - def Resume(self): - """""" - pass - - def Start(self): - """""" - pass - - def Time(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SystemSettings: - """""" - - def __init__(self): - """""" - pass - - -class Timer(PyTimer): - """""" - - def __init__(self, evtHandler=None, id=-1): - """Create a Timer instance.""" - pass - - -class Wave(Object): - """""" - - def IsOk(self): - """""" - pass - - def Play(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class WindowDisabler: - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Panel.py b/wxPython/wx/py/wxd/Panel.py deleted file mode 100644 index 41e535b7ce..0000000000 --- a/wxPython/wx/py/wxd/Panel.py +++ /dev/null @@ -1,240 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx -from Window import Window - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class Panel(Window): - """""" - - def __init__(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.TAB_TRAVERSAL, - name=wx.PyPanelNameStr): - """""" - pass - - def Create(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.TAB_TRAVERSAL, - name=wx.PyPanelNameStr): - """""" - pass - - def InitDialog(self): - """""" - pass - - -class PyPanel(Panel): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_AcceptsFocus(self): - """""" - pass - - def base_AcceptsFocusFromKeyboard(self): - """""" - pass - - def base_AddChild(self): - """""" - pass - - def base_DoGetBestSize(self): - """""" - pass - - def base_DoGetClientSize(self): - """""" - pass - - def base_DoGetPosition(self): - """""" - pass - - def base_DoGetSize(self): - """""" - pass - - def base_DoGetVirtualSize(self): - """""" - pass - - def base_DoMoveWindow(self): - """""" - pass - - def base_DoSetClientSize(self): - """""" - pass - - def base_DoSetSize(self): - """""" - pass - - def base_DoSetVirtualSize(self): - """""" - pass - - def base_GetMaxSize(self): - """""" - pass - - def base_InitDialog(self): - """""" - pass - - def base_RemoveChild(self): - """""" - pass - - def base_TransferDataFromWindow(self): - """""" - pass - - def base_TransferDataToWindow(self): - """""" - pass - - def base_Validate(self): - """""" - pass - - -class ScrolledWindow(Panel): - """""" - - def __init__(self, parent, id=-1, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL, - name=wx.PyPanelNameStr): - """""" - pass - - def Create(self, parent, id=-1, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=wx.HSCROLL|wx.VSCROLL, - name=wx.PyPanelNameStr): - """""" - pass - - def AdjustScrollbars(self): - """""" - pass - - def CalcScrolledPosition(self, *args): - """*args can be a point or (x, y) tuple""" - pass - - def CalcScrolledPosition1(self, pt): - """""" - pass - - def CalcScrolledPosition2(self, x, y): - """""" - pass - - def CalcUnscrolledPosition(self, *args): - """*args can be a point or (x, y) tuple""" - pass - - def CalcUnscrolledPosition1(self, pt): - """""" - pass - - def CalcUnscrolledPosition2(self, x, y): - """""" - pass - - def EnableScrolling(self, xScrolling, yScrolling): - """""" - pass - - def GetScaleX(self): - """""" - pass - - def GetScaleY(self): - """""" - pass - - def GetScrollPageSize(self, orient): - """""" - pass - - def GetScrollPixelsPerUnit(self): - """""" - pass - - def GetTargetWindow(self): - """""" - pass - - def GetViewStart(self): - """""" - pass - - def IsRetained(self): - """""" - pass - - def Layout(self): - """""" - pass - - def PrepareDC(self, dc): - """""" - pass - - def Scroll(self, x, y): - """""" - pass - - def SetScale(self, xs, ys): - """""" - pass - - def SetScrollPageSize(self, orient, pageSize): - """""" - pass - - def SetScrollRate(self, xstep, ystep): - """Set the x, y scrolling increments.""" - pass - - def SetScrollbars(self, pixelsPerUnitX, pixelsPerUnitY, - noUnitsX, noUnitsY, xPos=0, yPos=0, noRefresh=False): - """""" - pass - - def SetTargetWindow(self, window): - """""" - pass - - def ViewStart(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/Parameters.py b/wxPython/wx/py/wxd/Parameters.py deleted file mode 100644 index 60db3e157a..0000000000 --- a/wxPython/wx/py/wxd/Parameters.py +++ /dev/null @@ -1,69 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -class _Param: - """Used by this module to represent default wxPython parameter values, - including parameter representations like style=wx.HSCROLL|wx.VSCROLL.""" - - def __init__(self, value=None): - if value is None: - value = 'wx.' + self.__class__.__name__ - self.value = value - - def __repr__(self): - return self.value - - def __or__(self, other): - value = '%s|%s' % (self, other) - return self.__class__(value) - -_params = ( - 'BOTH', - 'DEFAULT_FRAME_STYLE', - 'DefaultPosition', - 'DefaultSize', - 'DefaultValidator', - 'EmptyString', - 'EVT_NULL', - 'HORIZONTAL', - 'HSCROLL', - 'NO_BORDER', - 'NULL', - 'NullColour', - 'PyFrameNameStr', - 'PyNOTEBOOK_NAME', - 'PyPanelNameStr', - 'PyStatusLineNameStr', - 'PySTCNameStr', - 'PyToolBarNameStr', - 'SIZE_AUTO', - 'SIZE_USE_EXISTING', - 'ST_SIZEGRIP', - 'TAB_TRAVERSAL', - 'TB_HORIZONTAL', - 'VSCROLL', - ) - -## Create classes, then instances, like this: - -## class BOTH(Param): pass -## BOTH = BOTH() - -for _param in _params: - exec 'class %s(_Param): pass' % _param - exec '%s = %s()' % (_param, _param) - -del _param -del _params -del _Param diff --git a/wxPython/wx/py/wxd/Printing.py b/wxPython/wx/py/wxd/Printing.py deleted file mode 100644 index e51d4e0e8c..0000000000 --- a/wxPython/wx/py/wxd/Printing.py +++ /dev/null @@ -1,651 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -from Dialogs import Dialog -from Frames import Frame -import Parameters as wx - - -class PageSetupDialog(Dialog): - """""" - - def GetPageSetupData(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PageSetupDialogData(Object): - """""" - - def EnableHelp(self): - """""" - pass - - def EnableMargins(self): - """""" - pass - - def EnableOrientation(self): - """""" - pass - - def EnablePaper(self): - """""" - pass - - def EnablePrinter(self): - """""" - pass - - def GetDefaultInfo(self): - """""" - pass - - def GetDefaultMinMargins(self): - """""" - pass - - def GetEnableHelp(self): - """""" - pass - - def GetEnableMargins(self): - """""" - pass - - def GetEnableOrientation(self): - """""" - pass - - def GetEnablePaper(self): - """""" - pass - - def GetEnablePrinter(self): - """""" - pass - - def GetMarginBottomRight(self): - """""" - pass - - def GetMarginTopLeft(self): - """""" - pass - - def GetMinMarginBottomRight(self): - """""" - pass - - def GetMinMarginTopLeft(self): - """""" - pass - - def GetPaperId(self): - """""" - pass - - def GetPaperSize(self): - """""" - pass - - def GetPrintData(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetDefaultInfo(self): - """""" - pass - - def SetDefaultMinMargins(self): - """""" - pass - - def SetMarginBottomRight(self): - """""" - pass - - def SetMarginTopLeft(self): - """""" - pass - - def SetMinMarginBottomRight(self): - """""" - pass - - def SetMinMarginTopLeft(self): - """""" - pass - - def SetPaperId(self): - """""" - pass - - def SetPaperSize(self): - """""" - pass - - def SetPrintData(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PrintDialog(Dialog): - """""" - - def GetPrintDC(self): - """""" - pass - - def GetPrintDialogData(self): - """""" - pass - - def ShowModal(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PrintDialogData(Object): - """""" - - def EnableHelp(self): - """""" - pass - - def EnablePageNumbers(self): - """""" - pass - - def EnablePrintToFile(self): - """""" - pass - - def EnableSelection(self): - """""" - pass - - def GetAllPages(self): - """""" - pass - - def GetCollate(self): - """""" - pass - - def GetFromPage(self): - """""" - pass - - def GetMaxPage(self): - """""" - pass - - def GetMinPage(self): - """""" - pass - - def GetNoCopies(self): - """""" - pass - - def GetPrintData(self): - """""" - pass - - def GetPrintToFile(self): - """""" - pass - - def GetToPage(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetCollate(self): - """""" - pass - - def SetFromPage(self): - """""" - pass - - def SetMaxPage(self): - """""" - pass - - def SetMinPage(self): - """""" - pass - - def SetNoCopies(self): - """""" - pass - - def SetPrintData(self): - """""" - pass - - def SetPrintToFile(self): - """""" - pass - - def SetSetupDialog(self): - """""" - pass - - def SetToPage(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PreviewFrame(Frame): - """""" - - def Initialize(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PrintData(Object): - """""" - - def GetCollate(self): - """""" - pass - - def GetColour(self): - """""" - pass - - def GetDuplex(self): - """""" - pass - - def GetFilename(self): - """""" - pass - - def GetFontMetricPath(self): - """""" - pass - - def GetNoCopies(self): - """""" - pass - - def GetOrientation(self): - """""" - pass - - def GetPaperId(self): - """""" - pass - - def GetPaperSize(self): - """""" - pass - - def GetPreviewCommand(self): - """""" - pass - - def GetPrintMode(self): - """""" - pass - - def GetPrinterCommand(self): - """""" - pass - - def GetPrinterName(self): - """""" - pass - - def GetPrinterOptions(self): - """""" - pass - - def GetPrinterScaleX(self): - """""" - pass - - def GetPrinterScaleY(self): - """""" - pass - - def GetPrinterTranslateX(self): - """""" - pass - - def GetPrinterTranslateY(self): - """""" - pass - - def GetQuality(self): - """""" - pass - - def Ok(self): - """""" - pass - - def SetCollate(self): - """""" - pass - - def SetColour(self): - """""" - pass - - def SetDuplex(self): - """""" - pass - - def SetFilename(self): - """""" - pass - - def SetFontMetricPath(self): - """""" - pass - - def SetNoCopies(self): - """""" - pass - - def SetOrientation(self): - """""" - pass - - def SetPaperId(self): - """""" - pass - - def SetPaperSize(self): - """""" - pass - - def SetPreviewCommand(self): - """""" - pass - - def SetPrintMode(self): - """""" - pass - - def SetPrinterCommand(self): - """""" - pass - - def SetPrinterName(self): - """""" - pass - - def SetPrinterOptions(self): - """""" - pass - - def SetPrinterScaleX(self): - """""" - pass - - def SetPrinterScaleY(self): - """""" - pass - - def SetPrinterScaling(self): - """""" - pass - - def SetPrinterTranslateX(self): - """""" - pass - - def SetPrinterTranslateY(self): - """""" - pass - - def SetPrinterTranslation(self): - """""" - pass - - def SetQuality(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class PrintPreview(Object): - """""" - - def GetCanvas(self): - """""" - pass - - def GetCurrentPage(self): - """""" - pass - - def GetFrame(self): - """""" - pass - - def GetMaxPage(self): - """""" - pass - - def GetMinPage(self): - """""" - pass - - def GetPrintDialogData(self): - """""" - pass - - def GetPrintout(self): - """""" - pass - - def GetPrintoutForPrinting(self): - """""" - pass - - def GetZoom(self): - """""" - pass - - def Ok(self): - """""" - pass - - def Print(self): - """""" - pass - - def SetCanvas(self): - """""" - pass - - def SetCurrentPage(self): - """""" - pass - - def SetFrame(self): - """""" - pass - - def SetPrintout(self): - """""" - pass - - def SetZoom(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Printer(Object): - """""" - - def CreateAbortWindow(self): - """""" - pass - - def GetPrintDialogData(self): - """""" - pass - - def Print(self): - """""" - pass - - def PrintDialog(self): - """""" - pass - - def ReportError(self): - """""" - pass - - def Setup(self): - """""" - pass - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class Printout(Object): - """""" - - def Destroy(self): - """""" - pass - - def GetDC(self): - """""" - pass - - def GetPPIPrinter(self): - """""" - pass - - def GetPPIScreen(self): - """""" - pass - - def GetPageSizeMM(self): - """""" - pass - - def GetPageSizePixels(self): - """""" - pass - - def IsPreview(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_GetPageInfo(self): - """""" - pass - - def base_HasPage(self): - """""" - pass - - def base_OnBeginDocument(self): - """""" - pass - - def base_OnBeginPrinting(self): - """""" - pass - - def base_OnEndDocument(self): - """""" - pass - - def base_OnEndPrinting(self): - """""" - pass - - def base_OnPreparePrinting(self): - """""" - pass - diff --git a/wxPython/wx/py/wxd/Process.py b/wxPython/wx/py/wxd/Process.py deleted file mode 100644 index 97c410eaf2..0000000000 --- a/wxPython/wx/py/wxd/Process.py +++ /dev/null @@ -1,77 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import EvtHandler - - -class Process(EvtHandler): - """""" - - def CloseOutput(self): - """""" - pass - - def Destroy(self): - """""" - pass - - def Detach(self): - """""" - pass - - def GetErrorStream(self): - """""" - pass - - def GetInputStream(self): - """""" - pass - - def GetOutputStream(self): - """""" - pass - - def IsErrorAvailable(self): - """""" - pass - - def IsInputAvailable(self): - """""" - pass - - def IsInputOpened(self): - """""" - pass - - def IsRedirected(self): - """""" - pass - - def Redirect(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_OnTerminate(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/SashSplitter.py b/wxPython/wx/py/wxd/SashSplitter.py deleted file mode 100644 index fd35e0c718..0000000000 --- a/wxPython/wx/py/wxd/SashSplitter.py +++ /dev/null @@ -1,226 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -import Parameters as wx -from Window import Window - - -class SashWindow(Window): - """""" - - def Create(self): - """""" - pass - - def GetDefaultBorderSize(self): - """""" - pass - - def GetEdgeMargin(self): - """""" - pass - - def GetExtraBorderSize(self): - """""" - pass - - def GetMaximumSizeX(self): - """""" - pass - - def GetMaximumSizeY(self): - """""" - pass - - def GetMinimumSizeX(self): - """""" - pass - - def GetMinimumSizeY(self): - """""" - pass - - def GetSashVisible(self): - """""" - pass - - def HasBorder(self): - """""" - pass - - def SetDefaultBorderSize(self): - """""" - pass - - def SetExtraBorderSize(self): - """""" - pass - - def SetMaximumSizeX(self): - """""" - pass - - def SetMaximumSizeY(self): - """""" - pass - - def SetMinimumSizeX(self): - """""" - pass - - def SetMinimumSizeY(self): - """""" - pass - - def SetSashBorder(self): - """""" - pass - - def SetSashVisible(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SashLayoutWindow(SashWindow): - """""" - - def Create(self): - """""" - pass - - def GetAlignment(self): - """""" - pass - - def GetOrientation(self): - """""" - pass - - def SetAlignment(self): - """""" - pass - - def SetDefaultSize(self): - """""" - pass - - def SetOrientation(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class SplitterWindow(Window): - """""" - - def Create(self): - """""" - pass - - def GetBorderSize(self): - """""" - pass - - def GetMinimumPaneSize(self): - """""" - pass - - def GetNeedUpdating(self): - """""" - pass - - def GetSashPosition(self): - """""" - pass - - def GetSashSize(self): - """""" - pass - - def GetSplitMode(self): - """""" - pass - - def GetWindow1(self): - """""" - pass - - def GetWindow2(self): - """""" - pass - - def Initialize(self): - """""" - pass - - def IsSplit(self): - """""" - pass - - def ReplaceWindow(self): - """""" - pass - - def SetBorderSize(self): - """""" - pass - - def SetMinimumPaneSize(self): - """""" - pass - - def SetNeedUpdating(self): - """""" - pass - - def SetSashPosition(self): - """""" - pass - - def SetSashSize(self): - """""" - pass - - def SetSplitMode(self): - """""" - pass - - def SizeWindows(self): - """""" - pass - - def SplitHorizontally(self): - """""" - pass - - def SplitVertically(self): - """""" - pass - - def Unsplit(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Sizers.py b/wxPython/wx/py/wxd/Sizers.py deleted file mode 100644 index 918a80b7c2..0000000000 --- a/wxPython/wx/py/wxd/Sizers.py +++ /dev/null @@ -1,605 +0,0 @@ -"""Decorator classes for documentation and shell scripting. - -Sizer is the abstract base class used for laying out subwindows in a -window. You cannot use Sizer directly; instead, you will have to use -one of the sizer classes derived from it. Currently there are -BoxSizer, StaticBoxSizer, NotebookSizer, GridSizer, and FlexGridSizer. - -The layout algorithm used by sizers in wxPython is closely related to -layout in other GUI toolkits, such as Java's AWT, the GTK toolkit or -the Qt toolkit. It is based upon the idea of the individual -subwindows reporting their minimal required size and their ability to -get stretched if the size of the parent window has changed. This will -most often mean, that the programmer does not set the original size of -a dialog in the beginning, rather the dialog will assigned a sizer and -this sizer will be queried about the recommended size. The sizer in -turn will query its children, which can be normal windows, empty space -or other sizers, so that a hierarchy of sizers can be constructed. -Note that wxSizer does not derive from wxWindow and thus do not -interfere with tab ordering and requires very little resources -compared to a real window on screen. - -What makes sizers so well fitted for use in wxPython is the fact that -every control reports its own minimal size and the algorithm can -handle differences in font sizes or different window (dialog item) -sizes on different platforms without problems. If e.g. the standard -font as well as the overall design of Motif widgets requires more -space than on Windows, the initial dialog size will automatically be -bigger on Motif than on Windows. - -If you wish to create a sizer class in wxPython you should derive the -class from PySizer in order to get Python-aware capabilities for the -various virtual methods. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -import Parameters as wx - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class Sizer(Object): - """Sizer is the abstract base class used for laying out subwindows - in a window. You shouldn't use Sizer directly; instead, you should - use one of the sizer classes derived from it. - - If you wish to create a sizer class in wxPython you should derive - the class from PySizer in order to get Python-aware capabilities - for the various virtual methods. - - Placing a child sizer in a sizer allows you to create hierarchies - of sizers (typically a vertical box as the top sizer and several - horizontal boxes on the level beneath). - - When you place a window in a sizer the window's initial size - (either set explicitly by the user or calculated internally when - using wxDefaultSize) is interpreted as the minimal and in many - cases also the initial size. This is particularly useful in - connection with SetSizeHints. - - Adding spacers to sizers gives more flexibility in the design of - dialogs. Imagine for example a horizontal box with two buttons at - the bottom of a dialog: you might want to insert a space between - the two buttons and make that space stretchable using the - proportion flag and the result will be that the left button will - be aligned with the left side of the dialog and the right button - with the right side - the space in between will shrink and grow - with the dialog. - - Several methods (Add, Insert, Prepend) take the following - parameters: - - proportion - Used only by BoxSizer to indicate if a child of a - sizer can change its size in the main orientation of the BoxSizer, - where 0 stands for not changeable and a value of more than zero is - interpreted relative to the value of other children of the same - BoxSizer. For example, you might have a horizontal BoxSizer with - three children, two of which are supposed to change their size - with the sizer. Then the two stretchable windows would each get a - value of 1 to make them grow and shrink equally with the sizer's - horizontal dimension. - - flag - This parameter can be used to set a number of flags which - can be combined using the binary OR operator |. Two main - behaviours are defined using these flags. One is the border - around a window: the border parameter determines the border width - whereas the flags given here determine where the border may be - (wx.TOP, wx.BOTTOM, wx.LEFT, wx.RIGHT or wx.ALL). The other flags - determine the child window's behaviour if the size of the sizer - changes. However this is not - in contrast to the proportion flag - - in the main orientation, but in the respectively other - orientation. So if you created a BoxSizer with the wx.VERTICAL - option, these flags will be relevant if the sizer changes its - horizontal size. A child may get resized to completely fill out - the new size (using either wx.GROW or wx.EXPAND), it may get - proportionally resized (wx.SHAPED), it may get centered - (wx.ALIGN_CENTER or wx.ALIGN_CENTRE) or it may get aligned to - either side (wx.ALIGN_LEFT and wx.ALIGN_TOP are set to 0 and thus - represent the default, wx.ALIGN_RIGHT and wx.ALIGN_BOTTOM have - their obvious meaning). With proportional resize, a child may - also be centered in the main orientation using - wx.ALIGN_CENTER_VERTICAL (same as wx.ALIGN_CENTRE_VERTICAL) and - wx.ALIGN_CENTER_HORIZONTAL (same as wx.ALIGN_CENTRE_HORIZONTAL) - flags. Finally, you can also specify wx.ADJUST_MINSIZE flag to - make the minimal size of the control dynamically adjust to the - value returned by its GetAdjustedBestSize() method - this allows, - for example, for correct relayouting of a static text control even - if its text is changed during run-time. - - border - Determines the border width, if the flag parameter is set - to any border. A border is not a visible element, but rather a - margin of empty space surrounding the item. - - userData - Allows an extra object to be attached to the sizer - item, for use in derived classes when sizing information is more - complex than the option and flag parameters will allow.""" - - def __init__(self): - """Must be defined by subclasses.""" - pass - - def Add(self, item, proportion=0, flag=0, border=0, - userData=wx.NULL): - """Add item to sizer. - - item - window, sizer, or spacer. Spacer is specified with a - (width, height) tuple or wx.Size representing the spacer size. - - Call Layout() to update the layout on-screen after adding.""" - pass - - def Clear(self, delete_windows=False): - """Remove all items from this sizer. - - If delete_windows is True, destroy any window items.""" - pass - - def DeleteWindows(self): - """Destroy windows associated with this sizer.""" - pass - - def Destroy(self): - """Destroy the sizer.""" - pass - - def Fit(self, window): - """Resize window to match sizer's minimal size; return size. - - This is commonly done in the constructor of the window itself.""" - pass - - def FitInside(self, window): - """Resize window virtual size to match sizer's minimal size. - - This will not alter the on screen size of the window, but may - cause the addition/removal/alteration of scrollbars required - to view the virtual area in windows which manage it.""" - pass - - def GetChildren(self): - """Return list of SizerItem instances.""" - pass - - def GetMinSize(self): - """Return the minimal size of the sizer. - - This is either the combined minimal size of all the children - and their borders or the minimal size set by SetMinSize, - whichever is larger.""" - pass - - def GetMinSizeTuple(self): - """Return the minimal size of the sizer as a tuple. - - This is either the combined minimal size of all the children - and their borders or the minimal size set by SetMinSize, - whichever is larger.""" - pass - - def GetPosition(self): - """Return the current position of the sizer.""" - pass - - def GetPositionTuple(self): - """Return the current position of the sizer as a tuple.""" - pass - - def GetSize(self): - """Return the current size of the sizer.""" - pass - - def GetSizeTuple(self): - """Return the current size of the sizer as a tuple.""" - pass - - def Hide(self, item): - """Hide item (sizer or window). To make a sizer item - disappear on-screen, use Hide() followed by Layout().""" - pass - - def Insert(self, before, item, proportion=0, flag=0, border=0, - userData=wx.NULL): - """Same as Add, but inserts item into list of items (windows, - subsizers or spacers) owned by this sizer. - - Call Layout() to update the layout on-screen after inserting.""" - pass - - def IsShown(self, item): - """Return True if item (sizer or window) is shown.""" - pass - - def Layout(self): - """Force layout of children anew. - - Use after adding or removing a child (window, other sizer, or - spacer) from the sizer while keeping the current dimension.""" - pass - - def Prepend(self, item, proportion=0, flag=0, border=0, - userData=wx.NULL): - """Same as Add, but prepends item to beginning of list of - items (windows, subsizers or spacers) owned by this sizer. - - Call Layout() to update the layout on-screen after prepending.""" - pass - - def Remove(self, item): - """Remove item from the sizer. - - item - sizer, window, or index of item in the sizer, typically - 0 for the first item. - - Does not cause any layout or resizing to take place, and does - not delete the child itself. Call Layout() to update the - layout on-screen after removing child. - - Return True if child found and removed, False otherwise.""" - pass - - def SetDimension(self, x, y, width, height): - """Force sizer to take the given dimension and thus force - items owned by sizer to resize themselves according to the - rules defined by the parameter in the Add and Prepend methods.""" - pass - - def SetItemMinSize(self, item, width, height): - """Set minimal size of item. - - item - sizer, window, or index of item in the sizer, typically - 0 for the first item. - - The item will be found recursively in the sizer's descendants. - Enables application to set size of item after initialization.""" - pass - - def SetMinSize(self, size): - """Set minimal size. - - Normally, sizer will calculate minimal size based on how much - space its children need. After calling this method, - GetMinSize will return the minimal size as requested by its - children or the minimal size set here, whichever is larger.""" - pass - - def SetSizeHints(self, window): - """Set (and Fit) minimal size of window to match sizer's - minimal size. Commonly called in the window's init.""" - pass - - def SetVirtualSizeHints(self, window): - """Set minimal size of window virtual area to match sizer's - minimal size. For windows with managed scrollbars this will - set them appropriately.""" - pass - - def Show(self, item, show=True): - """Show or hide item (sizer or window). To make item - disappear or reappear on-screen, use Show() followed by - Layout().""" - pass - - def ShowItems(self, show): - """Recursively call Show() on all sizer items.""" - pass - - -class PySizer(Sizer): - """If you wish to create a custom sizer class you should derive - the class from PySizer in order to get Python-aware capabilities - for the various virtual methods.""" - - def __init__(self): - """Create a PySizer instance. Override in subclass.""" - pass - - -class BoxSizer(Sizer): - """A box sizer is used to lay out a rather simple geometry, - typically a row or column or several hierarchies of either.""" - - def __init__(self, orient=wx.HORIZONTAL): - """Create BoxSizer instance. - - orient is either wx.VERTICAL or wx.HORIZONTAL""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def GetOrientation(self): - """Return orientation: wx.VERTICAL or wx.HORIZONTAL.""" - pass - - def RecalcSizes(self): - """Recalculate sizes, then set the size of its children - (calling SetSize if child is a window). Do not call directly.""" - pass - - def SetOrientation(self, orient): - """Set orientation to either wx.VERTICAL or wx.HORIZONTAL.""" - pass - - -class StaticBoxSizer(BoxSizer): - """Like BoxSizer, but adds a static box around the sizer. Note - that the static box has to be created separately.""" - - def __init__(self, box, orient=wx.HORIZONTAL): - """Create StaticBoxSizer instance. - - box - instance of wx.StaticBox - - orient - either wx.VERTICAL or wx.HORIZONTAL""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def GetStaticBox(self): - """Return the static box associated with the sizer.""" - pass - - def RecalcSizes(self): - """Recalculate sizes, then set the size of its children - (calling SetSize if child is a window). Do not call directly.""" - pass - - -class GridSizer(Sizer): - """A grid sizer lays out its children in a two-dimensional table - where all cells have the same size: the width of each cell is the - width of the widest child, the height of each cell is the height - of the tallest child. See also the FlexGridSizer.""" - - def __init__(self, rows=1, cols=0, vgap=0, hgap=0): - """Create a GridSizer instance. - - rows and cols - the number of rows and columns in the grid; if - either is zero, it will be calculated as the number of - children in the sizer, allowing the sizer grow dynamically. - - vgap and hgap - extra space between all cells, in pixels.""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def GetCols(self): - """Return the number of columns in the grid.""" - pass - - def GetHGap(self): - """Return the horizontal gap (in pixels) between cells.""" - pass - - def GetRows(self): - """Return the number of rows in the grid.""" - pass - - def GetVGap(self): - """Return the vertical gap (in pixels) between cells.""" - pass - - def RecalcSizes(self): - """Recalculate sizes, then set the size of its children - (calling SetSize if child is a window). Do not call directly.""" - pass - - def SetCols(self, cols): - """Set the number of columns in the grid.""" - pass - - def SetHGap(self, gap): - """Set the horizontal gap (in pixels) between cells.""" - pass - - def SetRows(self, rows): - """Sets the number of rows in the grid.""" - pass - - def SetVGap(self, gap): - """Set the vertical gap (in pixels) between cells.""" - pass - - -class FlexGridSizer(GridSizer): - """A flex grid sizer lays out its children in a two-dimensional - table where all cells in one row have the same height and all - cells in one column have the same width, but all cells are not - necessarily the same height and width, as in the GridSizer.""" - - def __init__(self, rows=1, cols=0, vgap=0, hgap=0): - """Create a GridSizer instance. - - rows and cols - the number of rows and columns in the grid; if - either is zero, it will be calculated as the number of - children in the sizer, allowing the sizer grow dynamically. - - vgap and hgap - extra space between all cells, in pixels.""" - pass - - def AddGrowableCol(self, idx): - """Specify that column idx (starting from zero) should expand - if there is extra space available to the sizer.""" - pass - - def AddGrowableRow(self, idx): - """Specify that row idx (starting from zero) should expand if - there is extra space available to the sizer.""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def RecalcSizes(self): - """Recalculate sizes, then set the size of its children - (calling SetSize if child is a window). Do not call directly.""" - pass - - def RemoveGrowableCol(self, idx): - """Specify that column idx is no longer growable.""" - pass - - def RemoveGrowableRow(self, idx): - """Specify that row idx is no longer growable.""" - pass - - -class NotebookSizer(Sizer): - """NotebookSizer works with a notebook to determine the size of - the biggest page and report an adjusted minimal size to a more - toplevel sizer. Do not add children to a NotebookSizer.""" - - def __init__(self, nb): - """Create a NotebookSizer instance for notebook.""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def GetNotebook(self): - """Return the notebook associated with the sizer.""" - pass - - def RecalcSizes(self): - """Recalculate size. Do not call directly.""" - pass - - -class SizerItem(Object): - """SizerItem class. Wrapper for items managed by a sizer.""" - - def __init__(self, this): - """Create a SizerItem instance. You don't normally create one - directly.""" - pass - - def CalcMin(self): - """Calculate minimum size. Do not call directly.""" - pass - - def DeleteWindows(self): - """Recursively destroy windows associated with this SizerItem.""" - pass - - def GetBorder(self): - """Return border width.""" - pass - - def GetFlag(self): - """Return flag value.""" - pass - - def GetOption(self): - """Return option value.""" - pass - - def GetPosition(self): - """Return wx.Point instance representing position relative to - the client area.""" - pass - - def GetRatio(self): - """Return a floating point aspect ratio (width/height). If - wx.SHAPED flag is used item will maintain ratio when resized.""" - pass - - def GetSize(self): - """Return wx.Size instance with size.""" - pass - - def GetSizer(self): - """If IsSizer() return the sizer; otherwise return None.""" - pass - - def GetUserData(self): - """Return a wx.PyUserData object.""" - pass - - def GetWindow(self): - """If IsWindow() return the window; otherwise return None.""" - pass - - def IsShown(self): - """Return True if item is shown.""" - pass - - def IsSizer(self): - """Return True if SizerItem represents a sizer.""" - pass - - def IsSpacer(self): - """Return True if SizerItem represents a spacer.""" - pass - - def IsWindow(self): - """Return True if SizerItem represents a window.""" - pass - - def SetBorder(self, border): - """Set border width for item.""" - pass - - def SetDimension(self, pos, size): - """Set position and size for item.""" - pass - - def SetFlag(self, flag): - """Set flag for item.""" - pass - - def SetInitSize(self, x, y): - """Set initial size of item.""" - pass - - def SetOption(self, option): - """Set option for item.""" - pass - - def SetRatio(self, ratio): - """Set a floating point aspect ratio (width/height). If - wx.SHAPED flag is used item will maintain ratio when resized.""" - pass - - def SetRatioSize(self, size): - """Set a floating point aspect ratio (width/height). If - wx.SHAPED flag is used item will maintain ratio when resized.""" - pass - - def SetRatioWH(self, width, height): - """Set a floating point aspect ratio (width/height). If - wx.SHAPED flag is used item will maintain ratio when resized.""" - pass - - def SetSizer(self, sizer): - """Set sizer associated with SizerItem.""" - pass - - def SetWindow(self, window): - """Set window associated with SizerItem.""" - pass - - def Show(self, show): - """Is show is True, show item, otherwise hide item.""" - pass diff --git a/wxPython/wx/py/wxd/Streams.py b/wxPython/wx/py/wxd/Streams.py deleted file mode 100644 index a08b7b336b..0000000000 --- a/wxPython/wx/py/wxd/Streams.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -class InputStream: - """""" - - def CanRead(self): - """""" - pass - - def Eof(self): - """""" - pass - - def GetC(self): - """""" - pass - - def LastRead(self): - """""" - pass - - def Peek(self): - """""" - pass - - def SeekI(self): - """""" - pass - - def TellI(self): - """""" - pass - - def Ungetch(self): - """""" - pass - - def __init__(self): - """""" - pass - - def close(self): - """""" - pass - - def eof(self): - """""" - pass - - def flush(self): - """""" - pass - - def read(self): - """""" - pass - - def readline(self): - """""" - pass - - def readlines(self): - """""" - pass - - def seek(self): - """""" - pass - - def tell(self): - """""" - pass - - -class OutputStream: - """""" - - def __init__(self): - """""" - pass - - def write(self): - """""" - pass diff --git a/wxPython/wx/py/wxd/StyledTextConstants.py b/wxPython/wx/py/wxd/StyledTextConstants.py deleted file mode 100644 index 0dced840ff..0000000000 --- a/wxPython/wx/py/wxd/StyledTextConstants.py +++ /dev/null @@ -1,643 +0,0 @@ -"""wxStyledTextControl constants for documentation. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -from wxPython import wx -from wxPython import stc - - -""" ->>> from wxPython import stc_c ->>> def gen_constants(): -... print '# Begin generated constants.' -... for item in dir(stc_c): # dir returns a sorted list. -... if not callable(stc_c.__dict__[item]) \ -... and not item.startswith('__'): -... print item, '=', 'stc.' + item, ' #', \ -... repr(stc_c.__dict__[item]) -... print '# End generated constants.' - -""" - -# Begin generated constants. -STC_USE_DND = stc.STC_USE_DND # 1 -wxEVT_STC_CHANGE = stc.wxEVT_STC_CHANGE # 10206 -wxEVT_STC_CHARADDED = stc.wxEVT_STC_CHARADDED # 10208 -wxEVT_STC_DOUBLECLICK = stc.wxEVT_STC_DOUBLECLICK # 10213 -wxEVT_STC_DO_DROP = stc.wxEVT_STC_DO_DROP # 10227 -wxEVT_STC_DRAG_OVER = stc.wxEVT_STC_DRAG_OVER # 10226 -wxEVT_STC_DWELLEND = stc.wxEVT_STC_DWELLEND # 10224 -wxEVT_STC_DWELLSTART = stc.wxEVT_STC_DWELLSTART # 10223 -wxEVT_STC_KEY = stc.wxEVT_STC_KEY # 10212 -wxEVT_STC_MACRORECORD = stc.wxEVT_STC_MACRORECORD # 10216 -wxEVT_STC_MARGINCLICK = stc.wxEVT_STC_MARGINCLICK # 10217 -wxEVT_STC_MODIFIED = stc.wxEVT_STC_MODIFIED # 10215 -wxEVT_STC_NEEDSHOWN = stc.wxEVT_STC_NEEDSHOWN # 10218 -wxEVT_STC_PAINTED = stc.wxEVT_STC_PAINTED # 10220 -wxEVT_STC_POSCHANGED = stc.wxEVT_STC_POSCHANGED # 10219 -wxEVT_STC_ROMODIFYATTEMPT = stc.wxEVT_STC_ROMODIFYATTEMPT # 10211 -wxEVT_STC_SAVEPOINTLEFT = stc.wxEVT_STC_SAVEPOINTLEFT # 10210 -wxEVT_STC_SAVEPOINTREACHED = stc.wxEVT_STC_SAVEPOINTREACHED # 10209 -wxEVT_STC_START_DRAG = stc.wxEVT_STC_START_DRAG # 10225 -wxEVT_STC_STYLENEEDED = stc.wxEVT_STC_STYLENEEDED # 10207 -wxEVT_STC_UPDATEUI = stc.wxEVT_STC_UPDATEUI # 10214 -wxEVT_STC_URIDROPPED = stc.wxEVT_STC_URIDROPPED # 10222 -wxEVT_STC_USERLISTSELECTION = stc.wxEVT_STC_USERLISTSELECTION # 10221 -wxEVT_STC_ZOOM = stc.wxEVT_STC_ZOOM # 10228 -wxSTC_ADA_CHARACTER = stc.wxSTC_ADA_CHARACTER # 5 -wxSTC_ADA_COMMENT = stc.wxSTC_ADA_COMMENT # 1 -wxSTC_ADA_DEFAULT = stc.wxSTC_ADA_DEFAULT # 0 -wxSTC_ADA_IDENTIFIER = stc.wxSTC_ADA_IDENTIFIER # 7 -wxSTC_ADA_NUMBER = stc.wxSTC_ADA_NUMBER # 2 -wxSTC_ADA_OPERATOR = stc.wxSTC_ADA_OPERATOR # 6 -wxSTC_ADA_STRING = stc.wxSTC_ADA_STRING # 4 -wxSTC_ADA_STRINGEOL = stc.wxSTC_ADA_STRINGEOL # 8 -wxSTC_ADA_WORD = stc.wxSTC_ADA_WORD # 3 -wxSTC_AVE_COMMENT = stc.wxSTC_AVE_COMMENT # 1 -wxSTC_AVE_DEFAULT = stc.wxSTC_AVE_DEFAULT # 0 -wxSTC_AVE_ENUM = stc.wxSTC_AVE_ENUM # 7 -wxSTC_AVE_IDENTIFIER = stc.wxSTC_AVE_IDENTIFIER # 9 -wxSTC_AVE_KEYWORD = stc.wxSTC_AVE_KEYWORD # 4 -wxSTC_AVE_NUMBER = stc.wxSTC_AVE_NUMBER # 2 -wxSTC_AVE_OPERATOR = stc.wxSTC_AVE_OPERATOR # 10 -wxSTC_AVE_STATEMENT = stc.wxSTC_AVE_STATEMENT # 5 -wxSTC_AVE_STRING = stc.wxSTC_AVE_STRING # 6 -wxSTC_AVE_STRINGEOL = stc.wxSTC_AVE_STRINGEOL # 8 -wxSTC_AVE_WORD = stc.wxSTC_AVE_WORD # 3 -wxSTC_BAAN_COMMENT = stc.wxSTC_BAAN_COMMENT # 1 -wxSTC_BAAN_COMMENTDOC = stc.wxSTC_BAAN_COMMENTDOC # 2 -wxSTC_BAAN_DEFAULT = stc.wxSTC_BAAN_DEFAULT # 0 -wxSTC_BAAN_IDENTIFIER = stc.wxSTC_BAAN_IDENTIFIER # 8 -wxSTC_BAAN_NUMBER = stc.wxSTC_BAAN_NUMBER # 3 -wxSTC_BAAN_OPERATOR = stc.wxSTC_BAAN_OPERATOR # 7 -wxSTC_BAAN_PREPROCESSOR = stc.wxSTC_BAAN_PREPROCESSOR # 6 -wxSTC_BAAN_STRING = stc.wxSTC_BAAN_STRING # 5 -wxSTC_BAAN_STRINGEOL = stc.wxSTC_BAAN_STRINGEOL # 9 -wxSTC_BAAN_WORD = stc.wxSTC_BAAN_WORD # 4 -wxSTC_BAAN_WORD2 = stc.wxSTC_BAAN_WORD2 # 10 -wxSTC_BAT_COMMAND = stc.wxSTC_BAT_COMMAND # 5 -wxSTC_BAT_COMMENT = stc.wxSTC_BAT_COMMENT # 1 -wxSTC_BAT_DEFAULT = stc.wxSTC_BAT_DEFAULT # 0 -wxSTC_BAT_HIDE = stc.wxSTC_BAT_HIDE # 4 -wxSTC_BAT_IDENTIFIER = stc.wxSTC_BAT_IDENTIFIER # 6 -wxSTC_BAT_LABEL = stc.wxSTC_BAT_LABEL # 3 -wxSTC_BAT_OPERATOR = stc.wxSTC_BAT_OPERATOR # 7 -wxSTC_BAT_WORD = stc.wxSTC_BAT_WORD # 2 -wxSTC_B_COMMENT = stc.wxSTC_B_COMMENT # 1 -wxSTC_B_DATE = stc.wxSTC_B_DATE # 8 -wxSTC_B_DEFAULT = stc.wxSTC_B_DEFAULT # 0 -wxSTC_B_IDENTIFIER = stc.wxSTC_B_IDENTIFIER # 7 -wxSTC_B_KEYWORD = stc.wxSTC_B_KEYWORD # 3 -wxSTC_B_NUMBER = stc.wxSTC_B_NUMBER # 2 -wxSTC_B_OPERATOR = stc.wxSTC_B_OPERATOR # 6 -wxSTC_B_PREPROCESSOR = stc.wxSTC_B_PREPROCESSOR # 5 -wxSTC_B_STRING = stc.wxSTC_B_STRING # 4 -wxSTC_CACHE_CARET = stc.wxSTC_CACHE_CARET # 1 -wxSTC_CACHE_DOCUMENT = stc.wxSTC_CACHE_DOCUMENT # 3 -wxSTC_CACHE_NONE = stc.wxSTC_CACHE_NONE # 0 -wxSTC_CACHE_PAGE = stc.wxSTC_CACHE_PAGE # 2 -wxSTC_CARET_EVEN = stc.wxSTC_CARET_EVEN # 8 -wxSTC_CARET_JUMPS = stc.wxSTC_CARET_JUMPS # 16 -wxSTC_CARET_SLOP = stc.wxSTC_CARET_SLOP # 1 -wxSTC_CARET_STRICT = stc.wxSTC_CARET_STRICT # 4 -wxSTC_CASE_LOWER = stc.wxSTC_CASE_LOWER # 2 -wxSTC_CASE_MIXED = stc.wxSTC_CASE_MIXED # 0 -wxSTC_CASE_UPPER = stc.wxSTC_CASE_UPPER # 1 -wxSTC_CHARSET_ANSI = stc.wxSTC_CHARSET_ANSI # 0 -wxSTC_CHARSET_ARABIC = stc.wxSTC_CHARSET_ARABIC # 178 -wxSTC_CHARSET_BALTIC = stc.wxSTC_CHARSET_BALTIC # 186 -wxSTC_CHARSET_CHINESEBIG5 = stc.wxSTC_CHARSET_CHINESEBIG5 # 136 -wxSTC_CHARSET_DEFAULT = stc.wxSTC_CHARSET_DEFAULT # 1 -wxSTC_CHARSET_EASTEUROPE = stc.wxSTC_CHARSET_EASTEUROPE # 238 -wxSTC_CHARSET_GB2312 = stc.wxSTC_CHARSET_GB2312 # 134 -wxSTC_CHARSET_GREEK = stc.wxSTC_CHARSET_GREEK # 161 -wxSTC_CHARSET_HANGUL = stc.wxSTC_CHARSET_HANGUL # 129 -wxSTC_CHARSET_HEBREW = stc.wxSTC_CHARSET_HEBREW # 177 -wxSTC_CHARSET_JOHAB = stc.wxSTC_CHARSET_JOHAB # 130 -wxSTC_CHARSET_MAC = stc.wxSTC_CHARSET_MAC # 77 -wxSTC_CHARSET_OEM = stc.wxSTC_CHARSET_OEM # 255 -wxSTC_CHARSET_RUSSIAN = stc.wxSTC_CHARSET_RUSSIAN # 204 -wxSTC_CHARSET_SHIFTJIS = stc.wxSTC_CHARSET_SHIFTJIS # 128 -wxSTC_CHARSET_SYMBOL = stc.wxSTC_CHARSET_SYMBOL # 2 -wxSTC_CHARSET_THAI = stc.wxSTC_CHARSET_THAI # 222 -wxSTC_CHARSET_TURKISH = stc.wxSTC_CHARSET_TURKISH # 162 -wxSTC_CHARSET_VIETNAMESE = stc.wxSTC_CHARSET_VIETNAMESE # 163 -wxSTC_CMD_BACKTAB = stc.wxSTC_CMD_BACKTAB # 2328 -wxSTC_CMD_CANCEL = stc.wxSTC_CMD_CANCEL # 2325 -wxSTC_CMD_CHARLEFT = stc.wxSTC_CMD_CHARLEFT # 2304 -wxSTC_CMD_CHARLEFTEXTEND = stc.wxSTC_CMD_CHARLEFTEXTEND # 2305 -wxSTC_CMD_CHARRIGHT = stc.wxSTC_CMD_CHARRIGHT # 2306 -wxSTC_CMD_CHARRIGHTEXTEND = stc.wxSTC_CMD_CHARRIGHTEXTEND # 2307 -wxSTC_CMD_CLEAR = stc.wxSTC_CMD_CLEAR # 2180 -wxSTC_CMD_COPY = stc.wxSTC_CMD_COPY # 2178 -wxSTC_CMD_CUT = stc.wxSTC_CMD_CUT # 2177 -wxSTC_CMD_DELETEBACK = stc.wxSTC_CMD_DELETEBACK # 2326 -wxSTC_CMD_DELETEBACKNOTLINE = stc.wxSTC_CMD_DELETEBACKNOTLINE # 2344 -wxSTC_CMD_DELLINELEFT = stc.wxSTC_CMD_DELLINELEFT # 2395 -wxSTC_CMD_DELLINERIGHT = stc.wxSTC_CMD_DELLINERIGHT # 2396 -wxSTC_CMD_DELWORDLEFT = stc.wxSTC_CMD_DELWORDLEFT # 2335 -wxSTC_CMD_DELWORDRIGHT = stc.wxSTC_CMD_DELWORDRIGHT # 2336 -wxSTC_CMD_DOCUMENTEND = stc.wxSTC_CMD_DOCUMENTEND # 2318 -wxSTC_CMD_DOCUMENTENDEXTEND = stc.wxSTC_CMD_DOCUMENTENDEXTEND # 2319 -wxSTC_CMD_DOCUMENTSTART = stc.wxSTC_CMD_DOCUMENTSTART # 2316 -wxSTC_CMD_DOCUMENTSTARTEXTEND = stc.wxSTC_CMD_DOCUMENTSTARTEXTEND # 2317 -wxSTC_CMD_EDITTOGGLEOVERTYPE = stc.wxSTC_CMD_EDITTOGGLEOVERTYPE # 2324 -wxSTC_CMD_FORMFEED = stc.wxSTC_CMD_FORMFEED # 2330 -wxSTC_CMD_HOME = stc.wxSTC_CMD_HOME # 2312 -wxSTC_CMD_HOMEDISPLAY = stc.wxSTC_CMD_HOMEDISPLAY # 2345 -wxSTC_CMD_HOMEDISPLAYEXTEND = stc.wxSTC_CMD_HOMEDISPLAYEXTEND # 2346 -wxSTC_CMD_HOMEEXTEND = stc.wxSTC_CMD_HOMEEXTEND # 2313 -wxSTC_CMD_LINECUT = stc.wxSTC_CMD_LINECUT # 2337 -wxSTC_CMD_LINEDELETE = stc.wxSTC_CMD_LINEDELETE # 2338 -wxSTC_CMD_LINEDOWN = stc.wxSTC_CMD_LINEDOWN # 2300 -wxSTC_CMD_LINEDOWNEXTEND = stc.wxSTC_CMD_LINEDOWNEXTEND # 2301 -wxSTC_CMD_LINEEND = stc.wxSTC_CMD_LINEEND # 2314 -wxSTC_CMD_LINEENDDISPLAY = stc.wxSTC_CMD_LINEENDDISPLAY # 2347 -wxSTC_CMD_LINEENDDISPLAYEXTEND = stc.wxSTC_CMD_LINEENDDISPLAYEXTEND # 2348 -wxSTC_CMD_LINEENDEXTEND = stc.wxSTC_CMD_LINEENDEXTEND # 2315 -wxSTC_CMD_LINESCROLLDOWN = stc.wxSTC_CMD_LINESCROLLDOWN # 2342 -wxSTC_CMD_LINESCROLLUP = stc.wxSTC_CMD_LINESCROLLUP # 2343 -wxSTC_CMD_LINETRANSPOSE = stc.wxSTC_CMD_LINETRANSPOSE # 2339 -wxSTC_CMD_LINEUP = stc.wxSTC_CMD_LINEUP # 2302 -wxSTC_CMD_LINEUPEXTEND = stc.wxSTC_CMD_LINEUPEXTEND # 2303 -wxSTC_CMD_LOWERCASE = stc.wxSTC_CMD_LOWERCASE # 2340 -wxSTC_CMD_NEWLINE = stc.wxSTC_CMD_NEWLINE # 2329 -wxSTC_CMD_PAGEDOWN = stc.wxSTC_CMD_PAGEDOWN # 2322 -wxSTC_CMD_PAGEDOWNEXTEND = stc.wxSTC_CMD_PAGEDOWNEXTEND # 2323 -wxSTC_CMD_PAGEUP = stc.wxSTC_CMD_PAGEUP # 2320 -wxSTC_CMD_PAGEUPEXTEND = stc.wxSTC_CMD_PAGEUPEXTEND # 2321 -wxSTC_CMD_PASTE = stc.wxSTC_CMD_PASTE # 2179 -wxSTC_CMD_REDO = stc.wxSTC_CMD_REDO # 2011 -wxSTC_CMD_SELECTALL = stc.wxSTC_CMD_SELECTALL # 2013 -wxSTC_CMD_TAB = stc.wxSTC_CMD_TAB # 2327 -wxSTC_CMD_UNDO = stc.wxSTC_CMD_UNDO # 2176 -wxSTC_CMD_UPPERCASE = stc.wxSTC_CMD_UPPERCASE # 2341 -wxSTC_CMD_VCHOME = stc.wxSTC_CMD_VCHOME # 2331 -wxSTC_CMD_VCHOMEEXTEND = stc.wxSTC_CMD_VCHOMEEXTEND # 2332 -wxSTC_CMD_WORDLEFT = stc.wxSTC_CMD_WORDLEFT # 2308 -wxSTC_CMD_WORDLEFTEXTEND = stc.wxSTC_CMD_WORDLEFTEXTEND # 2309 -wxSTC_CMD_WORDPARTLEFT = stc.wxSTC_CMD_WORDPARTLEFT # 2390 -wxSTC_CMD_WORDPARTLEFTEXTEND = stc.wxSTC_CMD_WORDPARTLEFTEXTEND # 2391 -wxSTC_CMD_WORDPARTRIGHT = stc.wxSTC_CMD_WORDPARTRIGHT # 2392 -wxSTC_CMD_WORDPARTRIGHTEXTEND = stc.wxSTC_CMD_WORDPARTRIGHTEXTEND # 2393 -wxSTC_CMD_WORDRIGHT = stc.wxSTC_CMD_WORDRIGHT # 2310 -wxSTC_CMD_WORDRIGHTEXTEND = stc.wxSTC_CMD_WORDRIGHTEXTEND # 2311 -wxSTC_CMD_ZOOMIN = stc.wxSTC_CMD_ZOOMIN # 2333 -wxSTC_CMD_ZOOMOUT = stc.wxSTC_CMD_ZOOMOUT # 2334 -wxSTC_CONF_COMMENT = stc.wxSTC_CONF_COMMENT # 1 -wxSTC_CONF_DEFAULT = stc.wxSTC_CONF_DEFAULT # 0 -wxSTC_CONF_DIRECTIVE = stc.wxSTC_CONF_DIRECTIVE # 9 -wxSTC_CONF_EXTENSION = stc.wxSTC_CONF_EXTENSION # 4 -wxSTC_CONF_IDENTIFIER = stc.wxSTC_CONF_IDENTIFIER # 3 -wxSTC_CONF_IP = stc.wxSTC_CONF_IP # 8 -wxSTC_CONF_NUMBER = stc.wxSTC_CONF_NUMBER # 2 -wxSTC_CONF_OPERATOR = stc.wxSTC_CONF_OPERATOR # 7 -wxSTC_CONF_PARAMETER = stc.wxSTC_CONF_PARAMETER # 5 -wxSTC_CONF_STRING = stc.wxSTC_CONF_STRING # 6 -wxSTC_CP_UTF8 = stc.wxSTC_CP_UTF8 # 65001 -wxSTC_CURSORNORMAL = stc.wxSTC_CURSORNORMAL # -1 -wxSTC_CURSORWAIT = stc.wxSTC_CURSORWAIT # 3 -wxSTC_C_CHARACTER = stc.wxSTC_C_CHARACTER # 7 -wxSTC_C_COMMENT = stc.wxSTC_C_COMMENT # 1 -wxSTC_C_COMMENTDOC = stc.wxSTC_C_COMMENTDOC # 3 -wxSTC_C_COMMENTDOCKEYWORD = stc.wxSTC_C_COMMENTDOCKEYWORD # 17 -wxSTC_C_COMMENTDOCKEYWORDERROR = stc.wxSTC_C_COMMENTDOCKEYWORDERROR # 18 -wxSTC_C_COMMENTLINE = stc.wxSTC_C_COMMENTLINE # 2 -wxSTC_C_COMMENTLINEDOC = stc.wxSTC_C_COMMENTLINEDOC # 15 -wxSTC_C_DEFAULT = stc.wxSTC_C_DEFAULT # 0 -wxSTC_C_IDENTIFIER = stc.wxSTC_C_IDENTIFIER # 11 -wxSTC_C_NUMBER = stc.wxSTC_C_NUMBER # 4 -wxSTC_C_OPERATOR = stc.wxSTC_C_OPERATOR # 10 -wxSTC_C_PREPROCESSOR = stc.wxSTC_C_PREPROCESSOR # 9 -wxSTC_C_REGEX = stc.wxSTC_C_REGEX # 14 -wxSTC_C_STRING = stc.wxSTC_C_STRING # 6 -wxSTC_C_STRINGEOL = stc.wxSTC_C_STRINGEOL # 12 -wxSTC_C_UUID = stc.wxSTC_C_UUID # 8 -wxSTC_C_VERBATIM = stc.wxSTC_C_VERBATIM # 13 -wxSTC_C_WORD = stc.wxSTC_C_WORD # 5 -wxSTC_C_WORD2 = stc.wxSTC_C_WORD2 # 16 -wxSTC_DIFF_ADDED = stc.wxSTC_DIFF_ADDED # 6 -wxSTC_DIFF_COMMAND = stc.wxSTC_DIFF_COMMAND # 2 -wxSTC_DIFF_COMMENT = stc.wxSTC_DIFF_COMMENT # 1 -wxSTC_DIFF_DEFAULT = stc.wxSTC_DIFF_DEFAULT # 0 -wxSTC_DIFF_DELETED = stc.wxSTC_DIFF_DELETED # 5 -wxSTC_DIFF_HEADER = stc.wxSTC_DIFF_HEADER # 3 -wxSTC_DIFF_POSITION = stc.wxSTC_DIFF_POSITION # 4 -wxSTC_EDGE_BACKGROUND = stc.wxSTC_EDGE_BACKGROUND # 2 -wxSTC_EDGE_LINE = stc.wxSTC_EDGE_LINE # 1 -wxSTC_EDGE_NONE = stc.wxSTC_EDGE_NONE # 0 -wxSTC_EIFFEL_CHARACTER = stc.wxSTC_EIFFEL_CHARACTER # 5 -wxSTC_EIFFEL_COMMENTLINE = stc.wxSTC_EIFFEL_COMMENTLINE # 1 -wxSTC_EIFFEL_DEFAULT = stc.wxSTC_EIFFEL_DEFAULT # 0 -wxSTC_EIFFEL_IDENTIFIER = stc.wxSTC_EIFFEL_IDENTIFIER # 7 -wxSTC_EIFFEL_NUMBER = stc.wxSTC_EIFFEL_NUMBER # 2 -wxSTC_EIFFEL_OPERATOR = stc.wxSTC_EIFFEL_OPERATOR # 6 -wxSTC_EIFFEL_STRING = stc.wxSTC_EIFFEL_STRING # 4 -wxSTC_EIFFEL_STRINGEOL = stc.wxSTC_EIFFEL_STRINGEOL # 8 -wxSTC_EIFFEL_WORD = stc.wxSTC_EIFFEL_WORD # 3 -wxSTC_EOL_CR = stc.wxSTC_EOL_CR # 1 -wxSTC_EOL_CRLF = stc.wxSTC_EOL_CRLF # 0 -wxSTC_EOL_LF = stc.wxSTC_EOL_LF # 2 -wxSTC_ERR_BORLAND = stc.wxSTC_ERR_BORLAND # 5 -wxSTC_ERR_CMD = stc.wxSTC_ERR_CMD # 4 -wxSTC_ERR_CTAG = stc.wxSTC_ERR_CTAG # 9 -wxSTC_ERR_DEFAULT = stc.wxSTC_ERR_DEFAULT # 0 -wxSTC_ERR_DIFF_ADDITION = stc.wxSTC_ERR_DIFF_ADDITION # 11 -wxSTC_ERR_DIFF_CHANGED = stc.wxSTC_ERR_DIFF_CHANGED # 10 -wxSTC_ERR_DIFF_DELETION = stc.wxSTC_ERR_DIFF_DELETION # 12 -wxSTC_ERR_DIFF_MESSAGE = stc.wxSTC_ERR_DIFF_MESSAGE # 13 -wxSTC_ERR_GCC = stc.wxSTC_ERR_GCC # 2 -wxSTC_ERR_LUA = stc.wxSTC_ERR_LUA # 8 -wxSTC_ERR_MS = stc.wxSTC_ERR_MS # 3 -wxSTC_ERR_NET = stc.wxSTC_ERR_NET # 7 -wxSTC_ERR_PERL = stc.wxSTC_ERR_PERL # 6 -wxSTC_ERR_PYTHON = stc.wxSTC_ERR_PYTHON # 1 -wxSTC_FIND_MATCHCASE = stc.wxSTC_FIND_MATCHCASE # 4 -wxSTC_FIND_REGEXP = stc.wxSTC_FIND_REGEXP # 2097152 -wxSTC_FIND_WHOLEWORD = stc.wxSTC_FIND_WHOLEWORD # 2 -wxSTC_FIND_WORDSTART = stc.wxSTC_FIND_WORDSTART # 1048576 -wxSTC_FOLDLEVELBASE = stc.wxSTC_FOLDLEVELBASE # 1024 -wxSTC_FOLDLEVELHEADERFLAG = stc.wxSTC_FOLDLEVELHEADERFLAG # 8192 -wxSTC_FOLDLEVELNUMBERMASK = stc.wxSTC_FOLDLEVELNUMBERMASK # 4095 -wxSTC_FOLDLEVELWHITEFLAG = stc.wxSTC_FOLDLEVELWHITEFLAG # 4096 -wxSTC_HBA_COMMENTLINE = stc.wxSTC_HBA_COMMENTLINE # 82 -wxSTC_HBA_DEFAULT = stc.wxSTC_HBA_DEFAULT # 81 -wxSTC_HBA_IDENTIFIER = stc.wxSTC_HBA_IDENTIFIER # 86 -wxSTC_HBA_NUMBER = stc.wxSTC_HBA_NUMBER # 83 -wxSTC_HBA_START = stc.wxSTC_HBA_START # 80 -wxSTC_HBA_STRING = stc.wxSTC_HBA_STRING # 85 -wxSTC_HBA_STRINGEOL = stc.wxSTC_HBA_STRINGEOL # 87 -wxSTC_HBA_WORD = stc.wxSTC_HBA_WORD # 84 -wxSTC_HB_COMMENTLINE = stc.wxSTC_HB_COMMENTLINE # 72 -wxSTC_HB_DEFAULT = stc.wxSTC_HB_DEFAULT # 71 -wxSTC_HB_IDENTIFIER = stc.wxSTC_HB_IDENTIFIER # 76 -wxSTC_HB_NUMBER = stc.wxSTC_HB_NUMBER # 73 -wxSTC_HB_START = stc.wxSTC_HB_START # 70 -wxSTC_HB_STRING = stc.wxSTC_HB_STRING # 75 -wxSTC_HB_STRINGEOL = stc.wxSTC_HB_STRINGEOL # 77 -wxSTC_HB_WORD = stc.wxSTC_HB_WORD # 74 -wxSTC_HJA_COMMENT = stc.wxSTC_HJA_COMMENT # 57 -wxSTC_HJA_COMMENTDOC = stc.wxSTC_HJA_COMMENTDOC # 59 -wxSTC_HJA_COMMENTLINE = stc.wxSTC_HJA_COMMENTLINE # 58 -wxSTC_HJA_DEFAULT = stc.wxSTC_HJA_DEFAULT # 56 -wxSTC_HJA_DOUBLESTRING = stc.wxSTC_HJA_DOUBLESTRING # 63 -wxSTC_HJA_KEYWORD = stc.wxSTC_HJA_KEYWORD # 62 -wxSTC_HJA_NUMBER = stc.wxSTC_HJA_NUMBER # 60 -wxSTC_HJA_REGEX = stc.wxSTC_HJA_REGEX # 67 -wxSTC_HJA_SINGLESTRING = stc.wxSTC_HJA_SINGLESTRING # 64 -wxSTC_HJA_START = stc.wxSTC_HJA_START # 55 -wxSTC_HJA_STRINGEOL = stc.wxSTC_HJA_STRINGEOL # 66 -wxSTC_HJA_SYMBOLS = stc.wxSTC_HJA_SYMBOLS # 65 -wxSTC_HJA_WORD = stc.wxSTC_HJA_WORD # 61 -wxSTC_HJ_COMMENT = stc.wxSTC_HJ_COMMENT # 42 -wxSTC_HJ_COMMENTDOC = stc.wxSTC_HJ_COMMENTDOC # 44 -wxSTC_HJ_COMMENTLINE = stc.wxSTC_HJ_COMMENTLINE # 43 -wxSTC_HJ_DEFAULT = stc.wxSTC_HJ_DEFAULT # 41 -wxSTC_HJ_DOUBLESTRING = stc.wxSTC_HJ_DOUBLESTRING # 48 -wxSTC_HJ_KEYWORD = stc.wxSTC_HJ_KEYWORD # 47 -wxSTC_HJ_NUMBER = stc.wxSTC_HJ_NUMBER # 45 -wxSTC_HJ_REGEX = stc.wxSTC_HJ_REGEX # 52 -wxSTC_HJ_SINGLESTRING = stc.wxSTC_HJ_SINGLESTRING # 49 -wxSTC_HJ_START = stc.wxSTC_HJ_START # 40 -wxSTC_HJ_STRINGEOL = stc.wxSTC_HJ_STRINGEOL # 51 -wxSTC_HJ_SYMBOLS = stc.wxSTC_HJ_SYMBOLS # 50 -wxSTC_HJ_WORD = stc.wxSTC_HJ_WORD # 46 -wxSTC_HPA_CHARACTER = stc.wxSTC_HPA_CHARACTER # 110 -wxSTC_HPA_CLASSNAME = stc.wxSTC_HPA_CLASSNAME # 114 -wxSTC_HPA_COMMENTLINE = stc.wxSTC_HPA_COMMENTLINE # 107 -wxSTC_HPA_DEFAULT = stc.wxSTC_HPA_DEFAULT # 106 -wxSTC_HPA_DEFNAME = stc.wxSTC_HPA_DEFNAME # 115 -wxSTC_HPA_IDENTIFIER = stc.wxSTC_HPA_IDENTIFIER # 117 -wxSTC_HPA_NUMBER = stc.wxSTC_HPA_NUMBER # 108 -wxSTC_HPA_OPERATOR = stc.wxSTC_HPA_OPERATOR # 116 -wxSTC_HPA_START = stc.wxSTC_HPA_START # 105 -wxSTC_HPA_STRING = stc.wxSTC_HPA_STRING # 109 -wxSTC_HPA_TRIPLE = stc.wxSTC_HPA_TRIPLE # 112 -wxSTC_HPA_TRIPLEDOUBLE = stc.wxSTC_HPA_TRIPLEDOUBLE # 113 -wxSTC_HPA_WORD = stc.wxSTC_HPA_WORD # 111 -wxSTC_HPHP_COMMENT = stc.wxSTC_HPHP_COMMENT # 124 -wxSTC_HPHP_COMMENTLINE = stc.wxSTC_HPHP_COMMENTLINE # 125 -wxSTC_HPHP_DEFAULT = stc.wxSTC_HPHP_DEFAULT # 118 -wxSTC_HPHP_HSTRING = stc.wxSTC_HPHP_HSTRING # 119 -wxSTC_HPHP_HSTRING_VARIABLE = stc.wxSTC_HPHP_HSTRING_VARIABLE # 126 -wxSTC_HPHP_NUMBER = stc.wxSTC_HPHP_NUMBER # 122 -wxSTC_HPHP_OPERATOR = stc.wxSTC_HPHP_OPERATOR # 127 -wxSTC_HPHP_SIMPLESTRING = stc.wxSTC_HPHP_SIMPLESTRING # 120 -wxSTC_HPHP_VARIABLE = stc.wxSTC_HPHP_VARIABLE # 123 -wxSTC_HPHP_WORD = stc.wxSTC_HPHP_WORD # 121 -wxSTC_HP_CHARACTER = stc.wxSTC_HP_CHARACTER # 95 -wxSTC_HP_CLASSNAME = stc.wxSTC_HP_CLASSNAME # 99 -wxSTC_HP_COMMENTLINE = stc.wxSTC_HP_COMMENTLINE # 92 -wxSTC_HP_DEFAULT = stc.wxSTC_HP_DEFAULT # 91 -wxSTC_HP_DEFNAME = stc.wxSTC_HP_DEFNAME # 100 -wxSTC_HP_IDENTIFIER = stc.wxSTC_HP_IDENTIFIER # 102 -wxSTC_HP_NUMBER = stc.wxSTC_HP_NUMBER # 93 -wxSTC_HP_OPERATOR = stc.wxSTC_HP_OPERATOR # 101 -wxSTC_HP_START = stc.wxSTC_HP_START # 90 -wxSTC_HP_STRING = stc.wxSTC_HP_STRING # 94 -wxSTC_HP_TRIPLE = stc.wxSTC_HP_TRIPLE # 97 -wxSTC_HP_TRIPLEDOUBLE = stc.wxSTC_HP_TRIPLEDOUBLE # 98 -wxSTC_HP_WORD = stc.wxSTC_HP_WORD # 96 -wxSTC_H_ASP = stc.wxSTC_H_ASP # 15 -wxSTC_H_ASPAT = stc.wxSTC_H_ASPAT # 16 -wxSTC_H_ATTRIBUTE = stc.wxSTC_H_ATTRIBUTE # 3 -wxSTC_H_ATTRIBUTEUNKNOWN = stc.wxSTC_H_ATTRIBUTEUNKNOWN # 4 -wxSTC_H_CDATA = stc.wxSTC_H_CDATA # 17 -wxSTC_H_COMMENT = stc.wxSTC_H_COMMENT # 9 -wxSTC_H_DEFAULT = stc.wxSTC_H_DEFAULT # 0 -wxSTC_H_DOUBLESTRING = stc.wxSTC_H_DOUBLESTRING # 6 -wxSTC_H_ENTITY = stc.wxSTC_H_ENTITY # 10 -wxSTC_H_NUMBER = stc.wxSTC_H_NUMBER # 5 -wxSTC_H_OTHER = stc.wxSTC_H_OTHER # 8 -wxSTC_H_QUESTION = stc.wxSTC_H_QUESTION # 18 -wxSTC_H_SCRIPT = stc.wxSTC_H_SCRIPT # 14 -wxSTC_H_SGML_1ST_PARAM = stc.wxSTC_H_SGML_1ST_PARAM # 23 -wxSTC_H_SGML_1ST_PARAM_COMMENT = stc.wxSTC_H_SGML_1ST_PARAM_COMMENT # 30 -wxSTC_H_SGML_BLOCK_DEFAULT = stc.wxSTC_H_SGML_BLOCK_DEFAULT # 31 -wxSTC_H_SGML_COMMAND = stc.wxSTC_H_SGML_COMMAND # 22 -wxSTC_H_SGML_COMMENT = stc.wxSTC_H_SGML_COMMENT # 29 -wxSTC_H_SGML_DEFAULT = stc.wxSTC_H_SGML_DEFAULT # 21 -wxSTC_H_SGML_DOUBLESTRING = stc.wxSTC_H_SGML_DOUBLESTRING # 24 -wxSTC_H_SGML_ENTITY = stc.wxSTC_H_SGML_ENTITY # 28 -wxSTC_H_SGML_ERROR = stc.wxSTC_H_SGML_ERROR # 26 -wxSTC_H_SGML_SIMPLESTRING = stc.wxSTC_H_SGML_SIMPLESTRING # 25 -wxSTC_H_SGML_SPECIAL = stc.wxSTC_H_SGML_SPECIAL # 27 -wxSTC_H_SINGLESTRING = stc.wxSTC_H_SINGLESTRING # 7 -wxSTC_H_TAG = stc.wxSTC_H_TAG # 1 -wxSTC_H_TAGEND = stc.wxSTC_H_TAGEND # 11 -wxSTC_H_TAGUNKNOWN = stc.wxSTC_H_TAGUNKNOWN # 2 -wxSTC_H_VALUE = stc.wxSTC_H_VALUE # 19 -wxSTC_H_XCCOMMENT = stc.wxSTC_H_XCCOMMENT # 20 -wxSTC_H_XMLEND = stc.wxSTC_H_XMLEND # 13 -wxSTC_H_XMLSTART = stc.wxSTC_H_XMLSTART # 12 -wxSTC_INDIC0_MASK = stc.wxSTC_INDIC0_MASK # 32 -wxSTC_INDIC1_MASK = stc.wxSTC_INDIC1_MASK # 64 -wxSTC_INDIC2_MASK = stc.wxSTC_INDIC2_MASK # 128 -wxSTC_INDICS_MASK = stc.wxSTC_INDICS_MASK # 224 -wxSTC_INDIC_DIAGONAL = stc.wxSTC_INDIC_DIAGONAL # 3 -wxSTC_INDIC_MAX = stc.wxSTC_INDIC_MAX # 7 -wxSTC_INDIC_PLAIN = stc.wxSTC_INDIC_PLAIN # 0 -wxSTC_INDIC_SQUIGGLE = stc.wxSTC_INDIC_SQUIGGLE # 1 -wxSTC_INDIC_STRIKE = stc.wxSTC_INDIC_STRIKE # 4 -wxSTC_INDIC_TT = stc.wxSTC_INDIC_TT # 2 -wxSTC_INVALID_POSITION = stc.wxSTC_INVALID_POSITION # -1 -wxSTC_KEY_ADD = stc.wxSTC_KEY_ADD # 310 -wxSTC_KEY_BACK = stc.wxSTC_KEY_BACK # 8 -wxSTC_KEY_DELETE = stc.wxSTC_KEY_DELETE # 308 -wxSTC_KEY_DIVIDE = stc.wxSTC_KEY_DIVIDE # 312 -wxSTC_KEY_DOWN = stc.wxSTC_KEY_DOWN # 300 -wxSTC_KEY_END = stc.wxSTC_KEY_END # 305 -wxSTC_KEY_ESCAPE = stc.wxSTC_KEY_ESCAPE # 7 -wxSTC_KEY_HOME = stc.wxSTC_KEY_HOME # 304 -wxSTC_KEY_INSERT = stc.wxSTC_KEY_INSERT # 309 -wxSTC_KEY_LEFT = stc.wxSTC_KEY_LEFT # 302 -wxSTC_KEY_NEXT = stc.wxSTC_KEY_NEXT # 307 -wxSTC_KEY_PRIOR = stc.wxSTC_KEY_PRIOR # 306 -wxSTC_KEY_RETURN = stc.wxSTC_KEY_RETURN # 13 -wxSTC_KEY_RIGHT = stc.wxSTC_KEY_RIGHT # 303 -wxSTC_KEY_SUBTRACT = stc.wxSTC_KEY_SUBTRACT # 311 -wxSTC_KEY_TAB = stc.wxSTC_KEY_TAB # 9 -wxSTC_KEY_UP = stc.wxSTC_KEY_UP # 301 -wxSTC_LASTSTEPINUNDOREDO = stc.wxSTC_LASTSTEPINUNDOREDO # 256 -wxSTC_LEXER_START = stc.wxSTC_LEXER_START # 4000 -wxSTC_LEX_ADA = stc.wxSTC_LEX_ADA # 20 -wxSTC_LEX_ASP = stc.wxSTC_LEX_ASP # 29 -wxSTC_LEX_AUTOMATIC = stc.wxSTC_LEX_AUTOMATIC # 1000 -wxSTC_LEX_AVE = stc.wxSTC_LEX_AVE # 19 -wxSTC_LEX_BAAN = stc.wxSTC_LEX_BAAN # 31 -wxSTC_LEX_BATCH = stc.wxSTC_LEX_BATCH # 12 -wxSTC_LEX_BULLANT = stc.wxSTC_LEX_BULLANT # 27 -wxSTC_LEX_CONF = stc.wxSTC_LEX_CONF # 17 -wxSTC_LEX_CONTAINER = stc.wxSTC_LEX_CONTAINER # 0 -wxSTC_LEX_CPP = stc.wxSTC_LEX_CPP # 3 -wxSTC_LEX_DIFF = stc.wxSTC_LEX_DIFF # 16 -wxSTC_LEX_EIFFEL = stc.wxSTC_LEX_EIFFEL # 23 -wxSTC_LEX_EIFFELKW = stc.wxSTC_LEX_EIFFELKW # 24 -wxSTC_LEX_ERRORLIST = stc.wxSTC_LEX_ERRORLIST # 10 -wxSTC_LEX_HTML = stc.wxSTC_LEX_HTML # 4 -wxSTC_LEX_LATEX = stc.wxSTC_LEX_LATEX # 14 -wxSTC_LEX_LISP = stc.wxSTC_LEX_LISP # 21 -wxSTC_LEX_LUA = stc.wxSTC_LEX_LUA # 15 -wxSTC_LEX_MAKEFILE = stc.wxSTC_LEX_MAKEFILE # 11 -wxSTC_LEX_MATLAB = stc.wxSTC_LEX_MATLAB # 32 -wxSTC_LEX_NNCRONTAB = stc.wxSTC_LEX_NNCRONTAB # 26 -wxSTC_LEX_NULL = stc.wxSTC_LEX_NULL # 1 -wxSTC_LEX_PASCAL = stc.wxSTC_LEX_PASCAL # 18 -wxSTC_LEX_PERL = stc.wxSTC_LEX_PERL # 6 -wxSTC_LEX_PHP = stc.wxSTC_LEX_PHP # 30 -wxSTC_LEX_PROPERTIES = stc.wxSTC_LEX_PROPERTIES # 9 -wxSTC_LEX_PYTHON = stc.wxSTC_LEX_PYTHON # 2 -wxSTC_LEX_RUBY = stc.wxSTC_LEX_RUBY # 22 -wxSTC_LEX_SCRIPTOL = stc.wxSTC_LEX_SCRIPTOL # 33 -wxSTC_LEX_SQL = stc.wxSTC_LEX_SQL # 7 -wxSTC_LEX_TCL = stc.wxSTC_LEX_TCL # 25 -wxSTC_LEX_VB = stc.wxSTC_LEX_VB # 8 -wxSTC_LEX_VBSCRIPT = stc.wxSTC_LEX_VBSCRIPT # 28 -wxSTC_LEX_XCODE = stc.wxSTC_LEX_XCODE # 13 -wxSTC_LEX_XML = stc.wxSTC_LEX_XML # 5 -wxSTC_LISP_COMMENT = stc.wxSTC_LISP_COMMENT # 1 -wxSTC_LISP_DEFAULT = stc.wxSTC_LISP_DEFAULT # 0 -wxSTC_LISP_IDENTIFIER = stc.wxSTC_LISP_IDENTIFIER # 9 -wxSTC_LISP_KEYWORD = stc.wxSTC_LISP_KEYWORD # 3 -wxSTC_LISP_NUMBER = stc.wxSTC_LISP_NUMBER # 2 -wxSTC_LISP_OPERATOR = stc.wxSTC_LISP_OPERATOR # 10 -wxSTC_LISP_STRING = stc.wxSTC_LISP_STRING # 6 -wxSTC_LISP_STRINGEOL = stc.wxSTC_LISP_STRINGEOL # 8 -wxSTC_LUA_CHARACTER = stc.wxSTC_LUA_CHARACTER # 7 -wxSTC_LUA_COMMENT = stc.wxSTC_LUA_COMMENT # 1 -wxSTC_LUA_COMMENTDOC = stc.wxSTC_LUA_COMMENTDOC # 3 -wxSTC_LUA_COMMENTLINE = stc.wxSTC_LUA_COMMENTLINE # 2 -wxSTC_LUA_DEFAULT = stc.wxSTC_LUA_DEFAULT # 0 -wxSTC_LUA_IDENTIFIER = stc.wxSTC_LUA_IDENTIFIER # 11 -wxSTC_LUA_LITERALSTRING = stc.wxSTC_LUA_LITERALSTRING # 8 -wxSTC_LUA_NUMBER = stc.wxSTC_LUA_NUMBER # 4 -wxSTC_LUA_OPERATOR = stc.wxSTC_LUA_OPERATOR # 10 -wxSTC_LUA_PREPROCESSOR = stc.wxSTC_LUA_PREPROCESSOR # 9 -wxSTC_LUA_STRING = stc.wxSTC_LUA_STRING # 6 -wxSTC_LUA_STRINGEOL = stc.wxSTC_LUA_STRINGEOL # 12 -wxSTC_LUA_WORD = stc.wxSTC_LUA_WORD # 5 -wxSTC_LUA_WORD2 = stc.wxSTC_LUA_WORD2 # 13 -wxSTC_LUA_WORD3 = stc.wxSTC_LUA_WORD3 # 14 -wxSTC_LUA_WORD4 = stc.wxSTC_LUA_WORD4 # 15 -wxSTC_LUA_WORD5 = stc.wxSTC_LUA_WORD5 # 16 -wxSTC_LUA_WORD6 = stc.wxSTC_LUA_WORD6 # 17 -wxSTC_L_COMMAND = stc.wxSTC_L_COMMAND # 1 -wxSTC_L_COMMENT = stc.wxSTC_L_COMMENT # 4 -wxSTC_L_DEFAULT = stc.wxSTC_L_DEFAULT # 0 -wxSTC_L_MATH = stc.wxSTC_L_MATH # 3 -wxSTC_L_TAG = stc.wxSTC_L_TAG # 2 -wxSTC_MAKE_COMMENT = stc.wxSTC_MAKE_COMMENT # 1 -wxSTC_MAKE_DEFAULT = stc.wxSTC_MAKE_DEFAULT # 0 -wxSTC_MAKE_IDENTIFIER = stc.wxSTC_MAKE_IDENTIFIER # 3 -wxSTC_MAKE_IDEOL = stc.wxSTC_MAKE_IDEOL # 9 -wxSTC_MAKE_OPERATOR = stc.wxSTC_MAKE_OPERATOR # 4 -wxSTC_MAKE_PREPROCESSOR = stc.wxSTC_MAKE_PREPROCESSOR # 2 -wxSTC_MAKE_TARGET = stc.wxSTC_MAKE_TARGET # 5 -wxSTC_MARGIN_NUMBER = stc.wxSTC_MARGIN_NUMBER # 1 -wxSTC_MARGIN_SYMBOL = stc.wxSTC_MARGIN_SYMBOL # 0 -wxSTC_MARKER_MAX = stc.wxSTC_MARKER_MAX # 31 -wxSTC_MARKNUM_FOLDER = stc.wxSTC_MARKNUM_FOLDER # 30 -wxSTC_MARKNUM_FOLDEREND = stc.wxSTC_MARKNUM_FOLDEREND # 25 -wxSTC_MARKNUM_FOLDERMIDTAIL = stc.wxSTC_MARKNUM_FOLDERMIDTAIL # 27 -wxSTC_MARKNUM_FOLDEROPEN = stc.wxSTC_MARKNUM_FOLDEROPEN # 31 -wxSTC_MARKNUM_FOLDEROPENMID = stc.wxSTC_MARKNUM_FOLDEROPENMID # 26 -wxSTC_MARKNUM_FOLDERSUB = stc.wxSTC_MARKNUM_FOLDERSUB # 29 -wxSTC_MARKNUM_FOLDERTAIL = stc.wxSTC_MARKNUM_FOLDERTAIL # 28 -wxSTC_MARK_ARROW = stc.wxSTC_MARK_ARROW # 2 -wxSTC_MARK_ARROWDOWN = stc.wxSTC_MARK_ARROWDOWN # 6 -wxSTC_MARK_ARROWS = stc.wxSTC_MARK_ARROWS # 24 -wxSTC_MARK_BACKGROUND = stc.wxSTC_MARK_BACKGROUND # 22 -wxSTC_MARK_BOXMINUS = stc.wxSTC_MARK_BOXMINUS # 14 -wxSTC_MARK_BOXMINUSCONNECTED = stc.wxSTC_MARK_BOXMINUSCONNECTED # 15 -wxSTC_MARK_BOXPLUS = stc.wxSTC_MARK_BOXPLUS # 12 -wxSTC_MARK_BOXPLUSCONNECTED = stc.wxSTC_MARK_BOXPLUSCONNECTED # 13 -wxSTC_MARK_CHARACTER = stc.wxSTC_MARK_CHARACTER # 10000 -wxSTC_MARK_CIRCLE = stc.wxSTC_MARK_CIRCLE # 0 -wxSTC_MARK_CIRCLEMINUS = stc.wxSTC_MARK_CIRCLEMINUS # 20 -wxSTC_MARK_CIRCLEMINUSCONNECTED = stc.wxSTC_MARK_CIRCLEMINUSCONNECTED # 21 -wxSTC_MARK_CIRCLEPLUS = stc.wxSTC_MARK_CIRCLEPLUS # 18 -wxSTC_MARK_CIRCLEPLUSCONNECTED = stc.wxSTC_MARK_CIRCLEPLUSCONNECTED # 19 -wxSTC_MARK_DOTDOTDOT = stc.wxSTC_MARK_DOTDOTDOT # 23 -wxSTC_MARK_EMPTY = stc.wxSTC_MARK_EMPTY # 5 -wxSTC_MARK_LCORNER = stc.wxSTC_MARK_LCORNER # 10 -wxSTC_MARK_LCORNERCURVE = stc.wxSTC_MARK_LCORNERCURVE # 16 -wxSTC_MARK_MINUS = stc.wxSTC_MARK_MINUS # 7 -wxSTC_MARK_PLUS = stc.wxSTC_MARK_PLUS # 8 -wxSTC_MARK_ROUNDRECT = stc.wxSTC_MARK_ROUNDRECT # 1 -wxSTC_MARK_SHORTARROW = stc.wxSTC_MARK_SHORTARROW # 4 -wxSTC_MARK_SMALLRECT = stc.wxSTC_MARK_SMALLRECT # 3 -wxSTC_MARK_TCORNER = stc.wxSTC_MARK_TCORNER # 11 -wxSTC_MARK_TCORNERCURVE = stc.wxSTC_MARK_TCORNERCURVE # 17 -wxSTC_MARK_VLINE = stc.wxSTC_MARK_VLINE # 9 -wxSTC_MASK_FOLDERS = stc.wxSTC_MASK_FOLDERS # -33554432 -wxSTC_MATLAB_COMMAND = stc.wxSTC_MATLAB_COMMAND # 2 -wxSTC_MATLAB_COMMENT = stc.wxSTC_MATLAB_COMMENT # 1 -wxSTC_MATLAB_DEFAULT = stc.wxSTC_MATLAB_DEFAULT # 0 -wxSTC_MATLAB_IDENTIFIER = stc.wxSTC_MATLAB_IDENTIFIER # 7 -wxSTC_MATLAB_KEYWORD = stc.wxSTC_MATLAB_KEYWORD # 4 -wxSTC_MATLAB_NUMBER = stc.wxSTC_MATLAB_NUMBER # 3 -wxSTC_MATLAB_OPERATOR = stc.wxSTC_MATLAB_OPERATOR # 6 -wxSTC_MATLAB_STRING = stc.wxSTC_MATLAB_STRING # 5 -wxSTC_MODEVENTMASKALL = stc.wxSTC_MODEVENTMASKALL # 3959 -wxSTC_MOD_BEFOREDELETE = stc.wxSTC_MOD_BEFOREDELETE # 2048 -wxSTC_MOD_BEFOREINSERT = stc.wxSTC_MOD_BEFOREINSERT # 1024 -wxSTC_MOD_CHANGEFOLD = stc.wxSTC_MOD_CHANGEFOLD # 8 -wxSTC_MOD_CHANGEMARKER = stc.wxSTC_MOD_CHANGEMARKER # 512 -wxSTC_MOD_CHANGESTYLE = stc.wxSTC_MOD_CHANGESTYLE # 4 -wxSTC_MOD_DELETETEXT = stc.wxSTC_MOD_DELETETEXT # 2 -wxSTC_MOD_INSERTTEXT = stc.wxSTC_MOD_INSERTTEXT # 1 -wxSTC_NNCRONTAB_ASTERISK = stc.wxSTC_NNCRONTAB_ASTERISK # 6 -wxSTC_NNCRONTAB_COMMENT = stc.wxSTC_NNCRONTAB_COMMENT # 1 -wxSTC_NNCRONTAB_DEFAULT = stc.wxSTC_NNCRONTAB_DEFAULT # 0 -wxSTC_NNCRONTAB_ENVIRONMENT = stc.wxSTC_NNCRONTAB_ENVIRONMENT # 9 -wxSTC_NNCRONTAB_IDENTIFIER = stc.wxSTC_NNCRONTAB_IDENTIFIER # 10 -wxSTC_NNCRONTAB_KEYWORD = stc.wxSTC_NNCRONTAB_KEYWORD # 4 -wxSTC_NNCRONTAB_MODIFIER = stc.wxSTC_NNCRONTAB_MODIFIER # 5 -wxSTC_NNCRONTAB_NUMBER = stc.wxSTC_NNCRONTAB_NUMBER # 7 -wxSTC_NNCRONTAB_SECTION = stc.wxSTC_NNCRONTAB_SECTION # 3 -wxSTC_NNCRONTAB_STRING = stc.wxSTC_NNCRONTAB_STRING # 8 -wxSTC_NNCRONTAB_TASK = stc.wxSTC_NNCRONTAB_TASK # 2 -wxSTC_OPTIONAL_START = stc.wxSTC_OPTIONAL_START # 3000 -wxSTC_PERFORMED_REDO = stc.wxSTC_PERFORMED_REDO # 64 -wxSTC_PERFORMED_UNDO = stc.wxSTC_PERFORMED_UNDO # 32 -wxSTC_PERFORMED_USER = stc.wxSTC_PERFORMED_USER # 16 -wxSTC_PL_ARRAY = stc.wxSTC_PL_ARRAY # 13 -wxSTC_PL_BACKTICKS = stc.wxSTC_PL_BACKTICKS # 20 -wxSTC_PL_CHARACTER = stc.wxSTC_PL_CHARACTER # 7 -wxSTC_PL_COMMENTLINE = stc.wxSTC_PL_COMMENTLINE # 2 -wxSTC_PL_DATASECTION = stc.wxSTC_PL_DATASECTION # 21 -wxSTC_PL_DEFAULT = stc.wxSTC_PL_DEFAULT # 0 -wxSTC_PL_ERROR = stc.wxSTC_PL_ERROR # 1 -wxSTC_PL_HASH = stc.wxSTC_PL_HASH # 14 -wxSTC_PL_HERE_DELIM = stc.wxSTC_PL_HERE_DELIM # 22 -wxSTC_PL_HERE_Q = stc.wxSTC_PL_HERE_Q # 23 -wxSTC_PL_HERE_QQ = stc.wxSTC_PL_HERE_QQ # 24 -wxSTC_PL_HERE_QX = stc.wxSTC_PL_HERE_QX # 25 -wxSTC_PL_IDENTIFIER = stc.wxSTC_PL_IDENTIFIER # 11 -wxSTC_PL_LONGQUOTE = stc.wxSTC_PL_LONGQUOTE # 19 -wxSTC_PL_NUMBER = stc.wxSTC_PL_NUMBER # 4 -wxSTC_PL_OPERATOR = stc.wxSTC_PL_OPERATOR # 10 -wxSTC_PL_POD = stc.wxSTC_PL_POD # 3 -wxSTC_PL_PREPROCESSOR = stc.wxSTC_PL_PREPROCESSOR # 9 -wxSTC_PL_PUNCTUATION = stc.wxSTC_PL_PUNCTUATION # 8 -wxSTC_PL_REGEX = stc.wxSTC_PL_REGEX # 17 -wxSTC_PL_REGSUBST = stc.wxSTC_PL_REGSUBST # 18 -wxSTC_PL_SCALAR = stc.wxSTC_PL_SCALAR # 12 -wxSTC_PL_STRING = stc.wxSTC_PL_STRING # 6 -wxSTC_PL_STRING_Q = stc.wxSTC_PL_STRING_Q # 26 -wxSTC_PL_STRING_QQ = stc.wxSTC_PL_STRING_QQ # 27 -wxSTC_PL_STRING_QR = stc.wxSTC_PL_STRING_QR # 29 -wxSTC_PL_STRING_QW = stc.wxSTC_PL_STRING_QW # 30 -wxSTC_PL_STRING_QX = stc.wxSTC_PL_STRING_QX # 28 -wxSTC_PL_SYMBOLTABLE = stc.wxSTC_PL_SYMBOLTABLE # 15 -wxSTC_PL_WORD = stc.wxSTC_PL_WORD # 5 -wxSTC_PRINT_BLACKONWHITE = stc.wxSTC_PRINT_BLACKONWHITE # 2 -wxSTC_PRINT_COLOURONWHITE = stc.wxSTC_PRINT_COLOURONWHITE # 3 -wxSTC_PRINT_COLOURONWHITEDEFAULTBG = stc.wxSTC_PRINT_COLOURONWHITEDEFAULTBG # 4 -wxSTC_PRINT_INVERTLIGHT = stc.wxSTC_PRINT_INVERTLIGHT # 1 -wxSTC_PRINT_NORMAL = stc.wxSTC_PRINT_NORMAL # 0 -wxSTC_PROPS_ASSIGNMENT = stc.wxSTC_PROPS_ASSIGNMENT # 3 -wxSTC_PROPS_COMMENT = stc.wxSTC_PROPS_COMMENT # 1 -wxSTC_PROPS_DEFAULT = stc.wxSTC_PROPS_DEFAULT # 0 -wxSTC_PROPS_DEFVAL = stc.wxSTC_PROPS_DEFVAL # 4 -wxSTC_PROPS_SECTION = stc.wxSTC_PROPS_SECTION # 2 -wxSTC_P_CHARACTER = stc.wxSTC_P_CHARACTER # 4 -wxSTC_P_CLASSNAME = stc.wxSTC_P_CLASSNAME # 8 -wxSTC_P_COMMENTBLOCK = stc.wxSTC_P_COMMENTBLOCK # 12 -wxSTC_P_COMMENTLINE = stc.wxSTC_P_COMMENTLINE # 1 -wxSTC_P_DEFAULT = stc.wxSTC_P_DEFAULT # 0 -wxSTC_P_DEFNAME = stc.wxSTC_P_DEFNAME # 9 -wxSTC_P_IDENTIFIER = stc.wxSTC_P_IDENTIFIER # 11 -wxSTC_P_NUMBER = stc.wxSTC_P_NUMBER # 2 -wxSTC_P_OPERATOR = stc.wxSTC_P_OPERATOR # 10 -wxSTC_P_STRING = stc.wxSTC_P_STRING # 3 -wxSTC_P_STRINGEOL = stc.wxSTC_P_STRINGEOL # 13 -wxSTC_P_TRIPLE = stc.wxSTC_P_TRIPLE # 6 -wxSTC_P_TRIPLEDOUBLE = stc.wxSTC_P_TRIPLEDOUBLE # 7 -wxSTC_P_WORD = stc.wxSTC_P_WORD # 5 -wxSTC_SCMOD_ALT = stc.wxSTC_SCMOD_ALT # 4 -wxSTC_SCMOD_CTRL = stc.wxSTC_SCMOD_CTRL # 2 -wxSTC_SCMOD_SHIFT = stc.wxSTC_SCMOD_SHIFT # 1 -wxSTC_SCRIPTOL_CHARACTER = stc.wxSTC_SCRIPTOL_CHARACTER # 7 -wxSTC_SCRIPTOL_COMMENT = stc.wxSTC_SCRIPTOL_COMMENT # 1 -wxSTC_SCRIPTOL_COMMENTBASIC = stc.wxSTC_SCRIPTOL_COMMENTBASIC # 19 -wxSTC_SCRIPTOL_COMMENTDOC = stc.wxSTC_SCRIPTOL_COMMENTDOC # 3 -wxSTC_SCRIPTOL_COMMENTDOCKEYWORD = stc.wxSTC_SCRIPTOL_COMMENTDOCKEYWORD # 17 -wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR = stc.wxSTC_SCRIPTOL_COMMENTDOCKEYWORDERROR # 18 -wxSTC_SCRIPTOL_COMMENTLINE = stc.wxSTC_SCRIPTOL_COMMENTLINE # 2 -wxSTC_SCRIPTOL_COMMENTLINEDOC = stc.wxSTC_SCRIPTOL_COMMENTLINEDOC # 15 -wxSTC_SCRIPTOL_DEFAULT = stc.wxSTC_SCRIPTOL_DEFAULT # 0 -wxSTC_SCRIPTOL_IDENTIFIER = stc.wxSTC_SCRIPTOL_IDENTIFIER # 11 -wxSTC_SCRIPTOL_NUMBER = stc.wxSTC_SCRIPTOL_NUMBER # 4 -wxSTC_SCRIPTOL_OPERATOR = stc.wxSTC_SCRIPTOL_OPERATOR # 10 -wxSTC_SCRIPTOL_PREPROCESSOR = stc.wxSTC_SCRIPTOL_PREPROCESSOR # 9 -wxSTC_SCRIPTOL_REGEX = stc.wxSTC_SCRIPTOL_REGEX # 14 -wxSTC_SCRIPTOL_STRING = stc.wxSTC_SCRIPTOL_STRING # 6 -wxSTC_SCRIPTOL_STRINGEOL = stc.wxSTC_SCRIPTOL_STRINGEOL # 12 -wxSTC_SCRIPTOL_UUID = stc.wxSTC_SCRIPTOL_UUID # 8 -wxSTC_SCRIPTOL_VERBATIM = stc.wxSTC_SCRIPTOL_VERBATIM # 13 -wxSTC_SCRIPTOL_WORD = stc.wxSTC_SCRIPTOL_WORD # 5 -wxSTC_SCRIPTOL_WORD2 = stc.wxSTC_SCRIPTOL_WORD2 # 16 -wxSTC_START = stc.wxSTC_START # 2000 -wxSTC_STYLE_BRACEBAD = stc.wxSTC_STYLE_BRACEBAD # 35 -wxSTC_STYLE_BRACELIGHT = stc.wxSTC_STYLE_BRACELIGHT # 34 -wxSTC_STYLE_CONTROLCHAR = stc.wxSTC_STYLE_CONTROLCHAR # 36 -wxSTC_STYLE_DEFAULT = stc.wxSTC_STYLE_DEFAULT # 32 -wxSTC_STYLE_INDENTGUIDE = stc.wxSTC_STYLE_INDENTGUIDE # 37 -wxSTC_STYLE_LASTPREDEFINED = stc.wxSTC_STYLE_LASTPREDEFINED # 39 -wxSTC_STYLE_LINENUMBER = stc.wxSTC_STYLE_LINENUMBER # 33 -wxSTC_STYLE_MAX = stc.wxSTC_STYLE_MAX # 127 -wxSTC_TIME_FOREVER = stc.wxSTC_TIME_FOREVER # 10000000 -wxSTC_USE_POPUP = stc.wxSTC_USE_POPUP # 1 -wxSTC_VISIBLE_SLOP = stc.wxSTC_VISIBLE_SLOP # 1 -wxSTC_VISIBLE_STRICT = stc.wxSTC_VISIBLE_STRICT # 4 -wxSTC_WRAP_NONE = stc.wxSTC_WRAP_NONE # 0 -wxSTC_WRAP_WORD = stc.wxSTC_WRAP_WORD # 1 -wxSTC_WS_INVISIBLE = stc.wxSTC_WS_INVISIBLE # 0 -wxSTC_WS_VISIBLEAFTERINDENT = stc.wxSTC_WS_VISIBLEAFTERINDENT # 2 -wxSTC_WS_VISIBLEALWAYS = stc.wxSTC_WS_VISIBLEALWAYS # 1 -# End generated constants. diff --git a/wxPython/wx/py/wxd/Threading.py b/wxPython/wx/py/wxd/Threading.py deleted file mode 100644 index ff1f86bd93..0000000000 --- a/wxPython/wx/py/wxd/Threading.py +++ /dev/null @@ -1,26 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -class MutexGuiLocker: - """""" - - def __del__(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/ToolBar.py b/wxPython/wx/py/wxd/ToolBar.py deleted file mode 100644 index d12ac61b54..0000000000 --- a/wxPython/wx/py/wxd/ToolBar.py +++ /dev/null @@ -1,403 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -from Controls import Control -import Parameters as wx - - -class ToolBarBase(Control): - """""" - - def AddCheckLabelTool(self): - """""" - pass - - def AddCheckTool(self): - """""" - pass - - def AddControl(self): - """""" - pass - - def AddLabelTool(self): - """""" - pass - - def AddRadioLabelTool(self): - """""" - pass - - def AddRadioTool(self): - """""" - pass - - def AddSeparator(self): - """""" - pass - - def AddSimpleTool(self): - """""" - pass - - def AddTool(self): - """""" - pass - - def ClearTools(self): - """""" - pass - - def DeleteTool(self): - """""" - pass - - def DeleteToolByPos(self): - """""" - pass - - def DoAddTool(self): - """""" - pass - - def DoInsertTool(self): - """""" - pass - - def EnableTool(self): - """""" - pass - - def FindControl(self): - """""" - pass - - def FindToolForPosition(self): - """""" - pass - - def GetMargins(self): - """""" - pass - - def GetMaxCols(self): - """""" - pass - - def GetMaxRows(self): - """""" - pass - - def GetToolBitmapSize(self): - """""" - pass - - def GetToolClientData(self): - """""" - pass - - def GetToolEnabled(self): - """""" - pass - - def GetToolLongHelp(self): - """""" - pass - - def GetToolMargins(self): - """""" - pass - - def GetToolPacking(self): - """""" - pass - - def GetToolSeparation(self): - """""" - pass - - def GetToolShortHelp(self): - """""" - pass - - def GetToolSize(self): - """""" - pass - - def GetToolState(self): - """""" - pass - - def InsertControl(self): - """""" - pass - - def InsertLabelTool(self): - """""" - pass - - def InsertSeparator(self): - """""" - pass - - def InsertSimpleTool(self): - """""" - pass - - def InsertTool(self): - """""" - pass - - def IsVertical(self): - """""" - pass - - def Realize(self): - """""" - pass - - def RemoveTool(self): - """""" - pass - - def SetMargins(self): - """""" - pass - - def SetMarginsXY(self): - """""" - pass - - def SetMaxRowsCols(self): - """""" - pass - - def SetRows(self): - """""" - pass - - def SetToggle(self): - """""" - pass - - def SetToolBitmapSize(self): - """""" - pass - - def SetToolClientData(self): - """""" - pass - - def SetToolLongHelp(self): - """""" - pass - - def SetToolPacking(self): - """""" - pass - - def SetToolSeparation(self): - """""" - pass - - def SetToolShortHelp(self): - """""" - pass - - def ToggleTool(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ToolBar(ToolBarBase): - """""" - - def Create(self): - """""" - pass - - def FindToolForPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ToolBarSimple(ToolBarBase): - """""" - - def Create(self): - """""" - pass - - def FindToolForPosition(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class ToolBarToolBase(Object): - """""" - - def Attach(self): - """""" - pass - - def CanBeToggled(self): - """""" - pass - - def Destroy(self): - """""" - pass - - def Detach(self): - """""" - pass - - def Enable(self): - """""" - pass - - def GetBitmap(self): - """""" - pass - - def GetBitmap1(self): - """""" - pass - - def GetBitmap2(self): - """""" - pass - - def GetClientData(self): - """""" - pass - - def GetControl(self): - """""" - pass - - def GetDisabledBitmap(self): - """""" - pass - - def GetId(self): - """""" - pass - - def GetKind(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetLongHelp(self): - """""" - pass - - def GetNormalBitmap(self): - """""" - pass - - def GetShortHelp(self): - """""" - pass - - def GetStyle(self): - """""" - pass - - def GetToolBar(self): - """""" - pass - - def IsButton(self): - """""" - pass - - def IsControl(self): - """""" - pass - - def IsEnabled(self): - """""" - pass - - def IsSeparator(self): - """""" - pass - - def IsToggled(self): - """""" - pass - - def SetBitmap1(self): - """""" - pass - - def SetBitmap2(self): - """""" - pass - - def SetClientData(self): - """""" - pass - - def SetDisabledBitmap(self): - """""" - pass - - def SetLabel(self): - """""" - pass - - def SetLongHelp(self): - """""" - pass - - def SetNormalBitmap(self): - """""" - pass - - def SetShortHelp(self): - """""" - pass - - def SetToggle(self): - """""" - pass - - def Toggle(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Tree.py b/wxPython/wx/py/wxd/Tree.py deleted file mode 100644 index 9b71efd20e..0000000000 --- a/wxPython/wx/py/wxd/Tree.py +++ /dev/null @@ -1,403 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import Object -from Controls import Control -import Parameters as wx - - -class TreeCtrl(Control): - """A tree control presents information as a hierarchy, with items - that may be expanded to show further items. Items in a tree - control are referenced by wx.TreeItemId handles, which may be - tested for validity by calling TreeItemId.IsOk().""" - - def AddRoot(self): - """""" - pass - - def AppendItem(self): - """""" - pass - - def AssignImageList(self): - """""" - pass - - def AssignStateImageList(self): - """""" - pass - - def Collapse(self): - """""" - pass - - def CollapseAndReset(self): - """""" - pass - - def Create(self): - """""" - pass - - def Delete(self): - """""" - pass - - def DeleteAllItems(self): - """""" - pass - - def DeleteChildren(self): - """""" - pass - - def EditLabel(self): - """""" - pass - - def EnsureVisible(self): - """""" - pass - - def Expand(self): - """""" - pass - - def GetBoundingRect(self): - """""" - pass - - def GetChildrenCount(self): - """""" - pass - - def GetCount(self): - """""" - pass - - def GetEditControl(self): - """""" - pass - - def GetFirstChild(self): - """""" - pass - - def GetFirstVisibleItem(self): - """""" - pass - - def GetImageList(self): - """""" - pass - - def GetIndent(self): - """""" - pass - - def GetItemBackgroundColour(self): - """""" - pass - - def GetItemData(self): - """""" - pass - - def GetItemFont(self): - """""" - pass - - def GetItemImage(self): - """""" - pass - - def GetItemParent(self): - """""" - pass - - def GetItemSelectedImage(self): - """""" - pass - - def GetItemText(self): - """""" - pass - - def GetItemTextColour(self): - """""" - pass - - def GetLastChild(self): - """""" - pass - - def GetNextChild(self): - """""" - pass - - def GetNextSibling(self): - """""" - pass - - def GetNextVisible(self): - """""" - pass - - def GetPrevSibling(self): - """""" - pass - - def GetPrevVisible(self): - """""" - pass - - def GetPyData(self): - """""" - pass - - def GetRootItem(self): - """""" - pass - - def GetSelection(self): - """""" - pass - - def GetSelections(self): - """""" - pass - - def GetSpacing(self): - """""" - pass - - def GetStateImageList(self): - """""" - pass - - def HitTest(self): - """""" - pass - - def InsertItem(self): - """""" - pass - - def InsertItemBefore(self): - """""" - pass - - def IsBold(self): - """""" - pass - - def IsExpanded(self): - """""" - pass - - def IsSelected(self): - """""" - pass - - def IsVisible(self): - """""" - pass - - def ItemHasChildren(self): - """""" - pass - - def PrependItem(self): - """""" - pass - - def ScrollTo(self): - """""" - pass - - def SelectItem(self): - """""" - pass - - def SetImageList(self): - """""" - pass - - def SetIndent(self): - """""" - pass - - def SetItemBackgroundColour(self): - """""" - pass - - def SetItemBold(self): - """""" - pass - - def SetItemData(self): - """""" - pass - - def SetItemFont(self): - """""" - pass - - def SetItemHasChildren(self): - """""" - pass - - def SetItemImage(self): - """""" - pass - - def SetItemSelectedImage(self): - """""" - pass - - def SetItemText(self): - """""" - pass - - def SetItemTextColour(self): - """""" - pass - - def SetPyData(self): - """""" - pass - - def SetSpacing(self): - """""" - pass - - def SetStateImageList(self): - """""" - pass - - def SortChildren(self): - """""" - pass - - def Toggle(self): - """""" - pass - - def Unselect(self): - """""" - pass - - def UnselectAll(self): - """""" - pass - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - -class TreeItemAttr: - """""" - - def GetBackgroundColour(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetTextColour(self): - """""" - pass - - def HasBackgroundColour(self): - """""" - pass - - def HasFont(self): - """""" - pass - - def HasTextColour(self): - """""" - pass - - def SetBackgroundColour(self): - """""" - pass - - def SetFont(self): - """""" - pass - - def SetTextColour(self): - """""" - pass - - def __init__(self): - """""" - pass - - -class TreeItemData(Object): - """TreeItemData is some (arbitrary) user class associated with - some item. The main advantage of having this class is that - TreeItemData objects are destroyed automatically by the tree and - the memory and any other resources associated with a tree item - will be automatically freed when it is deleted.""" - - def __init__(self, obj=wx.NULL): - """Associate any Python object with tree item using - wxTreeItemData as container.""" - pass - - def GetData(self): - """Return the Python object.""" - pass - - def GetId(self): - """Return the item associated with this node.""" - pass - - def SetData(self, obj): - """Associate Python object with tree item.""" - pass - - def SetId(self, id): - """Set the item associated with this node.""" - pass - - -class TreeItemId: - """Item in a TreeCtrl.""" - -## You wouldn't create these directly. - -## def __init__(self): -## """""" -## pass - - def IsOk(self): - """Return True if item is valid.""" - pass - - def Ok(self): - """Synonym for IsOk.""" - pass diff --git a/wxPython/wx/py/wxd/Validators.py b/wxPython/wx/py/wxd/Validators.py deleted file mode 100644 index 6c5e87e240..0000000000 --- a/wxPython/wx/py/wxd/Validators.py +++ /dev/null @@ -1,56 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import EvtHandler -import Parameters as wx - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class Validator(EvtHandler): - """""" - - def __init__(self): - """""" - pass - - def Clone(self): - """""" - pass - - def GetWindow(self): - """""" - pass - - def SetWindow(self, window): - """""" - pass - - -class PyValidator(Validator): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self, _class, incref=True): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/Window.py b/wxPython/wx/py/wxd/Window.py deleted file mode 100644 index 51392a094d..0000000000 --- a/wxPython/wx/py/wxd/Window.py +++ /dev/null @@ -1,850 +0,0 @@ -"""Decorator classes for documentation and shell scripting. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Base import EvtHandler -import Parameters as wx - -try: - True -except NameError: - True = 1==1 - False = 1==0 - - -class Window(EvtHandler): - """""" - - def __init__(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, name=wx.PyPanelNameStr): - """""" - pass - - def AcceptsFocus(self): - """""" - pass - - def AddChild(self, child): - """""" - pass - - def CaptureMouse(self): - """""" - pass - - def Center(self, direction=wx.BOTH): - """""" - pass - - def CenterOnParent(self, direction=wx.BOTH): - """""" - pass - - def CenterOnScreen(self, direction=wx.BOTH): - """""" - pass - - def Centre(self, direction=wx.BOTH): - """""" - pass - - def CentreOnParent(self, direction=wx.BOTH): - """""" - pass - - def CentreOnScreen(self, direction=wx.BOTH): - """""" - pass - - def Clear(self): - """""" - pass - - def ClientToScreen(self, pt): - """""" - pass - - def ClientToScreenXY(self, x, y): - """""" - pass - - def Close(self, force=False): - """""" - pass - - def ConvertDialogPointToPixels(self, pt): - """""" - pass - - def ConvertDialogSizeToPixels(self, sz): - """""" - pass - - def ConvertPixelPointToDialog(self, pt): - """""" - pass - - def ConvertPixelSizeToDialog(self, sz): - """""" - pass - - def Create(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, name=wx.PyPanelNameStr): - """""" - pass - - def DLG_PNT(self, win, point_or_x, y=None): - """""" - pass - - def DLG_SZE(self, win, size_width, height=None): - """""" - pass - - def Destroy(self): - """""" - pass - - def DestroyChildren(self): - """""" - pass - - def DragAcceptFiles(self, accept): - """Windows only.""" - pass - - def Enable(self, enable): - """""" - pass - - def FindWindowById(self, id): - """""" - pass - - def FindWindowByName(self, name): - """""" - pass - - def Fit(self): - """""" - pass - - def FitInside(self): - """""" - pass - - def Freeze(self): - """""" - pass - - def GetAcceleratorTable(self): - """""" - pass - - def GetAdjustedBestSize(self): - """""" - pass - - def GetAutoLayout(self): - """""" - pass - - def GetBackgroundColour(self): - """""" - pass - - def GetBestSize(self): - """""" - pass - - def GetBestVirtualSize(self): - """""" - pass - - def GetBorder(self): - """""" - pass - - def GetCaret(self): - """""" - pass - - def GetCharHeight(self): - """""" - pass - - def GetCharWidth(self): - """""" - pass - - def GetChildren(self): - """""" - pass - - def GetClientAreaOrigin(self): - """""" - pass - - def GetClientRect(self): - """""" - pass - - def GetClientSize(self): - """""" - pass - - def GetClientSizeTuple(self): - """""" - pass - - def GetConstraints(self): - """""" - pass - - def GetContainingSizer(self): - """""" - pass - - def GetCursor(self): - """""" - pass - - def GetDefaultItem(self): - """""" - pass - - def GetDropTarget(self): - """""" - pass - - def GetEventHandler(self): - """""" - pass - - def GetFont(self): - """""" - pass - - def GetForegroundColour(self): - """""" - pass - - def GetFullTextExtent(self): - """""" - pass - - def GetGrandParent(self): - """""" - pass - - def GetHandle(self): - """""" - pass - - def GetHelpText(self): - """""" - pass - - def GetId(self): - """""" - pass - - def GetLabel(self): - """""" - pass - - def GetMaxSize(self): - """""" - pass - - def GetName(self): - """""" - pass - - def GetParent(self): - """""" - pass - - def GetPosition(self): - """""" - pass - - def GetPositionTuple(self): - """""" - pass - - def GetRect(self): - """""" - pass - - def GetScrollPos(self, orientation): - """""" - pass - - def GetScrollRange(self, orientation): - """""" - pass - - def GetScrollThumb(self, orientation): - """""" - pass - - def GetSize(self): - """""" - pass - - def GetSizeTuple(self): - """""" - pass - - def GetSizer(self): - """""" - pass - - def GetTextExtent(self, string): - """""" - pass - - def GetTitle(self): - """""" - pass - - def GetToolTip(self): - """""" - pass - - def GetUpdateRegion(self): - """""" - pass - - def GetValidator(self): - """""" - pass - - def GetVirtualSize(self): - """""" - pass - - def GetVirtualSizeTuple(self): - """""" - pass - - def GetWindowStyleFlag(self): - """""" - pass - - def HasCapture(self): - """""" - pass - - def HasScrollbar(self, orient): - """""" - pass - - def Hide(self): - """""" - pass - - def HitTest(self, pt): - """""" - pass - - def InitDialog(self): - """""" - pass - - def IsBeingDeleted(self): - """""" - pass - - def IsEnabled(self): - """""" - pass - - def IsExposed(self, x, y, w=0, h=0): - """""" - pass - - def IsExposedPoint(self, pt): - """""" - pass - - def IsExposedRect(self, rect): - """""" - pass - - def IsRetained(self): - """""" - pass - - def IsShown(self): - """""" - pass - - def IsTopLevel(self): - """""" - pass - - def Layout(self): - """""" - pass - - def LineDown(self): - """""" - pass - - def LineUp(self): - """""" - pass - - def LoadFromResource(self, parent, resourceName, resourceTable=wx.NULL): - """Only if USE_WX_RESOURCES.""" - pass - - def Lower(self): - """""" - pass - - def MakeModal(self, flag=True): - """""" - pass - - def Move(self, point, flags=wx.SIZE_USE_EXISTING): - """""" - pass - - def MoveXY(self, x, y, flags=wx.SIZE_USE_EXISTING): - """""" - pass - - def OnPaint(self, event): - """Windows only.""" - pass - - def PageDown(self): - """""" - pass - - def PageUp(self): - """""" - pass - - def PopEventHandler(self, deleteHandler=False): - """""" - pass - - def PopupMenu(self, menu, pos): - """""" - pass - - def PopupMenuXY(self, menu, x, y): - """""" - pass - - def PushEventHandler(self, handler): - """""" - pass - - def Raise(self): - """""" - pass - - def Refresh(self, eraseBackground=True, rect=wx.NULL): - """""" - pass - - def RefreshRect(self, rect): - """""" - pass - - def ReleaseMouse(self): - """""" - pass - - def RemoveChild(self, child): - """""" - pass - - def RemoveEventHandler(self, handler): - """""" - pass - - def Reparent(self, newParent): - """""" - pass - - def ScreenToClient(self, pt): - """""" - pass - - def ScreenToClientXY(self, x, y): - """""" - pass - - def ScrollLines(self, lines): - """""" - pass - - def ScrollPages(self, pages): - """""" - pass - - def ScrollWindow(self, dx, dy, rect=wx.NULL): - """""" - pass - - def SetAcceleratorTable(self, accel): - """""" - pass - - def SetAutoLayout(self, autoLayout): - """""" - pass - - def SetBackgroundColour(self, colour): - """""" - pass - - def SetCaret(self, caret): - """""" - pass - - def SetClientSize(self, size): - """""" - pass - - def SetClientSizeWH(self, width, height): - """""" - pass - - def SetConstraints(self, constraints): - """""" - pass - - def SetContainingSizer(self, sizer): - """""" - pass - - def SetCursor(self, cursor): - """""" - pass - - def SetDefaultItem(self, btn): - """""" - pass - - def SetDimensions(self): - """""" - pass - - def SetDropTarget(self, target): - """""" - pass - - def SetEventHandler(self, handler): - """""" - pass - - def SetExtraStyle(self, exStyle): - """""" - pass - - def SetFocus(self): - """""" - pass - - def SetFocusFromKbd(self): - """""" - pass - - def SetFont(self, font): - """""" - pass - - def SetForegroundColour(self, colour): - """""" - pass - - def SetHelpText(self, helpText): - """""" - pass - - def SetHelpTextForId(self, text): - """""" - pass - - def SetId(self, id): - """""" - pass - - def SetLabel(self, label): - """""" - pass - - def SetName(self, name): - """""" - pass - - def SetPosition(self, pos, flags=wx.SIZE_USE_EXISTING): - """""" - pass - - def SetRect(self, rect, sizeFlags=wx.SIZE_AUTO): - """""" - pass - - def SetScrollPos(self, orientation, pos, refresh=True): - """""" - pass - - def SetScrollbar(self, orientation, pos, thumbSize, range, refresh=True): - """""" - pass - - def SetSize(self, x, y, width, height, sizeFlags=wx.SIZE_AUTO): - """""" - pass - - def SetSizeHints(self, minW, minH, maxW=-1, maxH=-1, incW=-1, incH=-1): - """""" - pass - - def SetSizer(self, sizer, deleteOld=True): - """""" - pass - - def SetSizerAndFit(self, sizer, deleteOld=True): - """""" - pass - - def SetTitle(self, title): - """""" - pass - - def SetTmpDefaultItem(self, win): - """""" - pass - - def SetToolTip(self, tooltip): - """""" - pass - - def SetToolTipString(self, tip): - """""" - pass - - def SetValidator(self, validator): - """""" - pass - - def SetVirtualSize(self, size): - """""" - pass - - def SetVirtualSizeHints(self, minW, minH, maxW=-1, maxH=-1): - """""" - pass - - def SetVirtualSizeWH(self, x, y): - """""" - pass - - def SetWindowStyle(self, style): - """""" - pass - - def SetWindowStyleFlag(self, style): - """""" - pass - - def Show(self, show=True): - """""" - pass - - def Thaw(self): - """""" - pass - - def TransferDataFromWindow(self): - """""" - pass - - def TransferDataToWindow(self): - """""" - pass - - def UnsetConstraints(self, constraints): - """""" - pass - - def Update(self): - """""" - pass - - def UpdateWindowUI(self): - """""" - pass - - def Validate(self): - """""" - pass - - def WarpPointer(self, x, y): - """""" - pass - - -class PyWindow(Window): - """""" - - def __init__(self): - """""" - pass - - def _setCallbackInfo(self): - """""" - pass - - def base_AcceptsFocus(self): - """""" - pass - - def base_AcceptsFocusFromKeyboard(self): - """""" - pass - - def base_AddChild(self): - """""" - pass - - def base_DoGetBestSize(self): - """""" - pass - - def base_DoGetClientSize(self): - """""" - pass - - def base_DoGetPosition(self): - """""" - pass - - def base_DoGetSize(self): - """""" - pass - - def base_DoGetVirtualSize(self): - """""" - pass - - def base_DoMoveWindow(self): - """""" - pass - - def base_DoSetClientSize(self): - """""" - pass - - def base_DoSetSize(self): - """""" - pass - - def base_DoSetVirtualSize(self): - """""" - pass - - def base_GetMaxSize(self): - """""" - pass - - def base_InitDialog(self): - """""" - pass - - def base_RemoveChild(self): - """""" - pass - - def base_TransferDataFromWindow(self): - """""" - pass - - def base_TransferDataToWindow(self): - """""" - pass - - def base_Validate(self): - """""" - pass - - -class TopLevelWindow(Window): - """""" - - def Create(self): - """""" - pass - - def GetIcon(self): - """""" - pass - - def GetTitle(self): - """""" - pass - - def Iconize(self): - """""" - pass - - def IsFullScreen(self): - """""" - pass - - def IsIconized(self): - """""" - pass - - def IsMaximized(self): - """""" - pass - - def Maximize(self): - """""" - pass - - def Restore(self): - """""" - pass - - def SetIcon(self): - """""" - pass - - def SetIcons(self): - """""" - pass - - def SetTitle(self): - """""" - pass - - def ShowFullScreen(self): - """""" - pass - - def __init__(self): - """""" - pass - - diff --git a/wxPython/wx/py/wxd/__init__.py b/wxPython/wx/py/wxd/__init__.py deleted file mode 100644 index db6003cf3b..0000000000 --- a/wxPython/wx/py/wxd/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# Orbtech python package. \ No newline at end of file diff --git a/wxPython/wx/py/wxd/d_stc.py b/wxPython/wx/py/wxd/d_stc.py deleted file mode 100644 index e906ffc889..0000000000 --- a/wxPython/wx/py/wxd/d_stc.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Decorator utility for documentation and shell scripting. - -When you import stc from this module, all of the classes get decorated -with docstrings from our decoration class definitions. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - -from wxPython import stc - -import stc_ - -import decorator - -decorator.decorate(real=stc, decoration=stc_) diff --git a/wxPython/wx/py/wxd/d_wx.py b/wxPython/wx/py/wxd/d_wx.py deleted file mode 100644 index f837473463..0000000000 --- a/wxPython/wx/py/wxd/d_wx.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Decorator utility for documentation and shell scripting. - -When you import wx from this module, all of the classes get decorated -with docstrings from our decoration class definitions. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - -from wxPython import wx - -import wx_ - -import decorator - -decorator.decorate(real=wx, decoration=wx_) diff --git a/wxPython/wx/py/wxd/decorator.py b/wxPython/wx/py/wxd/decorator.py deleted file mode 100644 index 1139d0b75c..0000000000 --- a/wxPython/wx/py/wxd/decorator.py +++ /dev/null @@ -1,93 +0,0 @@ -"""Decorator utility for documentation and shell scripting.""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -import inspect - -try: - True -except NameError: - True = 1==1 - False = 1==0 - -def decorate(real, decoration): - """Decorate real module with docstrings from decoration module.""" - realdict = real.__dict__ - for item in decoration.__dict__.values(): - if inspect.isclass(item): - decorateClass(item, realdict) - elif inspect.isfunction(item): - decorateFunction(item, realdict) - -def decorateClass(item, realdict): - classname = item.__name__ - if not classname.startswith('wx'): - classname = 'wx' + classname - try: - wxclass = realdict[classname] - except: - # print classname - pass - else: - if item.__doc__: - wxclass.__doc__ = item.__doc__ - # Get attributes from only the item's local dictionary! - for attrname, attr in item.__dict__.items(): - # If the attribute has a docstring, and the wx class has a - # matching attribute. - if hasattr(attr, '__doc__') and hasattr(wxclass, attrname): - if inspect.isfunction(attr): - # Class methods are functions. - doc = getdoc(attr, drop=True) - # Is getattr() okay, or do we want to only look in - # the wxclass.__dict__ and wxclassPtr.__dict__? - wxattr = getattr(wxclass, attrname) - # Our class code may be defined incorrectly, and - # the wxattr may not actually be a class method, - # but that's okay because the following attempt - # will simply fail. - try: - func = wxattr.im_func - func.__doc__ = doc - except: - pass - -def decorateFunction(item, realdict): - funcname = item.__name__ - if funcname in realdict.keys(): - func = realdict[funcname] - doc = getdoc(item, drop=False) - try: - # Built-in functions have a read-only docstring. :-( - func.__doc__ = doc - except: - # print funcname - pass - -def getdoc(attr, drop=False): - """Return a docstring for attr, which should be a method.""" - doc = '' - if attr.__doc__: - doc = inspect.getdoc(attr).strip() - name = attr.__name__ - # tip is a string with name(argspec), like: "SetLabel(label)" - tip = '' - argspec = apply(inspect.formatargspec, inspect.getargspec(attr)) - # The first parameter to a method is a reference to an instance, - # usually coded as "self", and is usually passed automatically by - # Python and therefore we want to drop it. - temp = argspec.split(',') - if len(temp) == 1: # No other arguments. - argspec = '()' - elif drop: # Drop the first argument. - argspec = '(' + ','.join(temp[1:]).lstrip() - else: - argspec = ','.join(temp).lstrip() - tip = name + argspec - firstline = doc.split('\n')[0].lstrip() - if tip != firstline: - doc = '%s\n\n%s' % (tip, doc) - return doc diff --git a/wxPython/wx/py/wxd/gen.py b/wxPython/wx/py/wxd/gen.py deleted file mode 100644 index 2e07922ade..0000000000 --- a/wxPython/wx/py/wxd/gen.py +++ /dev/null @@ -1,71 +0,0 @@ - -import inspect -from wxPython import wx - - -def scan(): - d = wx.__dict__ - newd = {} - keys = d.keys() - keys.sort() - for key in keys: - if key.endswith('Ptr'): - # Skip - pass - elif key+'Ptr' in keys: - # Rename - newd[key] = d[key+'Ptr'] - else: - # Include as is - newd[key] = d[key] - d = newd - keys = d.keys() - keys.sort() - for key in keys: - value = d[key] - if inspect.isclass(value): - # genClass(value) - pass - elif callable(value): - genFunction(value) - pass - else: - # print type(value), value - pass - - -def genClass(cls): - sp4 = ' ' * 4 - name = cls.__name__ - if name.endswith('Ptr'): - name = name[:-3] -## if name != 'wxNotebook': -## return - parent = '' - if cls.__bases__: - parent = cls.__bases__[0].__name__ - if parent.endswith('Ptr'): - parent = parent[:-3] - parent = '(%s)' % parent - items = cls.__dict__.keys() - items.sort() - print - print 'class %s%s:' % (name, parent) - print sp4 + '""""""' - print - for item in items: - attr = cls.__dict__[item] - if inspect.isfunction(attr): - print sp4 + 'def ' + item + '(self):' - print sp4 + sp4 + '""""""' - print sp4 + sp4 + 'pass' - print - - -def genFunction(func): - sp4 = ' ' * 4 - name = func.__name__ - print 'def %s():' % name - print sp4 + '""""""' - print sp4 + 'pass' - print diff --git a/wxPython/wx/py/wxd/genapi.py b/wxPython/wx/py/wxd/genapi.py deleted file mode 100644 index 8b09cc3380..0000000000 --- a/wxPython/wx/py/wxd/genapi.py +++ /dev/null @@ -1,133 +0,0 @@ -"""API generator for decorator classes. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -import inspect -import os -import sys -import types - - -header = '''\ -"""wxPython decorator classes. - -This file is automatically generated, and these are not the real -wxPython classes. These are Python versions for API documentation -purposes only. - -Please send corrections, questions, and suggestions to: - -Patrick K. O'Brien -""" - -__author__ = "Patrick K. O'Brien " - -from wxd import Parameters as wx - -try: - True -except NameError: - True = 1==1 - False = 1==0 -''' - -modlist = [ - 'Base', - 'Window', - 'Frames', - 'Accelerators', - 'App', - 'ClipDragDrop', - 'Config', - 'Controls', - 'DataStructures', - 'DateTime', - 'Dialogs', - 'Drawing', - 'Errors', - 'EventFunctions', - 'Events', - 'FileSystem', - 'Functions', - 'Help', - 'ImageHandlers', - 'Joystick', - 'LayoutConstraints', - 'Logging', - 'Menus', - 'MimeTypes', - 'Misc', - 'Panel', - 'Printing', - 'Process', - 'SashSplitter', - 'Sizers', - 'Streams', - 'Threading', - 'ToolBar', - 'Tree', - 'Validators', - ] - -dir = os.path.realpath('api/wx/') -filename = os.path.join(dir, '__init__.py') - -def main(): - modules = {} - f = file(filename, 'w') - f.write(header) - for modname in modlist: - modules[modname] = __import__(modname, globals()) - for modname in modlist: - module = modules[modname] - try: - source = inspect.getsource(module) - except IOError: - print 'No source for', module - else: - # Remove everything up to the first class or function definition. - splitter = '\n\nclass ' - parts = source.split(splitter, 1) - if len(parts) == 2: - source = splitter + parts[1] - else: - splitter = '\n\ndef ' - parts = source.split(splitter, 1) - if len(parts) == 2: - source = splitter + parts[1] - source = '\n\n\n' + source.strip() - f.write(source) - print 'Writing', modname - f.write('\n') - f.close() - - # Add constants and any other missing stuff. - f = file(filename, 'a') - f.write('\n\n## Other Stuff:\n\n') - import wx as old - old = old.__dict__ - sys.path.insert(0, dir) # Munge the sys.path so that we can - import __init__ # import the file we just created. - new = __init__.__dict__ - l = [(k, v) for (k, v) in old.items() if (not k.startswith('_') - and not k.endswith('Ptr') - and not (k == 'cvar'))] - l.sort() - from wxPython import wx - for key, value in l: - if key not in new: - if (inspect.isclass(value) - or inspect.isroutine(value) - or type(value) is types.InstanceType): - value = repr(value) - text = '%s = %r' % (key, value) - f.write(text + '\n') - print 'Writing', text - f.close() - -if __name__ == '__main__': - main() diff --git a/wxPython/wx/py/wxd/stc_.py b/wxPython/wx/py/wxd/stc_.py deleted file mode 100644 index cda8278352..0000000000 --- a/wxPython/wx/py/wxd/stc_.py +++ /dev/null @@ -1,1409 +0,0 @@ -"""StyledTextCtrl decorator class module. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -from Controls import Control -import Parameters as wx - - -class StyledTextCtrl(Control): - """StyledTextCtrl class.""" - - def __init__(self, parent, id, pos=wx.DefaultPosition, - size=wx.DefaultSize, style=0, name=wx.PySTCNameStr): - """Create a StyledTextCtrl instance.""" - pass - - def AddRefDocument(self, docPointer): - """Extend life of document.""" - pass - - def AddStyledText(self, data): - """Add array of cells to document.""" - pass - - def AddText(self, text): - """Add text to the document.""" - pass - - def AutoCompActive(self): - """Is there an auto-completion list visible?""" - pass - - def AutoCompCancel(self): - """Remove the auto-completion list from the screen.""" - pass - - def AutoCompComplete(self): - """User has selected an item so remove the list and insert the - selection.""" - pass - - def AutoCompGetAutoHide(self): - """Return whether or not autocompletion is hidden - automatically when nothing matches.""" - pass - - def AutoCompGetCancelAtStart(self): - """Return whether auto-completion cancelled by backspacing - before start.""" - pass - - def AutoCompGetChooseSingle(self): - """Return whether a single item auto-completion list - automatically choose the item.""" - pass - - def AutoCompGetDropRestOfWord(self): - """Return whether or not autocompletion deletes any word - characters after the inserted text upon completion.""" - pass - - def AutoCompGetIgnoreCase(self): - """Return state of ignore case flag.""" - pass - - def AutoCompGetSeparator(self): - """Return the auto-completion list separator character.""" - pass - - def AutoCompPosStart(self): - """Return the position of the caret when the auto-completion - list was displayed.""" - pass - - def AutoCompSelect(self, text): - """Select the item in the auto-completion list that starts - with a string.""" - pass - - def AutoCompSetAutoHide(self, autoHide): - """Set whether or not autocompletion is hidden automatically - when nothing matches.""" - pass - - def AutoCompSetCancelAtStart(self, cancel): - """Should the auto-completion list be cancelled if the user - backspaces to a position before where the box was created.""" - pass - - def AutoCompSetChooseSingle(self, chooseSingle): - """Should a single item auto-completion list automatically - choose the item.""" - pass - - def AutoCompSetDropRestOfWord(self, dropRestOfWord): - """Set whether or not autocompletion deletes any word - characters after the inserted text upon completion.""" - pass - - def AutoCompSetFillUps(self, characterSet): - """Define a set of characters that when typed will cause the - autocompletion to choose the selected item.""" - pass - - def AutoCompSetIgnoreCase(self, ignoreCase): - """Set whether case is significant when performing - auto-completion searches.""" - pass - - def AutoCompSetSeparator(self, separatorCharacter): - """Change the separator character in the string setting up an - auto-completion list. Default is space but can be changed if - items contain space.""" - pass - - def AutoCompShow(self, lenEntered, itemList): - """Display a auto-completion list. - - The lenEntered parameter indicates how many characters before - the caret should be used to provide context.""" - pass - - def AutoCompStops(self, characterSet): - """Define a set of character that when typed cancel the - auto-completion list.""" - pass - - def BeginUndoAction(self): - """Start a sequence of actions that is undone and redone as a - unit. May be nested.""" - pass - - def BraceBadLight(self, pos): - """Highlight the character at a position indicating there is - no matching brace.""" - pass - - def BraceHighlight(self, pos1, pos2): - """Highlight the characters at two positions.""" - pass - - def BraceMatch(self, pos): - """Find the position of a matching brace or INVALID_POSITION - if no match.""" - pass - - def CallTipActive(self): - """Is there an active call tip?""" - pass - - def CallTipCancel(self): - """Remove the call tip from the screen.""" - pass - - def CallTipPosAtStart(self): - """Return the position where the caret was before displaying - the call tip.""" - pass - - def CallTipSetBackground(self, back): - """Set the background colour for the call tip.""" - pass - - def CallTipSetHighlight(self, start, end): - """Highlight a segment of the definition.""" - pass - - def CallTipShow(self, pos, definition): - """Show a call tip containing a definition near position pos.""" - pass - - def CanPaste(self): - """Will a paste succeed?""" - pass - - def CanRedo(self): - """Are there any redoable actions in the undo history?""" - pass - - def CanUndo(self): - """Are there any undoable actions in the undo history?""" - pass - - def Clear(self): - """Clear the selection.""" - pass - - def ClearAll(self): - """Delete all text in the document.""" - pass - - def ClearDocumentStyle(self): - """Set all style bytes to 0, remove all folding information.""" - pass - - def CmdKeyAssign(self, key, modifiers, cmd): - """When key+modifier combination km is pressed perform msg.""" - pass - - def CmdKeyClear(self, key, modifiers): - """When key+modifier combination km do nothing.""" - pass - - def CmdKeyClearAll(self): - """Drop all key mappings.""" - pass - - def CmdKeyExecute(self, cmd): - """Perform one of the operations defined by the STC_CMD_* - constants.""" - pass - - def Colourise(self, start, end): - """Colourise a segment of the document using the current - lexing language.""" - pass - - def ConvertEOLs(self, eolMode): - """Convert all line endings in the document to one mode.""" - pass - - def Copy(self): - """Copy the selection to the clipboard.""" - pass - - def CreateDocument(self): - """Create a new document object. - - Starts with reference count of 1 and not selected into editor.""" - pass - - def Cut(self): - """Cut the selection to the clipboard.""" - pass - - def DelLineLeft(self): - """Delete from the current position to the start of the line.""" - pass - - def DelLineRight(self): - """Delete from the current position to the end of the line.""" - pass - - def DocLineFromVisible(self, lineDisplay): - """Find the document line of a display line taking hidden - lines into account.""" - pass - - def EmptyUndoBuffer(self): - """Delete the undo history.""" - pass - - def EndUndoAction(self): - """End a sequence of actions that is undone and redone as a - unit.""" - pass - - def EnsureCaretVisible(self): - """Ensure the caret is visible.""" - pass - - def EnsureVisible(self, line): - """Ensure a particular line is visible by expanding any header - line hiding it.""" - pass - - def EnsureVisibleEnforcePolicy(self, line): - """Ensure a particular line is visible by expanding any header - line hiding it. Use the currently set visibility policy to - determine which range to display.""" - pass - - def FindText(self, minPos, maxPos, text, flags=0): - """Find some text in the document.""" - pass - - def FormatRange(self, doDraw, startPos, endPos, draw, - target, renderRect, pageRect): - """On Windows, will draw the document into a display context - such as a printer.""" - pass - - def GetAnchor(self): - """Return the position of the opposite end of the selection to - the caret.""" - pass - - def GetBackSpaceUnIndents(self): - """Does a backspace pressed when caret is within indentation - unindent?""" - pass - - def GetBufferedDraw(self): - """Is drawing done first into a buffer or direct to the - screen?""" - pass - - def GetCaretForeground(self): - """Return the foreground colour of the caret.""" - pass - - def GetCaretLineBack(self): - """Return the colour of the background of the line containing - the caret.""" - pass - - def GetCaretLineVisible(self): - """Is the background of the line containing the caret in a - different colour?""" - pass - - def GetCaretPeriod(self): - """Return the time in milliseconds that the caret is on and - off.""" - pass - - def GetCaretWidth(self): - """Return the width of the insert mode caret.""" - pass - - def GetCharAt(self, pos): - """Return the character byte at the position.""" - pass - - def GetCodePage(self): - """Return the code page used to interpret the bytes of the - document as characters.""" - pass - - def GetColumn(self, pos): - """Return the column number of a position, taking tab width - into account.""" - pass - - def GetControlCharSymbol(self): - """Return the way control characters are displayed.""" - pass - - def GetCurLine(self): - """Return (text, pos) tuple with the text of the line - containing the caret and the position of the caret within the - line.""" - pass - - def GetCurrentLine(self): - """Return the line number of the line with the caret.""" - pass - - def GetCurrentPos(self): - """Return the position of the caret.""" - pass - - def GetCursor(self): - """Return cursor type.""" - pass - - def GetDocPointer(self): - """Return a pointer to the document object.""" - pass - - def GetEOLMode(self): - """Return the current end of line mode: CRLF, CR, or LF.""" - pass - - def GetEdgeColour(self): - """Return the colour used in edge indication.""" - pass - - def GetEdgeColumn(self): - """Return the column number which text should be kept within.""" - pass - - def GetEdgeMode(self): - """Return the edge highlight mode.""" - pass - - def GetEndAtLastLine(self): - """Return whether the maximum scroll position has the last - line at the bottom of the view.""" - pass - - def GetEndStyled(self): - """Return the position of the last correctly styled character.""" - pass - - def GetFirstVisibleLine(self): - """Return the line at the top of the display.""" - pass - - def GetFoldExpanded(self, line): - """Is a header line expanded?""" - pass - - def GetFoldLevel(self, line): - """Return the fold level of a line.""" - pass - - def GetFoldParent(self, line): - """Find the parent line of a child line.""" - pass - - def GetHighlightGuide(self): - """Return the highlighted indentation guide column.""" - pass - - def GetIndent(self): - """Return indentation size.""" - pass - - def GetIndentationGuides(self): - """Are the indentation guides visible?""" - pass - - def GetLastChild(self, line, level): - """Find the last child line of a header line.""" - pass - - def GetLastKeydownProcessed(self): - """Can be used to prevent the EVT_CHAR handler from adding the - char.""" - pass - - def GetLayoutCache(self): - """Return the degree of caching of layout information.""" - pass - - def GetLength(self): - """Return the number of characters in the document.""" - pass - - def GetLexer(self): - """Return the lexing language of the document.""" - pass - - def GetLine(self, line): - """Return the contents of a line.""" - pass - - def GetLineCount(self): - """Return the number of lines in the document. There is - always at least one.""" - pass - - def GetLineEndPosition(self, line): - """Return the position after the last visible characters on a - line.""" - pass - - def GetLineIndentPosition(self, line): - """Return the position before the first non indentation - character on a line.""" - pass - - def GetLineIndentation(self, line): - """Return the number of columns that a line is indented.""" - pass - - def GetLineState(self, line): - """Return the extra styling information for a line.""" - pass - - def GetLineVisible(self, line): - """Is a line visible?""" - pass - - def GetMarginLeft(self): - """Return the size in pixels of the left margin.""" - pass - - def GetMarginMask(self, margin): - """Return the marker mask of a margin.""" - pass - - def GetMarginRight(self): - """Return the size in pixels of the right margin.""" - pass - - def GetMarginSensitive(self, margin): - """Return the mouse click sensitivity of a margin.""" - pass - - def GetMarginType(self, margin): - """Return the type of a margin.""" - pass - - def GetMarginWidth(self, margin): - """Return the width of a margin in pixels.""" - pass - - def GetMaxLineState(self): - """Return the last line number that has line state.""" - pass - - def GetModEventMask(self): - """Return which document modification events are sent to the - container.""" - pass - - def GetModify(self): - """Is the document different from when it was last saved?""" - pass - - def GetMouseDownCaptures(self): - """Return whether mouse gets captured.""" - pass - - def GetMouseDwellTime(self): - """Return the time the mouse must sit still to generate a - mouse dwell event.""" - pass - - def GetOvertype(self): - """Return true if overtype mode is active otherwise false is - returned.""" - pass - - def GetPrintColourMode(self): - """Return the print colour mode.""" - pass - - def GetPrintMagnification(self): - """Return the print magnification.""" - pass - - def GetReadOnly(self): - """In read-only mode?""" - pass - - def GetSTCFocus(self): - """Return internal focus flag.""" - pass - - def GetScrollWidth(self): - """Return the document width assumed for scrolling.""" - pass - - def GetSearchFlags(self): - """Return the search flags used by SearchInTarget.""" - pass - - def GetSelectedText(self): - """Return the selected text.""" - pass - - def GetSelectionEnd(self): - """Return the position at the end of the selection.""" - pass - - def GetSelection(self): - """Return the start and end positions of the current - selection.""" - pass - - def GetSelectionStart(self): - """Return the position at the start of the selection.""" - pass - - def GetStatus(self): - """Return error status.""" - pass - - def GetStyleAt(self, pos): - """Return the style byte at the position.""" - pass - - def GetStyleBits(self): - """Return number of bits in style bytes used to hold the - lexical state.""" - pass - - def GetStyledText(self, startPos, endPos): - """Return a buffer of cells.""" - pass - - def GetTabIndents(self): - """Does a tab pressed when caret is within indentation indent?""" - pass - - def GetTabWidth(self): - """Return the visible size of a tab.""" - pass - - def GetTargetEnd(self): - """Return the position that ends the target.""" - pass - - def GetTargetStart(self): - """Return the position that starts the target.""" - pass - - def GetText(self): - """Return all the text in the document.""" - pass - - def GetTextLength(self): - """Return the number of characters in the document.""" - pass - - def GetTextRange(self, startPos, endPos): - """Return a range of text.""" - pass - - def GetUndoCollection(self): - """Is undo history being collected?""" - pass - - def GetUseHorizontalScrollBar(self): - """Is the horizontal scroll bar visible?""" - pass - - def GetUseTabs(self): - """Return whether tabs will be used in indentation.""" - pass - - def GetViewEOL(self): - """Are the end of line characters visible?""" - pass - - def GetViewWhiteSpace(self): - """Are white space characters currently visible? Return one - of SCWS_* constants.""" - pass - - def GetWrapMode(self): - """Return whether text is word wrapped.""" - pass - - def GetXOffset(self): - """Return the xOffset (self, ie, horizonal scroll position).""" - pass - - def GetZoom(self): - """Return the zoom level.""" - pass - - def GotoLine(self, line): - """Set caret to start of a line and ensure it is visible.""" - pass - - def GotoPos(self, pos): - """Set caret to a position and ensure it is visible.""" - pass - - def HideLines(self, lineStart, lineEnd): - """Make a range of lines invisible.""" - pass - - def HideSelection(self, normal): - """Draw the selection in normal style or with selection - highlighted.""" - pass - - def HomeDisplay(self): - """Move caret to first position on display line.""" - pass - - def HomeDisplayExtend(self): - """Move caret to first position on display line extending - selection to new caret position.""" - pass - - def IndicatorGetForeground(self, indic): - """Return the foreground colour of an indicator.""" - pass - - def IndicatorGetStyle(self, indic): - """Return the style of an indicator.""" - pass - - def IndicatorSetForeground(self, indic, fore): - """Set the foreground colour of an indicator.""" - pass - - def IndicatorSetStyle(self, indic, style): - """Set an indicator to plain, squiggle or TT.""" - pass - - def InsertText(self, pos, text): - """Insert string at a position.""" - pass - - def LineEndDisplay(self): - """Move caret to last position on display line.""" - pass - - def LineEndDisplayExtend(self): - """Move caret to last position on display line extending - selection to new caret position.""" - pass - - def LineFromPosition(self, pos): - """Return the line containing a position.""" - pass - - def LineLength(self, line): - """How many characters are on a line, not including end of - line characters?""" - pass - - def LineScroll(self, columns, lines): - """Scroll horizontally and vertically.""" - pass - - def LinesOnScreen(self): - """Retrieves the number of lines completely visible.""" - pass - - def MarkerAdd(self, line, markerNumber): - """Add a marker to a line, return an ID that can be used to - find or delete the marker.""" - pass - - def MarkerDefine(self, markerNumber, markerSymbol, - foreground=wx.NullColour, background=wx.NullColour): - """Set the symbol used for a particular marker number, and - optionally the fore and background colours.""" - pass - - def MarkerDelete(self, line, markerNumber): - """Delete a marker from a line.""" - pass - - def MarkerDeleteAll(self, markerNumber): - """Delete all markers with a particular number from all lines.""" - pass - - def MarkerDeleteHandle(self, handle): - """Delete a marker.""" - pass - - def MarkerGet(self, line): - """Return a bit mask of all the markers set on a line.""" - pass - - def MarkerLineFromHandle(self, handle): - """Return the line number at which a particular marker is - located.""" - pass - - def MarkerNext(self, lineStart, markerMask): - """Find the next line after lineStart that includes a marker - in mask.""" - pass - - def MarkerPrevious(self, lineStart, markerMask): - """Find the previous line before lineStart that includes a - marker in mask.""" - pass - - def MarkerSetBackground(self, markerNumber, back): - """Set the background colour used for a particular marker - number.""" - pass - - def MarkerSetForeground(self, markerNumber, fore): - """Set the foreground colour used for a particular marker - number.""" - pass - - def MoveCaretInsideView(self): - """Move the caret inside current view if it is not there - already.""" - pass - - def Paste(self): - """Paste the contents of the clipboard into the document - replacing the selection.""" - pass - - def PointFromPosition(self, pos): - """Return the point in the window where a position is - displayed.""" - pass - - def PositionFromLine(self, line): - """Return the position at the start of a line.""" - pass - - def PositionFromPoint(self, pt): - """Find the position from a point within the window.""" - pass - - def PositionFromPointClose(self, x, y): - """Find the position from a point within the window but return - INVALID_POSITION if not close to text.""" - pass - - def Redo(self): - """Redo the next action on the undo history.""" - pass - - def ReleaseDocument(self, docPointer): - """Release a reference to the document, deleting document if - it fades to black.""" - pass - - def ReplaceSelection(self, text): - """Replace the selected text with the argument text.""" - pass - - def ReplaceTarget(self, text): - """Replace the target text with the argument text. - - Text is counted so it can contain nulls. Return the length - of the replacement text.""" - pass - - def ReplaceTargetRE(self, text): - """Replace the target text with the argument text after \d - processing. - - Text is counted so it can contain nulls. Looks for \d where d - is between 1 and 9 and replaces these with the strings matched - in the last search operation which were surrounded by \(self, - and \). Return the length of the replacement text including - any change caused by processing the \d patterns.""" - pass - - def ScrollToColumn(self, column): - """Scroll enough to make the given column visible.""" - pass - - def ScrollToLine(self, line): - """Scroll enough to make the given line visible.""" - pass - - def SearchAnchor(self): - """Sets the current caret position to be the search anchor.""" - pass - - def SearchInTarget(self, text): - """Search for a counted string in the target and set the - target to the found range. - - Text is counted so it can contain nulls. Return length of - range or -1 for failure in which case target is not moved.""" - pass - - def SearchNext(self, flags, text): - """Find some text starting at the search anchor. Does not - ensure the selection is visible.""" - pass - - def SearchPrev(self, flags, text): - """Find some text starting at the search anchor and moving - backwards. Does not ensure the selection is visible.""" - pass - - def SelectAll(self): - """Select all the text in the document.""" - pass - - def SelectionIsRectangle(self): - """Is the selection rectangular? The alternative is the more - common stream selection.""" - pass - - def SendMsg(self, msg, wp=0, lp=0): - """Send a message to Scintilla.""" - pass - - def SetAnchor(self, posAnchor): - """Set the selection anchor to a position. The anchor is the - opposite end of the selection from the caret.""" - pass - - def SetBackSpaceUnIndents(self, bsUnIndents): - """Sets whether a backspace pressed when caret is within - indentation unindents.""" - pass - - def SetBufferedDraw(self, buffered): - """If drawing is buffered then each line of text is drawn into - a bitmap buffer before drawing it to the screen to avoid - flicker.""" - pass - - def SetCaretForeground(self, fore): - """Set the foreground colour of the caret.""" - pass - - def SetCaretLineBack(self, back): - """Set the colour of the background of the line containing the - caret.""" - pass - - def SetCaretLineVisible(self, show): - """Display the background of the line containing the caret in - a different colour.""" - pass - - def SetCaretPeriod(self, periodMilliseconds): - """Return the time in milliseconds that the caret is on and - off. 0 = steady on.""" - pass - - def SetCaretWidth(self, pixelWidth): - """Set the width of the insert mode caret.""" - pass - - def SetCodePage(self, codePage): - """Set the code page used to interpret the bytes of the - document as characters.""" - pass - - def SetControlCharSymbol(self, symbol): - """Change the way control characters are displayed: If symbol - is < 32, keep the drawn way, else, use the given character.""" - pass - - def SetCurrentPos(self, pos): - """Sets the position of the caret.""" - pass - - def SetCursor(self, cursorType): - """Sets the cursor to one of the SC_CURSOR* values.""" - pass - - def SetDocPointer(self, docPointer): - """Change the document object used.""" - pass - - def SetEOLMode(self, eolMode): - """Set the current end of line mode.""" - pass - - def SetEdgeColour(self, edgeColour): - """Change the colour used in edge indication.""" - pass - - def SetEdgeColumn(self, column): - """Set the column number of the edge. If text goes past the - edge then it is highlighted.""" - pass - - def SetEdgeMode(self, mode): - """The edge may be displayed by a line (self, EDGE_LINE) or by - highlighting text that goes beyond it (self, EDGE_BACKGROUND) - or not displayed at all (self, EDGE_NONE).""" - pass - - def SetEndAtLastLine(self, endAtLastLine): - """Sets the scroll range so that maximum scroll position has - the last line at the bottom of the view (self, default). - Setting this to false allows scrolling one page below the last - line.""" - pass - - def SetFoldExpanded(self, line, expanded): - """Show the children of a header line.""" - pass - - def SetFoldFlags(self, flags): - """Set some debugging options for folding.""" - pass - - def SetFoldLevel(self, line, level): - """Set the fold level of a line. This encodes an integer - level along with flags indicating whether the line is a header - and whether it is effectively white space.""" - pass - - def SetHScrollBar(self, bar): - """Set the horizontal scrollbar to use instead of the one - that's built-in.""" - pass - - def SetHighlightGuide(self, column): - """Set the highlighted indentation guide column. 0 = no - highlighted guide.""" - pass - - def SetIndent(self, indentSize): - """Set the number of spaces used for one level of indentation.""" - pass - - def SetIndentationGuides(self, show): - """Show or hide indentation guides.""" - pass - - def SetKeyWords(self, keywordSet, keyWords): - """Set up the key words used by the lexer.""" - pass - - def SetLastKeydownProcessed(self, val): - """Set ???.""" - pass - - def SetLayoutCache(self, mode): - """Sets the degree of caching of layout information.""" - pass - - def SetLexer(self, lexer): - """Set the lexing language of the document.""" - pass - - def SetLexerLanguage(self, language): - """Set the lexing language of the document based on string - name.""" - pass - - def SetLineIndentation(self, line, indentSize): - """Change the indentation of a line to a number of columns.""" - pass - - def SetLineState(self, line, state): - """Used to hold extra styling information for each line.""" - pass - - def SetMarginLeft(self, pixelWidth): - """Sets the size in pixels of the left margin.""" - pass - - def SetMarginMask(self, margin, mask): - """Set a mask that determines which markers are displayed in a - margin.""" - pass - - def SetMarginRight(self, pixelWidth): - """Sets the size in pixels of the right margin.""" - pass - - def SetMarginSensitive(self, margin, sensitive): - """Make a margin sensitive or insensitive to mouse clicks.""" - pass - - def SetMarginType(self, margin, marginType): - """Set a margin to be either numeric or symbolic.""" - pass - - def SetMarginWidth(self, margin, pixelWidth): - """Set the width of a margin to a width expressed in pixels.""" - pass - - def SetMargins(self, left, right): - """Set the left and right margin in the edit area, measured in - pixels.""" - pass - - def SetModEventMask(self, mask): - """Set which document modification events are sent to the - container.""" - pass - - def SetMouseDownCaptures(self, captures): - """Set whether the mouse is captured when its button is - pressed.""" - pass - - def SetMouseDwellTime(self, periodMilliseconds): - """Sets the time the mouse must sit still to generate a mouse - dwell event.""" - pass - - def SetOvertype(self, overtype): - """Set to overtype (self, true) or insert mode.""" - pass - - def SetPrintColourMode(self, mode): - """Modify colours when printing for clearer printed text.""" - pass - - def SetPrintMagnification(self, magnification): - """Sets the print magnification added to the point size of - each style for printing.""" - pass - - def SetProperty(self, key, value): - """Set up a value that may be used by a lexer for some - optional feature.""" - pass - - def SetReadOnly(self, readOnly): - """Set to read only or read write.""" - pass - - def SetSTCFocus(self, focus): - """Change internal focus flag.""" - pass - - def SetSavePoint(self): - """Remember the current position in the undo history as the - position at which the document was saved.""" - pass - - def SetScrollWidth(self, pixelWidth): - """Sets the document width assumed for scrolling.""" - pass - - def SetSearchFlags(self, flags): - """Set the search flags used by SearchInTarget.""" - pass - - def SetSelBackground(self, useSetting, back): - """Set the background colour of the selection and whether to - use this setting.""" - pass - - def SetSelForeground(self, useSetting, fore): - """Set the foreground colour of the selection and whether to - use this setting.""" - pass - - def SetSelection(self, start, end): - """Select a range of text.""" - pass - - def SetSelectionEnd(self, pos): - """Sets the position that ends the selection - this becomes - the currentPosition.""" - pass - - def SetSelectionStart(self, pos): - """Sets the position that starts the selection - this becomes - the anchor.""" - pass - - def SetStatus(self, statusCode): - """Change error status - 0 = OK.""" - pass - - def SetStyleBits(self, bits): - """Divide each styling byte into lexical class bits (self, - default: 5) and indicator bits (self, default: 3). If a lexer - requires more than 32 lexical states, then this is used to - expand the possible states.""" - pass - - def SetStyleBytes(self, length, styleBytes): - """Set the styles for a segment of the document.""" - pass - - def SetStyling(self, length, style): - """Change style from current styling position for length - characters to a style and move the current styling position to - after this newly styled segment.""" - pass - - def SetTabIndents(self, tabIndents): - """Sets whether a tab pressed when caret is within indentation - indents.""" - pass - - def SetTabWidth(self, tabWidth): - """Change the visible size of a tab to be a multiple of the - width of a space character.""" - pass - - def SetTargetEnd(self, pos): - """Sets the position that ends the target which is used for - updating the document without affecting the scroll position.""" - pass - - def SetTargetStart(self, pos): - """Sets the position that starts the target which is used for - updating the document without affecting the scroll position.""" - pass - - def SetText(self, text): - """Replace the contents of the document with the argument - text.""" - pass - - def SetUndoCollection(self, collectUndo): - """Choose between collecting actions into the undo history and - discarding them.""" - pass - - def SetUseHorizontalScrollBar(self, show): - """Show or hide the horizontal scroll bar.""" - pass - - def SetUseTabs(self, useTabs): - """Indentation will only use space characters if useTabs is - false, otherwise it will use a combination of tabs and spaces.""" - pass - - def SetVScrollBar(self, bar): - """Set the vertical scrollbar to use instead of the one that's - built-in.""" - pass - - def SetViewEOL(self, visible): - """Make the end of line characters visible or invisible.""" - pass - - def SetViewWhiteSpace(self, viewWS): - """Make white space characters invisible, always visible or - visible outside indentation.""" - pass - - def SetVisiblePolicy(self, visiblePolicy, visibleSlop): - """Set the way the display area is determined when a - particular line is to be moved to by Find, FindNext, GotoLine, - etc.""" - pass - - def SetWhitespaceBackground(self, useSetting, back): - """Set the background colour of all whitespace and whether to - use this setting.""" - pass - - def SetWhitespaceForeground(self, useSetting, fore): - """Set the foreground colour of all whitespace and whether to - use this setting.""" - pass - - def SetWordChars(self, characters): - """Set the set of characters making up words for when moving - or selecting by word.""" - pass - - def SetWrapMode(self, mode): - """Sets whether text is word wrapped.""" - pass - - def SetXCaretPolicy(self, caretPolicy, caretSlop): - """Set the way the caret is kept visible when going sideway. - The exclusion zone is given in pixels.""" - pass - - def SetXOffset(self, newOffset): - """Set the xOffset (self, ie, horizonal scroll position).""" - pass - - def SetYCaretPolicy(self, caretPolicy, caretSlop): - """Set the way the line the caret is on is kept visible. The - exclusion zone is given in lines.""" - pass - - def SetZoom(self, zoom): - """Set the zoom level. This number of points is added to the - size of all fonts. It may be positive to magnify or negative - to reduce.""" - pass - - def ShowLines(self, lineStart, lineEnd): - """Make a range of lines visible.""" - pass - - def StartRecord(self): - """Start notifying the container of all key presses and - commands.""" - pass - - def StartStyling(self, pos, mask): - """Set the current styling position and mask. - - The styling mask can be used to protect some bits in each - styling byte from modification.""" - pass - - def StopRecord(self): - """Stop notifying the container of all key presses and - commands.""" - pass - - def StyleClearAll(self): - """Clear all the styles and make equivalent to the global - default style.""" - pass - - def StyleResetDefault(self): - """Reset the default style to its state at startup.""" - pass - - def StyleSetBackground(self, style, back): - """Set the background colour of a style.""" - pass - - def StyleSetBold(self, style, bold): - """Set a style to be bold or not.""" - pass - - def StyleSetCase(self, style, caseForce): - """Set a style to be mixed case, or to force upper or lower - case.""" - pass - - def StyleSetChangeable(self, style, changeable): - """Set a style to be changeable or not (self, read only). - Experimental feature, currently buggy.""" - pass - - def StyleSetCharacterSet(self, style, characterSet): - """Set the character set of the font in a style.""" - pass - - def StyleSetEOLFilled(self, style, filled): - """Set a style to have its end of line filled or not.""" - pass - - def StyleSetFaceName(self, style, fontName): - """Set the font of a style.""" - pass - - def StyleSetFont(self, styleNum, font): - """Set style size, face, bold, italic, and underline - attributes from a Font's attributes.""" - pass - - def StyleSetFontAttr(self, styleNum, size, faceName, - bold, italic, underline): - """Set all font style attributes at once.""" - pass - - def StyleSetForeground(self, style, fore): - """Set the foreground colour of a style.""" - pass - - def StyleSetItalic(self, style, italic): - """Set a style to be italic or not.""" - pass - - def StyleSetSize(self, style, sizePoints): - """Set the size of characters of a style.""" - pass - - def StyleSetSpec(self, styleNum, spec): - """Extract style settings from a spec-string which is composed - of one or more of the following comma separated elements: - - bold turns on bold - italic turns on italics - fore:#RRGGBB sets the foreground colour - back:#RRGGBB sets the background colour - face:[facename] sets the font face name to use - size:[num] sets the font size in points - eol turns on eol filling - underline turns on underlining - """ - pass - - def StyleSetUnderline(self, style, underline): - """Set a style to be underlined or not.""" - pass - - def StyleSetVisible(self, style, visible): - """Set a style to be visible or not.""" - pass - - def TextHeight(self, line): - """Return the height of a particular line of text in pixels.""" - pass - - def TextWidth(self, style, text): - """Measure the pixel width of some text in a particular style. - Nul terminated text argument. Does not handle tab or control - characters.""" - pass - - def ToggleFold(self, line): - """Switch a header line between expanded and contracted.""" - pass - - def Undo(self): - """Undo one action in the undo history.""" - pass - - def UsePopUp(self, allowPopUp): - """Set whether a pop up menu is displayed automatically when - the user presses the wrong mouse button.""" - pass - - def UserListShow(self, listType, itemList): - """Display a list of strings and send notification when user - chooses one.""" - pass - - def VisibleFromDocLine(self, line): - """Find the display line of a document line taking hidden - lines into account.""" - pass - - def WordEndPosition(self, pos, onlyWordCharacters): - """Return position of end of word.""" - pass - - def WordPartLeft(self): - """Move to the previous change in capitalisation.""" - pass - - def WordPartLeftExtend(self): - """Move to the previous change in capitalisation extending - selection to new caret position.""" - pass - - def WordPartRight(self): - """Move to the change next in capitalisation.""" - pass - - def WordPartRightExtend(self): - """Move to the next change in capitalisation extending - selection to new caret position.""" - pass - - def WordStartPosition(self, pos, onlyWordCharacters): - """Return position of start of word.""" - pass diff --git a/wxPython/wx/py/wxd/wx_.py b/wxPython/wx/py/wxd/wx_.py deleted file mode 100644 index 90fea4db74..0000000000 --- a/wxPython/wx/py/wxd/wx_.py +++ /dev/null @@ -1,66 +0,0 @@ -"""Decorator classes for documentation and shell scripting. - -Information contained in this module, and all modules imported by this -module, is covered by the wxWindows Free Documentation Licence. See -the LICENSE.txt file for details. -""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - - -# These are not the real wxPython classes. These are Python versions -# for documentation purposes. They are also used to apply docstrings -# to the real wxPython classes, which are SWIG-generated wrappers for -# C-language classes. - - -_topics = { - 'Accelerators': None, - 'App': None, - 'Base': None, - 'ClipDragDrop': None, - 'Config': None, - 'Controls': None, - 'DataStructures': None, - 'DateTime': None, - 'Dialogs': None, - 'Drawing': None, - 'Errors': None, - 'EventFunctions': None, - 'Events': None, - 'FileSystem': None, - 'Frames': None, - 'Functions': None, - 'Help': None, - 'ImageHandlers': None, - 'Joystick': None, - 'LayoutConstraints': None, - 'Logging': None, - 'Menus': None, - 'MimeTypes': None, - 'Misc': None, - 'Panel': None, - 'Printing': None, - 'Process': None, - 'SashSplitter': None, - 'Sizers': None, - 'Streams': None, - 'Threading': None, - 'ToolBar': None, - 'Tree': None, - 'Validators': None, - 'Window': None, - } - -for topic in _topics.keys(): - _topics[topic] = __import__(topic, globals()) - exec 'from %s import *' % topic - -del topic # Cleanup the namespace. - -try: - del wx # Cleanup any module that imports Parameters as wx. -except: - pass