Class EdjeObject

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll
API Level:
preview

The EdjeObject is a class that the evas object exists in.

C#
Copy
public class EdjeObject
Inheritance
System.Object
EdjeObject

Properties

View Source

Item[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
C#
Copy
public EdjeTextPartObject this[string part] { get; }
Parameters
Type Name Description
System.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 Source

AddSignalAction(String, String, Action<String, String>)

Adds Action for an arriving edje signal, emitted by a given Ejde object.

Declaration
C#
Copy
public void AddSignalAction(string emission, string source, Action<string, string> action)
Parameters
Type Name Description
System.String emission

The signal's "emission" string.

System.String source

The signal's "source" string.

System.Action<System.String, System.String> action

The action to be executed when the signal is emitted.

API Level: preview
View Source

DeleteColorClass(String)

Deletes the object Color class. This function deletes any values at the object level for the specified object and Color class.

Declaration
C#
Copy
public void DeleteColorClass(string part)
Parameters
Type Name Description
System.String part

The Color class to be deleted.

Remarks

Deleting the Color class defined in the theme file.

API Level: preview
View Source

DeleteSignalAction(String, String, Action<String, String>)

Deletes a signal-triggered action from an object.

Declaration
C#
Copy
public void DeleteSignalAction(string emission, string source, Action<string, string> action)
Parameters
Type Name Description
System.String emission

The signal's "emission" string.

System.String source

The signal's "source" string.

System.Action<System.String, System.String> action

The action to be executed when the signal is emitted.

API Level: preview
View Source

EmitSignal(String, String)

Sends or emits an edje signal to a given edje object.

Declaration
C#
Copy
public void EmitSignal(string emission, string source)
Parameters
Type Name Description
System.String emission

The signal's "emission" string

System.String source

The signal's "source" string

API Level: preview
View Source

GetColorClass(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
C#
Copy
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
System.String colorClass

The Color class name.

System.Int32 red

The object red value.

System.Int32 green

The object green value.

System.Int32 blue

The object blue value.

System.Int32 alpha

The object alpha value.

System.Int32 outlineRed

The outline red value.

System.Int32 outlineGreen

The outline green value.

System.Int32 outlineBlue

The outline blue value.

System.Int32 outlineAlpha

The outline alpha value.

System.Int32 shadowRed

The shadow red value.

System.Int32 shadowGreen

The shadow green value.

System.Int32 shadowBlue

The shadow blue value.

System.Int32 shadowAlpha

The shadow alpha value.

Returns
Type Description
System.Boolean

True if succeeds, otherwise False.

API Level: preview
View Source

GetTextClass(String, out String, out Int32)

Gets the Edje text class.

Declaration
C#
Copy
public bool GetTextClass(string textClass, out string font, out int fontSize)
Parameters
Type Name Description
System.String textClass

The text class name.

System.String font

Font name.

System.Int32 fontSize

Font size.

Returns
Type Description
System.Boolean

True if succeeds, otherwise False.

API Level: preview
View Source

SetColorClass(String, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Sets the object Color class.

Declaration
C#
Copy
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
System.String colorClass

The Color class name.

System.Int32 red

The object red value.

System.Int32 green

The object green value.

System.Int32 blue

The object blue value.

System.Int32 alpha

The object alpha value.

System.Int32 outlineRed

The outline red value.

System.Int32 outlineGreen

The outline green value.

System.Int32 outlineBlue

The outline blue value.

System.Int32 outlineAlpha

The outline alpha value.

System.Int32 shadowRed

The shadow red value.

System.Int32 shadowGreen

The shadow green value.

System.Int32 shadowBlue

The shadow blue value.

System.Int32 shadowAlpha

The shadow alpha value.

Returns
Type Description
System.Boolean

True if succeeds, otherwise False.

API Level: preview
View Source

SetTextClass(String, String, Int32)

Sets the Edje text class.

Declaration
C#
Copy
public bool SetTextClass(string textClass, string font, int fontSize)
Parameters
Type Name Description
System.String textClass

The text class name.

System.String font

Font name.

System.Int32 fontSize

Font size.

Returns
Type Description
System.Boolean

True if succeeds, otherwise False.

API Level: preview