Package dtk :: Package ui :: Module box :: Class BackgroundBox

Class BackgroundBox

source code


BackgroundBox is container for clip background.

Instance Methods
 
__init__(self)
Initialize the BackgroundBox class.
source code
 
draw_mask(self, cr, x, y, w, h)
Mask render function.
source code
Method Details

draw_mask(self, cr, x, y, w, h)

source code 

Mask render function.

Parameters:
  • cr - Cairo context.
  • x - X coordinate of draw area.
  • y - Y coordinate of draw area.
  • w - Width of draw area.
  • h - Height of draw area.