Class Icon
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The Icon is a widget that displays the standard icon images ("delete", "edit", "arrows", etc.) or images coming from a custom file (PNG, JPG, EDJE, etc.), on the icon context. Inherits Image.
C#Copypublic class Icon : Image, IAccessibleObject
- Inheritance
- Implements
Constructors
Declaration
C#Copypublic Icon(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | The parent is a given container, which will be attached by Icon as a child. It's EvasObject type. |
API Level: preview
Properties
Declaration
C#Copypublic IconLookupOrder IconLookupOrder { get; set; }
Property Value
Type | Description |
---|---|
IconLookupOrder |
API Level: preview
Declaration
C#Copypublic string StandardIconName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: preview
Methods
Declaration
C#Copyprotected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | EvasObject |
Returns
Type | Description |
---|---|
System.IntPtr | The new object, otherwise null if it cannot be created. |
Overrides
API Level: preview
Declaration
C#Copypublic void SetThumb(string file, string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | file | The path to the file that is used as an icon image. |
System.String | group | The group that the icon belongs to. |