STATIC


Description:

STATIC

A generic non-container object whose purpose is to display a brief amount of information to the user and whose role is known by the implementor but lacks semantic value for the user.

Examples in which STATIC is appropriate include the message displayed in a message box and an image used as an alternative means to display text. STATIC should not be applied to widgets which are traditionally interactive, objects which display a significant amount of content, or any object which has an accessible relation pointing to another object. Implementors should expose the displayed information through the accessible name of the object. If doing so seems inappropriate, it may indicate that a different role should be used. For labels which describe another widget, see LABEL. For text views, see TEXT. For generic containers, see PANEL. For objects whose role is not known by the implementor, see UNKNOWN. (Since: 2.16)




2022 vala-language.org