enigma2  2.6
Public Member Functions | Static Public Attributes | List of all members
enigma.eCanvas Class Reference
Inheritance diagram for enigma.eCanvas:
enigma.ePixmap enigma.eAnimatedWidget enigma.eWidget

Public Member Functions

def __init__ (self, parent)
 
def prepareForChangeAnimation (self)
 
def setSize (self, size)
 
def clear (self, color)
 
def fillRect (self, rect, color)
 
def writeText (self, where, fg, bg, font, string, flags)
 
- Public Member Functions inherited from enigma.ePixmap
def setPixmap (self, pixmap)
 
def setPixmapFromFile (self, filename)
 
def setPixmapFromUI (self, *args)
 
def setPixmapFromScreen (self, *args)
 
def setPixmapFromVideo (self, *args)
 
def setScale (self, scale)
 
def setScaleDest (self, rect)
 
def setBorderWidth (self, pixel)
 
def setBorderColor (self, color)
 
def setGradient (self, arg2, to, direction)
 
def save (self, *args)
 
- Public Member Functions inherited from enigma.eAnimatedWidget
def setAlphatest (self, flag)
 
def doBlit (self, *args)
 
def setDefaultAnimationEnabled (self, enabled)
 
- Public Member Functions inherited from enigma.eWidget
def move (self, pos)
 
def resize (self, size)
 
def position (self)
 
def size (self)
 
def csize (self)
 
def parent (self)
 
def parentSize (self)
 
def parentCsize (self)
 
def invalidate (self, *args)
 
def invalidateForAnimation (self)
 
def child (self)
 
def show (self)
 
def hide (self)
 
def doHide (self)
 
def destruct (self)
 
def getStyle (self, OUTPUT)
 
def setStyle (self, style)
 
def setBackgroundColor (self, col)
 
def clearBackgroundColor (self)
 
def setZPosition (self, z)
 
def setTransparent (self, transp)
 
def isVisible (self)
 
def isFading (self)
 
def disable (self)
 
def enable (self)
 
def isEnabled (self)
 
def onAnimationFinished (self)
 
def signalHideAnimationFinished (self)
 
def canAnimate (self)
 
def isFinishedAnimating (self)
 
def setParentTitle (self, title)
 
def setShowHideAnimation (self, key)
 
def setPulsate (self, enabled, duration=1000, arg4=0.3, to=1.0)
 
def isTransparent (self)
 
def getAbsolutePosition (self)
 
def event (self, event, data=None, data2=None)
 
def setFocus (self, focus)
 
def setPositionNotifyChild (self, n)
 
def notifyShowHide (self)
 

Static Public Attributes

 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 prepareForChangeAnimation
 
 setSize
 
 clear
 
 fillRect
 
 writeText
 
- Static Public Attributes inherited from enigma.ePixmap
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 GRADIENT_HORIZONTAL = _enigma.ePixmap_GRADIENT_HORIZONTAL
 
 GRADIENT_VERTICAL = _enigma.ePixmap_GRADIENT_VERTICAL
 
 GRADIENT_HORIZONTAL_CENTERED = _enigma.ePixmap_GRADIENT_HORIZONTAL_CENTERED
 
 GRADIENT_VERTICAL_CENTERED = _enigma.ePixmap_GRADIENT_VERTICAL_CENTERED
 
 FMT_GIF = _enigma.ePixmap_FMT_GIF
 
 FMT_JPEG = _enigma.ePixmap_FMT_JPEG
 
 FMT_PNG = _enigma.ePixmap_FMT_PNG
 
 SCALE_TYPE_NONE = _enigma.ePixmap_SCALE_TYPE_NONE
 
 SCALE_TYPE_ASPECT = _enigma.ePixmap_SCALE_TYPE_ASPECT
 
 SCALE_TYPE_CENTER = _enigma.ePixmap_SCALE_TYPE_CENTER
 
 SCALE_TYPE_WIDTH = _enigma.ePixmap_SCALE_TYPE_WIDTH
 
 SCALE_TYPE_HEIGHT = _enigma.ePixmap_SCALE_TYPE_HEIGHT
 
 SCALE_TYPE_STRETCH = _enigma.ePixmap_SCALE_TYPE_STRETCH
 
 SCALE_TYPE_FILL = _enigma.ePixmap_SCALE_TYPE_FILL
 
 setPixmap
 
 setPixmapFromFile
 
 setPixmapFromUI
 
 setPixmapFromScreen
 
 setPixmapFromVideo
 
 setScale
 
 setScaleDest
 
 setBorderWidth
 
 setBorderColor
 
 setGradient
 
 save
 
- Static Public Attributes inherited from enigma.eAnimatedWidget
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from enigma.eWidget
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
 hideAnimationFinished = _swig_property(_enigma.eWidget_hideAnimationFinished_get, _enigma.eWidget_hideAnimationFinished_set)
 
 showAnimationFinished = _swig_property(_enigma.eWidget_showAnimationFinished_get, _enigma.eWidget_showAnimationFinished_set)
 
 m_clip_region = _swig_property(_enigma.eWidget_m_clip_region_get, _enigma.eWidget_m_clip_region_set)
 
 m_visible_region = _swig_property(_enigma.eWidget_m_visible_region_get, _enigma.eWidget_m_visible_region_set)
 
 m_visible_with_childs = _swig_property(_enigma.eWidget_m_visible_with_childs_get, _enigma.eWidget_m_visible_with_childs_set)
 
 evtPaint = _enigma.eWidget_evtPaint
 
 evtPrefetch = _enigma.eWidget_evtPrefetch
 
 evtKey = _enigma.eWidget_evtKey
 
 evtChangedPosition = _enigma.eWidget_evtChangedPosition
 
 evtChangedSize = _enigma.eWidget_evtChangedSize
 
 evtParentChangedPosition = _enigma.eWidget_evtParentChangedPosition
 
 evtParentVisibilityChanged = _enigma.eWidget_evtParentVisibilityChanged
 
 evtWillChangePosition = _enigma.eWidget_evtWillChangePosition
 
 evtWillChangeSize = _enigma.eWidget_evtWillChangeSize
 
 evtAction = _enigma.eWidget_evtAction
 
 evtFocusGot = _enigma.eWidget_evtFocusGot
 
 evtFocusLost = _enigma.eWidget_evtFocusLost
 
 evtUserWidget = _enigma.eWidget_evtUserWidget
 

Constructor & Destructor Documentation

◆ __init__()

def enigma.eCanvas.__init__ (   self,
  parent 
)
__init__(eCanvas self, eWidget parent) -> eCanvas

Reimplemented from enigma.ePixmap.

Member Function Documentation

◆ clear()

def enigma.eCanvas.clear (   self,
  color 
)
clear(eCanvas self, gRGBA color)

◆ fillRect()

def enigma.eCanvas.fillRect (   self,
  rect,
  color 
)
fillRect(eCanvas self, eRect rect, gRGBA color)

◆ prepareForChangeAnimation()

def enigma.eCanvas.prepareForChangeAnimation (   self)
prepareForChangeAnimation(eCanvas self) -> bool

Reimplemented from enigma.eAnimatedWidget.

◆ setSize()

def enigma.eCanvas.setSize (   self,
  size 
)
setSize(eCanvas self, eSize size)

◆ writeText()

def enigma.eCanvas.writeText (   self,
  where,
  fg,
  bg,
  font,
  string,
  flags 
)
writeText(eCanvas self, eRect where, gRGBA fg, gRGBA bg, gFont font, char const * string, int flags)

Member Data Documentation

◆ clear

enigma.eCanvas.clear
static

◆ fillRect

enigma.eCanvas.fillRect
static

◆ prepareForChangeAnimation

enigma.eCanvas.prepareForChangeAnimation
static

◆ setSize

enigma.eCanvas.setSize
static

◆ thisown

enigma.eCanvas.thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
static

◆ writeText

enigma.eCanvas.writeText
static

The documentation for this class was generated from the following file: