phoenix_title wx.lib.pydocview.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.


class_hierarchy Class Hierarchy

Inheritance diagram for class WindowMenuService:

super_classes Known Superclasses

wx.lib.pydocview.DocService


method_summary Methods Summary

__init__

Initializes the WindowMenu and its globals.

BuildWindowMenu

Builds the Window menu and adds menu items for all of the open documents in the DocManager.

InstallControls

Installs the Window menu.

OnArrangeWindows

Called by Window/Arrange and tiles the frames on the desktop.

OnCtrlKeySelect

OnSelectMoreWindows

Called when the “Window/Select More Windows…” menu item is selected and enables user to

OnSelectWindowMenu

Called when the Window menu item representing a Frame is selected and brings the selected

ProcessEvent

Processes a Window menu event.

ProcessUpdateUIEvent

Updates the Window menu items.


api Class API

class WindowMenuService(DocService)

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.


Methods

__init__(self)

Initializes the WindowMenu and its globals.



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.



OnCtrlKeySelect(self, event)


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.