X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fitemview-event.i;h=e00a6ef332215fd6d00afc64be1645bfd959ae20;hp=d70708a89614f7ea19616040caf4e609f9f42fb2;hb=refs%2Fchanges%2F36%2F96336%2F12;hpb=928f30d2caf2775c5bcbfd84ceb4bf37ca29f020 diff --git a/plugins/dali-swig/SWIG/events/itemview-event.i b/plugins/dali-swig/SWIG/events/itemview-event.i index d70708a..e00a6ef 100644 --- a/plugins/dali-swig/SWIG/events/itemview-event.i +++ b/plugins/dali-swig/SWIG/events/itemview-event.i @@ -79,6 +79,155 @@ using System.Runtime.InteropServices; } } +/* Properties earlier added by Ruby Script */ + + public float MinimumSwipeSpeed + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.MINIMUM_SWIPE_SPEED, new Dali.Property.Value( value ) ); + } + } + public float MinimumSwipeDistance + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.MINIMUM_SWIPE_DISTANCE, new Dali.Property.Value( value ) ); + } + } + public float WheelScrollDistanceStep + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.WHEEL_SCROLL_DISTANCE_STEP, new Dali.Property.Value( value ) ); + } + } + public bool SnapToItemEnabled + { + get + { + bool temp = false; + GetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.SNAP_TO_ITEM_ENABLED, new Dali.Property.Value( value ) ); + } + } + public float RefreshInterval + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.REFRESH_INTERVAL).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.REFRESH_INTERVAL, new Dali.Property.Value( value ) ); + } + } + public float LayoutPosition + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.LAYOUT_POSITION).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.LAYOUT_POSITION, new Dali.Property.Value( value ) ); + } + } + public float ScrollSpeed + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.SCROLL_SPEED).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.SCROLL_SPEED, new Dali.Property.Value( value ) ); + } + } + public float Overshoot + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.OVERSHOOT).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.OVERSHOOT, new Dali.Property.Value( value ) ); + } + } + public Dali.CSharp.Size ScrollDirection + { + get + { + Vector2 temp = new Vector2(0.0f,0.0f); + GetProperty( ItemView.Property.SCROLL_DIRECTION).Get( temp ); + Dali.CSharp.Size ret = new Dali.CSharp.Size(temp.x, temp.y); + return ret; + } + set + { + SetProperty( ItemView.Property.SCROLL_DIRECTION, new Dali.Property.Value( value ) ); + } + } + public int LayoutOrientation + { + get + { + int temp = 0; + GetProperty( ItemView.Property.LAYOUT_ORIENTATION).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.LAYOUT_ORIENTATION, new Dali.Property.Value( value ) ); + } + } + public float ScrollContentSize + { + get + { + float temp = 0.0f; + GetProperty( ItemView.Property.SCROLL_CONTENT_SIZE).Get( ref temp ); + return temp; + } + set + { + SetProperty( ItemView.Property.SCROLL_CONTENT_SIZE, new Dali.Property.Value( value ) ); + } + } + +/* Properties ends */ + %} %enddef