Class EdjeObject

Definition

Namespace:
ElmSharp
Assembly:
ElmSharp.dll

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

C#
Copy
[Obsolete("This has been deprecated in API12")] public class EdjeObject
Inheritance
object
EdjeObject

Properties

View Source

this[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
[Obsolete("This has been deprecated in API12")] 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.

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
[Obsolete("This has been deprecated in API12")] 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.

System.Action<T1, T2><string, string> action

The action to be executed when the signal is emitted.

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
[Obsolete("This has been deprecated in API12")] 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.

View Source

DeleteSignalAction(string, string, Action<string, string>)

Deletes a signal-triggered action from an object.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] 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.

System.Action<T1, T2><string, string> action

The action to be executed when the signal is emitted.

View Source

EmitSignal(string, string)

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

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] 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

View Source

GetColorClass(string, out int, out int, out int, out int, out int, out int, out int, out int, out int, out int, out int, out int)

Gets the object Color class.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] 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.

int red

The object red value.

int green

The object green value.

int blue

The object blue value.

int alpha

The object alpha value.

int outlineRed

The outline red value.

int outlineGreen

The outline green value.

int outlineBlue

The outline blue value.

int outlineAlpha

The outline alpha value.

int shadowRed

The shadow red value.

int shadowGreen

The shadow green value.

int shadowBlue

The shadow blue value.

int shadowAlpha

The shadow alpha value.

Returns
Type Description
bool

True if succeeds, otherwise False.

View Source

GetTextClass(string, out string, out int)

Gets the Edje text class.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] 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.

int fontSize

Font size.

Returns
Type Description
bool

True if succeeds, otherwise False.

View Source

SetColorClass(string, int, int, int, int, int, int, int, int, int, int, int, int)

Sets the object Color class.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] 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.

int red

The object red value.

int green

The object green value.

int blue

The object blue value.

int alpha

The object alpha value.

int outlineRed

The outline red value.

int outlineGreen

The outline green value.

int outlineBlue

The outline blue value.

int outlineAlpha

The outline alpha value.

int shadowRed

The shadow red value.

int shadowGreen

The shadow green value.

int shadowBlue

The shadow blue value.

int shadowAlpha

The shadow alpha value.

Returns
Type Description
bool

True if succeeds, otherwise False.

View Source

SetTextClass(string, string, int)

Sets the Edje text class.

Declaration
C#
Copy
[Obsolete("This has been deprecated in API12")] public bool SetTextClass(string textClass, string font, int fontSize)
Parameters
Type Name Description
string textClass

The text class name.

string font

Font name.

int fontSize

Font size.

Returns
Type Description
bool

True if succeeds, otherwise False.