wbpDocBrowser package
- class DocTreeModel[source]
Bases:
objectTreeModel holds the domain objects that are shown in the tree control.
- property app: App
- Returns:
The running Workbench application.
- property documentManager: DocumentManager
- Returns:
The document manager of the running application.
- property items: List[Tuple[str, tuple, str]]
- class DocTreeMixin[source]
Bases:
VirtualTreeMixin class for virtual TreeCtrl.
- property app: App
- Returns:
The running Workbench application.
- property documentManager: DocumentManager
- Returns:
The document manager of the running application.
- createImageList()[source]
Create an image list from all known document and view icons.
- Return type:
None
- OnGetItemText(indices, column=0)[source]
- Returns:
The string for the item specified by indices
- Parameters:
indices (Tuple[int, ...]) –
column (int) –
- Return type:
str
- class DocTreeCtrl[source]
Bases:
DocTreeMixin,TreeCtrlTreeCtrl to show all open documents and the associated views.
- __init__(parent, id=wx.ID_ANY, pos=wx.DefaultPosition, size=wx.DefaultSize, style=wx.TR_DEFAULT_STYLE | wx.TR_SINGLE | wx.TR_TWIST_BUTTONS)[source]