LabelledImage is a button that uses images for the background and overlays a text label in the foreground.
#include <class_u_i_1_1_labelled_image.h>
Public Member Functions |
|
__init__ () | |
__del__ () | |
contains () | |
Check to see if the visible portion of the
control contains the position. |
|
image () | |
setLooks () | |
setText () | |
text () | |
setTextColor () | |
setTextAlignment () | |
textAlignment () | |
setTextOffset () | |
textOffset () | |
setTextHeight () | |
setTextWidth () | |
setState () | |
doPosition () | |
Apply the control's size and position to the
node. |
|
setVisibleSize () | |
Some images might have blank space on the
right hand side of the image. |
|
visibleSize () |
UI.LabelledImage.__init__ | ( | ) |
Reimplemented from UI.Control.
UI.LabelledImage.__del__ | ( | ) |
Reimplemented from UI.Control.
UI.LabelledImage.contains | ( | ) |
Check to see if the visible portion of the control contains the position.
Reimplemented from UI.Control.
UI.LabelledImage.image | ( | ) |
UI.LabelledImage.setLooks | ( | ) |
UI.LabelledImage.setText | ( | ) |
UI.LabelledImage.text | ( | ) |
UI.LabelledImage.setTextColor | ( | ) |
UI.LabelledImage.setTextAlignment | ( | ) |
UI.LabelledImage.textAlignment | ( | ) |
UI.LabelledImage.setTextOffset | ( | ) |
UI.LabelledImage.textOffset | ( | ) |
UI.LabelledImage.setTextHeight | ( | ) |
UI.LabelledImage.setTextWidth | ( | ) |
UI.LabelledImage.setState | ( | ) |
Reimplemented from UI.Control.
UI.LabelledImage.doPosition | ( | ) |
Apply the control's size and position to the node.
Derived classes must override this method.
Reimplemented from UI.Control.
UI.LabelledImage.setVisibleSize | ( | ) |
Some images might have blank space on the right hand side of the image.
Use this to specify the pixel size of what the user can actually see.
UI.LabelledImage.visibleSize | ( | ) |