Package traylib :: Module winmenu :: Class WindowActionMenu
[frames] | no frames]

Class WindowActionMenu

source code

gtk.Menu --+
           |
          WindowActionMenu

A menu that shows actions for a wnck.Window.

Instance Methods
 
__init__(self, window, has_kill=False, path=None, parent=None)
Creates a new WindowActionMenu.
source code
Method Details

__init__(self, window, has_kill=False, path=None, parent=None)
(Constructor)

source code 

Creates a new WindowActionMenu.

Parameters:
  • has_kill - If True, the menu contains an entry to kill the process the window belongs to.
  • path - If not None, indicates that the window is a filemanager window showing the directory path.
  • parent - The WindowMenu showing all directories.