X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=internals%2Fsrc%2FEflSharp%2FEflSharp%2Fefl%2Fefl_ui_box.eo.cs;h=f3707e5600896bb8df95c5d7bcc2bfcc1ff5fc76;hb=5418695f94c5065494f5f7d74d1506e7a5267c06;hp=af4d8b71682017cc9c281918b8479ac3b37a78a1;hpb=0b6fcb1c983e8bfd9aa8b8d83432646951c687ce;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs b/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs old mode 100644 new mode 100755 index af4d8b7..f3707e5 --- a/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs +++ b/internals/src/EflSharp/EflSharp/efl/efl_ui_box.eo.cs @@ -1,3 +1,4 @@ +#define EFL_BETA #pragma warning disable CS1591 using System; using System.Runtime.InteropServices; @@ -23,7 +24,7 @@ namespace Ui { [Efl.Eo.BindingEntity] public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Efl.IPackLinear, Efl.Gfx.IArrangement, Efl.Ui.ILayoutOrientable { - ///Pointer to the native class description. + /// Pointer to the native class description. public override System.IntPtr NativeClass { get @@ -55,7 +56,8 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef FinishInstantiation(); } - /// Constructor to be used when objects are expected to be constructed from native code. + /// Subclasses should override this constructor if they are expected to be instantiated from native code. + /// Do not call this constructor directly. /// Tag struct storing the native handle of the object being constructed. protected Box(ConstructingHandle ch) : base(ch) { @@ -78,6 +80,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef /// Sent after a new sub-object was added. /// (Since EFL 1.22) + /// public event EventHandler ContentAddedEvt { add @@ -117,7 +120,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef } } } - ///Method to raise event ContentAddedEvt. + /// Method to raise event ContentAddedEvt. public void OnContentAddedEvt(Efl.IContainerContentAddedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_ADDED"; @@ -133,6 +136,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef } /// Sent after a sub-object was removed, before unref. /// (Since EFL 1.22) + /// public event EventHandler ContentRemovedEvt { add @@ -172,7 +176,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef } } } - ///Method to raise event ContentRemovedEvt. + /// Method to raise event ContentRemovedEvt. public void OnContentRemovedEvt(Efl.IContainerContentRemovedEvt_Args e) { var key = "_EFL_CONTAINER_EVENT_CONTENT_REMOVED"; @@ -225,7 +229,7 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef } } } - ///Method to raise event LayoutUpdatedEvt. + /// Method to raise event LayoutUpdatedEvt. public void OnLayoutUpdatedEvt(EventArgs e) { var key = "_EFL_PACK_EVENT_LAYOUT_UPDATED"; @@ -456,6 +460,29 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef get { return GetHomogeneous(); } set { SetHomogeneous(value); } } + /// Alignment of the container within its bounds + /// Horizontal alignment + public (double, double) ContentAlign { + get { + double _out_align_horiz = default(double); + double _out_align_vert = default(double); + GetContentAlign(out _out_align_horiz,out _out_align_vert); + return (_out_align_horiz,_out_align_vert); + } + set { SetContentAlign( value.Item1, value.Item2); } + } + /// Padding between items contained in this object. + /// Horizontal padding + public (double, double, bool) ContentPadding { + get { + double _out_pad_horiz = default(double); + double _out_pad_vert = default(double); + bool _out_scalable = default(bool); + GetContentPadding(out _out_pad_horiz,out _out_pad_vert,out _out_scalable); + return (_out_pad_horiz,_out_pad_vert,_out_scalable); + } + set { SetContentPadding( value.Item1, value.Item2, value.Item3); } + } /// Control the direction of a given widget. /// Use this function to change how your widget is to be disposed: vertically or horizontally or inverted vertically or inverted horizontally. /// @@ -1597,3 +1624,19 @@ public class Box : Efl.Ui.Widget, Efl.IContainer, Efl.IPack, Efl.IPackLayout, Ef } +#if EFL_BETA +#pragma warning disable CS1591 +public static class Efl_UiBox_ExtensionMethods { + public static Efl.BindableProperty Homogeneous(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Box { + return new Efl.BindableProperty("homogeneous", fac); + } + + + + public static Efl.BindableProperty Orientation(this Efl.Ui.ItemFactory fac, Efl.Csharp.ExtensionTagmagic = null) where T : Efl.Ui.Box { + return new Efl.BindableProperty("orientation", fac); + } + +} +#pragma warning restore CS1591 +#endif