GraffitiSuite Docs
Docs
Graffititabbaritem
Loading document parsing libraries...
# GraffitiTabBarItem Class ## Enumerations | Name | Value | Description | | --- | :---: | --- | | WidthTypes | Auto <br> Fixed <br> Percentage | Supported item width models. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Sub | Constructor | (None) | Creates a new instance of the class. | | Sub | Constructor | (None) | Creates a new instance of the class. | | Sub | Constructor | (None) | Creates a new instance of the class. | | Attributes | Hidden | refresh | | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | bounds | Rect | | | Attributes | closeBounds | Rect | | | Attributes | image | Picture | | | Attributes | mParent | WeakRef | | | HasCloseButton | Boolean | Nil | Controls whether the item implements a close button. | | Icon | Picture | Nil | Icon displayed within the item. | | Private | As | = | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Private | As | Nil | | | Style | GraffitiTabBarStyle | Nil | Allows creating and assigning a custom GraffitiTabBarStyle object to control the appearance of the item. | | Tag | Variant | Nil | Developer storage. | | Text | String | Nil | Text displayed within the item. | | Tooltip | String | Nil | Text displayed in a tooltip when the user's mouse cursor hovers over the item. | | Width | Integer | Nil | Width of the item in the display. | | WidthType | WidthTypes | Nil | Determines how the Width property value is interpreted when the item is drawn. |