Differences

This shows you the differences between two versions of the page.

Link to this comparison view

desktop:statusbaritem [2018/04/14 16:09]
desktop:statusbaritem [2019/10/23 05:53] (current)
Line 1: Line 1:
 +==== See Also ====
 +[[desktop:​status|GraffitiStatus]]
 +
 +==== Enumerations ====
 +^ Name      ^ Values ​      ^
 +| ItemTypes | TextIcon = 0 |
 +| ::: | Separator = 1 |
 +| Sizes | Fixed = 0 |
 +| ::: | Contents = 1 |
 +
 +==== Constants ====
 +^ Name      ^ Type     ^ Value       ^
 +|  |  | This class exposes no constants. |
 +
 +==== Events ====
 +^ Definition ​     ^ Description ​      ^
 +|  | This class does not expose any events. |
 +
 +==== Methods ====
 +^ Definition ​     ^ Description ​      ^
 +|  | This class does not expose any methods. |
 +
 +
 +==== Properties ====
 +^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
 +| BGColor | Color | &​c000000 | Sets the individual background color of a StatusBarItem. |
 +| Bold | Boolean | False | Determines the font weight of the item text. |
 +| BorderColor | Color | &​c000000 | Sets the item’s border color. |
 +| BoundsLeft | Integer(Read-Only) | 0 | Returns the left pixel position of the item. |
 +| BoundsRight | Integer(Read-Only) | 0 | Returns the right pixel position of the item. |
 +| FontName | String | "​system"​ | Sets the font face to use on the item’s text. |
 +| FontSize | String | 0 | Sets the size of the font for the item’s text. |
 +| Height | Integer(Read-Only) | 0 | Returns the height of the item. |
 +| Icon | Picture | Nil | Sets the item’s icon. |
 +| Index | Integer | Nil | Determines in what order the item will be drawn. Default is set to the order in which it was added to the parent class’s Items() array. |
 +| Italic | Boolean | False | Sets whether the text is drawn in italics. |
 +| Size | Sizes | Sizes.Fixed | Sets the size of the control. |
 +| Tag | String | Nil | Allows users to store relevant information inside of the StatusBarItem for later retrieval. |
 +| Text | String | ""​ | Sets the text of the StatusBarItem. |
 +| TextColor | Color | &​c000000 | Sets the color of the text to be displayed. |
 +| TrueWidth | Integer(Read-Only) | 0 | Returns the true width of the item in pixels. |
 +| Type | ItemTypes | ItemTypes.TextIcon | Determines what type of item it is. |
 +| Underline | Boolean | False | Sets the text decoration. |
 +| Visible | Boolean | True | Determines whether this item will be drawn to the display. |
 +| Width | String | ""​ | Sets the width of the control either in pixels or percentage if Size is set to GSBSizeFixed. |
 +
 +==== Examples ====
 +There are currently no examples for this class.