Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module pydocview :: Class ChildDocTemplate |
|
object
--+ |Object
--+ |DocTemplate
--+ | ChildDocTemplate
A ChildDocTemplate is a DocTemplate subclass that enables the creation of ChildDocuments that represents a portion of a Document. The child document is managed by the parent document, so it will be prompted to close if its parent is closed, etc. Child Documents are useful when there are complicated Views of a Document and users will need to tunnel into the View.
Method Summary | |
---|---|
Initializes the ChildDocTemplate. | |
Called when a ChildDocument is to be created and does the minimum such that the ChildDocument looks like a real Document to the framework. | |
Inherited from DocTemplate | |
Creates a new instance of the associated document view. | |
Returns True if the path's extension matches one of this template's file filter extensions. | |
Returns the default file extension for the document data, as passed to the document template constructor. | |
Returns the text description of this template, as passed to the document template constructor. | |
Returns the default directory, as passed to the document template constructor. | |
Returns the document manager instance for which this template was created. | |
Returns the document type name, as passed to the document template constructor. | |
Returns the Python document class, as passed to the document template constructor. | |
Returns the file filter, as passed to the document template constructor. | |
Returns the flags, as passed to the document template constructor. | |
Returns the icon, as passed to the document template constructor. | |
Returns the view type name, as passed to the document template constructor. | |
Returns the Python view class, as passed to the document template constructor. | |
Returns true if the document template can be shown in "New" dialogs, false otherwise. | |
Returns true if the document template can be shown in user dialogs, false otherwise. | |
Sets the default file extension. | |
Sets the template description. | |
Sets the default directory. | |
Sets the document manager instance for which this template was created. | |
Sets the file filter. | |
Sets the internal document template flags (see the constructor description for more details). | |
Sets the icon. | |
Inherited from Object | |
| |
Deletes the C++ object this Python object is a proxy for. | |
String |
Returns the class name of the C++ class using wxRTTI. |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
Return hash(x)... | |
Return a new object with type S, a subtype of T... | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
Return str(x)... |
Method Details |
---|
__init__(self,
manager,
description,
filter,
dir,
ext,
docTypeName,
viewTypeName,
docType,
viewType,
flags=2,
icon=None)
|
CreateDocument(self, path, flags, data=None, parentDocument=None)Called when a ChildDocument is to be created and does the minimum such that the ChildDocument looks like a real Document to the framework.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:52:44 2007 | http://epydoc.sf.net |