Class EdjeObject
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
- API Level:
- preview
The EdjeObject is a class that the evas object exists in.
public class EdjeObject
- Inheritance
-
EdjeObject
Properties
View SourceItem[String]
Checks whether an edje part exists in a given edje object's group definition. This function returns if a given part exists in the edje group bound to object obj
Declaration
public EdjeTextPartObject this[string part] { get; }
Parameters
Type | Name | Description |
---|---|---|
String | part | The part's name to check for existence in object's group. |
Property Value
Type | Description |
---|---|
EdjeTextPartObject | TRUE, if the edje part exists in the object's group, otherwise FALSE. |
Remarks
This call is useful, for example, when one could expect a given GUI element, depending on the theme applied to object.
API Level: preview
Methods
View SourceAddSignalAction(String, String, Action<String, String>)
Adds Action for an arriving edje signal, emitted by a given Ejde object.
Declaration
public void AddSignalAction(string emission, string source, Action<string, string> action)
Parameters
Type | Name | Description |
---|---|---|
String | emission | The signal's "emission" string. |
String | source | The signal's "source" string. |
Action<String, String> | action | The action to be executed when the signal is emitted. |
API Level: preview
View SourceDeleteColorClass(String)
Deletes the object Color class. This function deletes any values at the object level for the specified object and Color class.
Declaration
public void DeleteColorClass(string part)
Parameters
Type | Name | Description |
---|---|---|
String | part | The Color class to be deleted. |
Remarks
Deleting the Color class defined in the theme file.
API Level: preview
View SourceDeleteSignalAction(String, String, Action<String, String>)
Deletes a signal-triggered action from an object.
Declaration
public void DeleteSignalAction(string emission, string source, Action<string, string> action)
Parameters
Type | Name | Description |
---|---|---|
String | emission | The signal's "emission" string. |
String | source | The signal's "source" string. |
Action<String, String> | action | The action to be executed when the signal is emitted. |
API Level: preview
View SourceEmitSignal(String, String)
Sends or emits an edje signal to a given edje object.
Declaration
public void EmitSignal(string emission, string source)
Parameters
Type | Name | Description |
---|---|---|
String | emission | The signal's "emission" string |
String | source | The signal's "source" string |
API Level: preview
View SourceGetColorClass(String, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32, out Int32)
Gets the object Color class.
Declaration
public bool GetColorClass(string colorClass, out int red, out int green, out int blue, out int alpha, out int outlineRed, out int outlineGreen, out int outlineBlue, out int outlineAlpha, out int shadowRed, out int shadowGreen, out int shadowBlue, out int shadowAlpha)
Parameters
Type | Name | Description |
---|---|---|
String | colorClass | The Color class name. |
Int32 | red | The object red value. |
Int32 | green | The object green value. |
Int32 | blue | The object blue value. |
Int32 | alpha | The object alpha value. |
Int32 | outlineRed | The outline red value. |
Int32 | outlineGreen | The outline green value. |
Int32 | outlineBlue | The outline blue value. |
Int32 | outlineAlpha | The outline alpha value. |
Int32 | shadowRed | The shadow red value. |
Int32 | shadowGreen | The shadow green value. |
Int32 | shadowBlue | The shadow blue value. |
Int32 | shadowAlpha | The shadow alpha value. |
Returns
Type | Description |
---|---|
Boolean | True if succeeds, otherwise False. |
API Level: preview
View SourceGetTextClass(String, out String, out Int32)
Gets the Edje text class.
Declaration
public bool GetTextClass(string textClass, out string font, out int fontSize)
Parameters
Type | Name | Description |
---|---|---|
String | textClass | The text class name. |
String | font | Font name. |
Int32 | fontSize | Font size. |
Returns
Type | Description |
---|---|
Boolean | True if succeeds, otherwise False. |
API Level: preview
View SourceSetColorClass(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Sets the object Color class.
Declaration
public bool SetColorClass(string colorClass, int red, int green, int blue, int alpha, int outlineRed, int outlineGreen, int outlineBlue, int outlineAlpha, int shadowRed, int shadowGreen, int shadowBlue, int shadowAlpha)
Parameters
Type | Name | Description |
---|---|---|
String | colorClass | The Color class name. |
Int32 | red | The object red value. |
Int32 | green | The object green value. |
Int32 | blue | The object blue value. |
Int32 | alpha | The object alpha value. |
Int32 | outlineRed | The outline red value. |
Int32 | outlineGreen | The outline green value. |
Int32 | outlineBlue | The outline blue value. |
Int32 | outlineAlpha | The outline alpha value. |
Int32 | shadowRed | The shadow red value. |
Int32 | shadowGreen | The shadow green value. |
Int32 | shadowBlue | The shadow blue value. |
Int32 | shadowAlpha | The shadow alpha value. |
Returns
Type | Description |
---|---|
Boolean | True if succeeds, otherwise False. |
API Level: preview
View SourceSetTextClass(String, String, Int32)
Sets the Edje text class.
Declaration
public bool SetTextClass(string textClass, string font, int fontSize)
Parameters
Type | Name | Description |
---|---|---|
String | textClass | The text class name. |
String | font | Font name. |
Int32 | fontSize | Font size. |
Returns
Type | Description |
---|---|
Boolean | True if succeeds, otherwise False. |