Home | Trees | Index | Help |
|
---|
Package wx :: Package lib :: Module pydocview :: Class WindowMenuService |
|
object
--+ |Object
--+ |EvtHandler
--+ |DocService
--+ | WindowMenuService
The WindowMenuService is a service that implements a standard Window menu that is used by the DocSDIFrame. The MDIFrame automatically includes a Window menu and does not use the WindowMenuService.
Method Summary | |
---|---|
Initializes the WindowMenu and its globals. | |
Builds the Window menu and adds menu items for all of the open documents in the DocManager. | |
Installs the Window menu. | |
Called by Window/Arrange and tiles the frames on the desktop. | |
OnCtrlKeySelect(self,
event)
| |
Called when the "Window/Select More Windows..." menu item is selected and enables user to select from the Frames that do not in the Window list. | |
Called when the Window menu item representing a Frame is selected and brings the selected Frame to the front of the desktop. | |
Processes a Window menu event. | |
Updates the Window menu items. |
Property Summary |
---|
Class Variable Summary | |
---|---|
int |
ARRANGE_WINDOWS_ID = 146 |
int |
CLOSE_CURRENT_WINDOW_ID = 150 |
int |
SELECT_MORE_WINDOWS_ID = 147 |
int |
SELECT_NEXT_WINDOW_ID = 148 |
int |
SELECT_PREV_WINDOW_ID = 149 |
Method Details |
---|
__init__(self)
|
BuildWindowMenu(self, currentFrame)Builds the Window menu and adds menu items for all of the open documents in the DocManager. |
InstallControls(self, frame, menuBar=None, toolBar=None, statusBar=None, document=None)Installs the Window menu.
|
OnArrangeWindows(self, event)Called by Window/Arrange and tiles the frames on the desktop. |
OnSelectMoreWindows(self, event)Called when the "Window/Select More Windows..." menu item is selected and enables user to select from the Frames that do not in the Window list. Useful when there are more than 10 open frames in the application. |
OnSelectWindowMenu(self, event)Called when the Window menu item representing a Frame is selected and brings the selected Frame to the front of the desktop. |
ProcessEvent(self, event)Processes a Window menu event.
|
ProcessUpdateUIEvent(self, event)Updates the Window menu items. |
Class Variable Details |
---|
ARRANGE_WINDOWS_ID
|
CLOSE_CURRENT_WINDOW_ID
|
SELECT_MORE_WINDOWS_ID
|
SELECT_NEXT_WINDOW_ID
|
SELECT_PREV_WINDOW_ID
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1.20050511.rpd on Thu Mar 22 12:08:38 2007 | http://epydoc.sf.net |