Package muntjac :: Package ui :: Module window :: Class OpenResource
[hide private]
[frames] | no frames]

Class OpenResource

source code

object --+
         |
        OpenResource

Private class for storing properties related to opening resources.

Instance Methods [hide private]
 
__init__(self, resource, name, width, height, border)
Creates a new open resource.
source code
 
paintContent(self, target)
Paints the open request.
source code

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

Instance Variables [hide private]
  _name
The name of the target window
  _width
The width of the target window
  _height
The height of the target window
  _border
The border style of the target window
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, resource, name, width, height, border)
(Constructor)

source code 

Creates a new open resource.

Parameters:
  • resource - The resource to open
  • name - The name of the target window
  • width - The width of the target window
  • height - The height of the target window
  • border - The border style of the target window
Overrides: object.__init__

paintContent(self, target)

source code 

Paints the open request. Should be painted inside the window.

Parameters:
  • target - the paint target
Raises: