X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2FSWIG%2Fevents%2Fbutton-event.i;h=7dbf6afc5b2b5b806aa2784aa1ed00406d572a55;hb=26368c0d3d953dd805bf0b2370be88a03608133e;hp=e56887039fc9ccc8f68e6f12e2757338c3ad86ae;hpb=0b656e1b343a93e2c9a92f50e84e3b30575a494d;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/SWIG/events/button-event.i b/plugins/dali-swig/SWIG/events/button-event.i index e568870..7dbf6af 100644 --- a/plugins/dali-swig/SWIG/events/button-event.i +++ b/plugins/dali-swig/SWIG/events/button-event.i @@ -160,7 +160,7 @@ public class StateChangedEventArgs : EventArgs if (_buttonClickedEventHandler != null) { //here we send all data to user event handlers - return _buttonClickedEventHandler(this, e,true); + return _buttonClickedEventHandler(this, e); } return false; } @@ -207,7 +207,7 @@ public class StateChangedEventArgs : EventArgs if (_buttonPressedEventHandler != null) { //here we send all data to user event handlers - return _buttonPressedEventHandler(this, e,true); + return _buttonPressedEventHandler(this, e); } return false; } @@ -254,7 +254,7 @@ public class StateChangedEventArgs : EventArgs if (_buttonReleasedEventHandler != null) { //here we send all data to user event handlers - return _buttonReleasedEventHandler(this, e, true); + return _buttonReleasedEventHandler(this, e); } return false; } @@ -301,7 +301,7 @@ public class StateChangedEventArgs : EventArgs if (_buttonStateChangedEventHandler != null) { //here we send all data to user event handlers - return _buttonStateChangedEventHandler(this, e, true); + return _buttonStateChangedEventHandler(this, e); } return false; } @@ -312,6 +312,159 @@ public class StateChangedEventArgs : EventArgs return ret; } + public Dali.Property.Map UnselectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.UNSELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.UNSELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map SelectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.SELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.SELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledSelectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_SELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_SELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledUnselectedVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_UNSELECTED_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_UNSELECTED_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map UnselectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.UNSELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.UNSELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map SelectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.SELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.SELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledUnselectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_UNSELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public Dali.Property.Map DisabledSelectedBackgroundVisual + { + get + { + Dali.Property.Map temp = new Dali.Property.Map(); + GetProperty( Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.DISABLED_SELECTED_BACKGROUND_VISUAL, new Dali.Property.Value( value ) ); + } + } + + public string LabelRelativeAlignment + { + get + { + string temp; + GetProperty( Button.Property.LABEL_RELATIVE_ALIGNMENT).Get( out temp ); + return temp; + } + set + { + SetProperty( Button.Property.LABEL_RELATIVE_ALIGNMENT, new Dali.Property.Value( value ) ); + } + } + + public Vector4 LabelPadding + { + get + { + Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f); + GetProperty( Button.Property.LABEL_PADDING).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.LABEL_PADDING, new Dali.Property.Value( value ) ); + } + } + + public Vector4 VisualPadding + { + get + { + Vector4 temp = new Vector4(0.0f,0.0f,0.0f,0.0f); + GetProperty( Button.Property.VISUAL_PADDING).Get( temp ); + return temp; + } + set + { + SetProperty( Button.Property.VISUAL_PADDING, new Dali.Property.Value( value ) ); + } + } %} %enddef