X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Factor-event.i;h=f4d6d1c62e22b7fe3c8153ef1c246ab2097d7941;hp=f65e658a908e0e50fe85ca9b22087f8e088f9268;hb=1bce7020a14529b22c72b115f0ba63122d1413a6;hpb=5bd894028f19daf459f08340a1482aeb679a87f8 diff --git a/plugins/dali-swig/SWIG/events/actor-event.i b/plugins/dali-swig/SWIG/events/actor-event.i index f65e658..f4d6d1c 100755 --- a/plugins/dali-swig/SWIG/events/actor-event.i +++ b/plugins/dali-swig/SWIG/events/actor-event.i @@ -37,6 +37,22 @@ return (IntPtr)swigCPtr; } + public Position CurrentPosition + { + get + { + return GetCurrentPosition(); + } + } + + public Size3D CurrentSize + { + get + { + return GetCurrentSize(); + } + } + public Actor Parent { get @@ -51,19 +67,21 @@ { return IsVisible(); } - } + } - public float Opacity - { - set + public float Opacity + { + get { - SetOpacity(value); + float temp = 0; + GetProperty( Actor.Property.OPACITY ).Get( ref temp ); + return temp; } - get + set { - return GetCurrentOpacity(); + SetProperty( Actor.Property.OPACITY, new Dali.Property.Value( value ) ); } - } + } public bool StateFocusEnable { @@ -85,6 +103,20 @@ } } + public int SiblingOrder + { + get + { + int temp = 0; + GetProperty( Actor.Property.SIBLING_ORDER ).Get( ref temp ); + return temp; + } + set + { + SetProperty( Actor.Property.SIBLING_ORDER, new Dali.Property.Value( value ) ); + } + } + public void Show() { SetVisible(true); @@ -94,7 +126,6 @@ { SetVisible(false); } - %} %enddef