Package parpg :: Package gui :: Module containergui :: Class ContainerGUI
[hide private]
[frames] | no frames]

Class ContainerGUI

source code

                        object --+    
                                 |    
containergui_base.ContainerGUIBase --+
                                     |
                                    ContainerGUI

Instance Methods [hide private]
 
__init__(self, controller, title, container)
A class to create a window showing the contents of a container.
source code
 
updateImages(self) source code
 
updateImage(self, button) source code
 
dragObject(self, obj)
Drag the selected object.
source code
 
dropObject(self, obj)
Drops the object being dropped
source code
 
showContainer(self)
Show the container
source code
 
hideContainer(self)
Hide the container
source code

Inherited from containergui_base.ContainerGUIBase: createMenuItems, dragDrop, executeMenuItem, showContextMenu

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, controller, title, container)
(Constructor)

source code 

A class to create a window showing the contents of a container.

Parameters:
  • controller (Class derived from ControllerBase) - The current Controller
  • title (string) - The title of the window
  • container (Container) - A container to represent
Returns:
None
Overrides: object.__init__

updateImages(self)

source code 
Overrides: containergui_base.ContainerGUIBase.updateImages

dragObject(self, obj)

source code 

Drag the selected object.

Parameters:
  • obj (string) - The name of the object within the dictionary 'self.buttons'
Returns:
None
Overrides: containergui_base.ContainerGUIBase.dragObject

dropObject(self, obj)

source code 

Drops the object being dropped

Parameters:
  • obj (string) - The name of the object within the dictionary 'self.buttons'
Returns:
None
Overrides: containergui_base.ContainerGUIBase.dropObject

showContainer(self)

source code 

Show the container

Returns:
None

hideContainer(self)

source code 

Hide the container

Returns:
None