-
Notifications
You must be signed in to change notification settings - Fork 25
cls_Wibject
Inherits from BaseObject.
A Wibject (widget object) is a 2D object drawn in screen coordinates. A Figure is a widget and so are an Axes and a PushButton. Wibjects have a position property to set their location and size. They also have a background color and multiple event properties.
This class may also be used as a container object for other wibjects. An instance of this class has no visual appearance. The Box class implements drawing a rectangle with an edge.
The Wibject class implements the following properties:
bgcolor, eventPosition, position
Get/Set the background color of the wibject.
Fired when the position (or size) of this wibject changes.
Get/Set the position of this wibject. Setting can be done by supplying either a 2-element tuple or list to only change the location, or a 4-element tuple or list to change location and size.
See the docs of the vv.base.Position class for more information.