An instance of InfoPopup type encapsulates an UI tip widget. This widget can be placed on top of other widgets to provide e.g. usage information to the user. The widget disappears as soon as the device's user presses any key or when the timer behind the InfoPopup is triggered.
) |
text, [(x_coord, y_coord), time_shown, time_before, alignment]) |
The default values are: the coordinates (0, 0)
, time_shown 5
seconds, time_before 0 seconds and for the alignment
appuifw.EHLeftVTop
.
The alignment can be one of the constants defined in module
appuifw
3.2:
) |
Example:
>>> import appuifw >>> i=appuifw.InfoPopup() >>> i.show(u"Here is the tip.", (0, 0), 5000, 0, appuifw.EHRightVCenter) >>>