cvui
A (very) simple UI lib built on top of OpenCV drawing primitives
EnhancedWindow.EnhancedWindow Class Reference

Public Member Functions

def __init__ (self, x, y, width, height, title, minimizable=True)
 
def begin (self, frame)
 
def end (self)
 
def height (self)
 
def isMinimized (self)
 
def setHeight (self, h)
 
def setWidth (self, w)
 
def width (self)
 

Constructor & Destructor Documentation

◆ __init__()

def EnhancedWindow.EnhancedWindow.__init__ (   self,
  x,
  y,
  width,
  height,
  title,
  minimizable = True 
)

References EnhancedWindow.EnhancedWindow.__deltaX, EnhancedWindow.EnhancedWindow.__deltaY, EnhancedWindow.EnhancedWindow.__height, EnhancedWindow.EnhancedWindow.__heightNotMinimized, EnhancedWindow.EnhancedWindow.__isMoving, EnhancedWindow.EnhancedWindow.__minimizable, EnhancedWindow.EnhancedWindow.__minimized, EnhancedWindow.EnhancedWindow.__title, EnhancedWindow.EnhancedWindow.__width, EnhancedWindow.EnhancedWindow.__x, and EnhancedWindow.EnhancedWindow.__y.

Member Function Documentation

◆ begin()

def EnhancedWindow.EnhancedWindow.begin (   self,
  frame 
)

References EnhancedWindow.EnhancedWindow.__deltaX, EnhancedWindow.EnhancedWindow.__deltaY, EnhancedWindow.EnhancedWindow.__height, EnhancedWindow.EnhancedWindow.__heightNotMinimized, EnhancedWindow.EnhancedWindow.__isMoving, EnhancedWindow.EnhancedWindow.__minimizable, EnhancedWindow.EnhancedWindow.__minimized, EnhancedWindow.EnhancedWindow.__title, EnhancedWindow.EnhancedWindow.__width, EnhancedWindow.EnhancedWindow.__x, EnhancedWindow.EnhancedWindow.__y, cvui.beginColumn(), cvui.beginRow(), cvui.button(), cvui.mouse(), and cvui.window().

◆ end()

def EnhancedWindow.EnhancedWindow.end (   self)

References cvui.endColumn(), and cvui.endRow().

◆ height()

def EnhancedWindow.EnhancedWindow.height (   self)

References EnhancedWindow.EnhancedWindow.__height.

◆ isMinimized()

def EnhancedWindow.EnhancedWindow.isMinimized (   self)

References EnhancedWindow.EnhancedWindow.__minimized.

◆ setHeight()

def EnhancedWindow.EnhancedWindow.setHeight (   self,
  h 
)

References EnhancedWindow.EnhancedWindow.__height, and EnhancedWindow.EnhancedWindow.__heightNotMinimized.

◆ setWidth()

def EnhancedWindow.EnhancedWindow.setWidth (   self,
  w 
)

References EnhancedWindow.EnhancedWindow.__width.

◆ width()

def EnhancedWindow.EnhancedWindow.width (   self)

References EnhancedWindow.EnhancedWindow.__width.


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