1 #pragma warning disable CS1591
3 using System.Runtime.InteropServices;
4 using System.Collections.Generic;
6 using System.Threading;
7 using System.ComponentModel;
12 /// <summary>Calendar widget
13 /// It helps applications to flexibly display a calendar with day of the week, date, year and month. Applications are able to set specific dates to be reported back, when selected, in the smart callbacks of the calendar widget.</summary>
14 [Efl.Ui.Calendar.NativeMethods]
15 [Efl.Eo.BindingEntity]
16 public class Calendar : Efl.Ui.LayoutBase, Efl.Ui.IFormat, Efl.Ui.Focus.IComposition
18 ///<summary>Pointer to the native class description.</summary>
19 public override System.IntPtr NativeClass
23 if (((object)this).GetType() == typeof(Calendar))
25 return GetEflClassStatic();
29 return Efl.Eo.ClassRegister.klassFromType[((object)this).GetType()];
34 [System.Runtime.InteropServices.DllImport(efl.Libs.Elementary)] internal static extern System.IntPtr
35 efl_ui_calendar_class_get();
36 /// <summary>Initializes a new instance of the <see cref="Calendar"/> class.</summary>
37 /// <param name="parent">Parent instance.</param>
38 /// <param name="style">The widget style to use. See <see cref="Efl.Ui.Widget.SetStyle" /></param>
39 public Calendar(Efl.Object parent
40 , System.String style = null) : base(efl_ui_calendar_class_get(), parent)
42 if (Efl.Eo.Globals.ParamHelperCheck(style))
44 SetStyle(Efl.Eo.Globals.GetParamHelper(style));
47 FinishInstantiation();
50 /// <summary>Constructor to be used when objects are expected to be constructed from native code.</summary>
51 /// <param name="ch">Tag struct storing the native handle of the object being constructed.</param>
52 protected Calendar(ConstructingHandle ch) : base(ch)
56 /// <summary>Initializes a new instance of the <see cref="Calendar"/> class.
57 /// Internal usage: Constructs an instance from a native pointer. This is used when interacting with C code and should not be used directly.</summary>
58 /// <param name="wh">The native pointer to be wrapped.</param>
59 protected Calendar(Efl.Eo.Globals.WrappingHandle wh) : base(wh)
63 /// <summary>Initializes a new instance of the <see cref="Calendar"/> class.
64 /// Internal usage: Constructor to forward the wrapper initialization to the root class that interfaces with native code. Should not be used directly.</summary>
65 /// <param name="baseKlass">The pointer to the base native Eo class.</param>
66 /// <param name="parent">The Efl.Object parent of this instance.</param>
67 protected Calendar(IntPtr baseKlass, Efl.Object parent) : base(baseKlass, parent)
71 /// <summary>Emitted when the selected date in the calendar is changed</summary>
72 public event EventHandler ChangedEvt
76 lock (eflBindingEventLock)
78 Efl.EventCb callerCb = (IntPtr data, ref Efl.Event.NativeStruct evt) =>
80 var obj = Efl.Eo.Globals.WrapperSupervisorPtrToManaged(data).Target;
83 EventArgs args = EventArgs.Empty;
86 value?.Invoke(obj, args);
90 Eina.Log.Error(e.ToString());
91 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
96 string key = "_EFL_UI_CALENDAR_EVENT_CHANGED";
97 AddNativeEventHandler(efl.Libs.Elementary, key, callerCb, value);
103 lock (eflBindingEventLock)
105 string key = "_EFL_UI_CALENDAR_EVENT_CHANGED";
106 RemoveNativeEventHandler(efl.Libs.Elementary, key, value);
110 ///<summary>Method to raise event ChangedEvt.</summary>
111 public void OnChangedEvt(EventArgs e)
113 var key = "_EFL_UI_CALENDAR_EVENT_CHANGED";
114 IntPtr desc = Efl.EventDescription.GetNative(efl.Libs.Elementary, key);
115 if (desc == IntPtr.Zero)
117 Eina.Log.Error($"Failed to get native event {key}");
121 Efl.Eo.Globals.efl_event_callback_call(this.NativeHandle, desc, IntPtr.Zero);
123 /// <summary>The first day of week to use on calendar widgets.
124 /// This is the day that will appear in the left-most column (eg. Monday in France or Sunday in the US).</summary>
125 /// <returns>The first day of the week.</returns>
126 virtual public Efl.Ui.CalendarWeekday GetFirstDayOfWeek() {
127 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
128 Eina.Error.RaiseIfUnhandledException();
131 /// <summary>The first day of week to use on calendar widgets.
132 /// This is the day that will appear in the left-most column (eg. Monday in France or Sunday in the US).</summary>
133 /// <param name="day">The first day of the week.</param>
134 virtual public void SetFirstDayOfWeek(Efl.Ui.CalendarWeekday day) {
135 Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_first_day_of_week_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),day);
136 Eina.Error.RaiseIfUnhandledException();
138 /// <summary>Get the minimum date.
139 /// Default value is 1 JAN,1902.</summary>
140 /// <returns>Time structure containing the minimum date.</returns>
141 virtual public Efl.Time GetDateMin() {
142 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
143 Eina.Error.RaiseIfUnhandledException();
146 /// <summary>Set the minimum date on calendar.
147 /// Set the minimum date, changing the displayed month or year if needed. Displayed day also to be disabled if it is smaller than minimum date. If the minimum date is greater than current maximum date, the minimum date would be changed to the maximum date with returning <c>false</c>.</summary>
148 /// <param name="min">Time structure containing the minimum date.</param>
149 /// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
150 virtual public bool SetDateMin(Efl.Time min) {
151 Efl.Time.NativeStruct _in_min = min;
152 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_min_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_min);
153 Eina.Error.RaiseIfUnhandledException();
156 /// <summary>Get the maximum date.
157 /// Default maximum year is -1. Default maximum day and month are 31 and DEC.
159 /// If the maximum year is a negative value, it will be limited depending on the platform architecture (year 2037 for 32 bits);</summary>
160 /// <returns>Time structure containing the maximum date.</returns>
161 virtual public Efl.Time GetDateMax() {
162 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
163 Eina.Error.RaiseIfUnhandledException();
166 /// <summary>Set the maximum date on calendar.
167 /// Set the maximum date, changing the displayed month or year if needed. Displayed day also to be disabled if it is bigger than maximum date. If the maximum date is less than current minimum date, the maximum date would be changed to the minimum date with returning <c>false</c>.</summary>
168 /// <param name="max">Time structure containing the maximum date.</param>
169 /// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
170 virtual public bool SetDateMax(Efl.Time max) {
171 Efl.Time.NativeStruct _in_max = max;
172 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_max_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_max);
173 Eina.Error.RaiseIfUnhandledException();
176 /// <summary>The selected date on calendar.</summary>
177 /// <returns>Time structure containing the selected date.</returns>
178 virtual public Efl.Time GetDate() {
179 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
180 Eina.Error.RaiseIfUnhandledException();
183 /// <summary>Set the selected date. If the date is greater than the maximum date, the date would be changed to the maximum date with returning <c>false</c>. In the opposite case with the minimum date, this would give the same result.</summary>
184 /// <param name="date">Time structure containing the selected date.</param>
185 /// <returns><c>true</c>, on success, <c>false</c> otherwise</returns>
186 virtual public bool SetDate(Efl.Time date) {
187 Efl.Time.NativeStruct _in_date = date;
188 var _ret_var = Efl.Ui.Calendar.NativeMethods.efl_ui_calendar_date_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_date);
189 Eina.Error.RaiseIfUnhandledException();
192 /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
193 /// <returns>User-provided formatting function.</returns>
194 virtual public Efl.Ui.FormatFunc GetFormatFunc() {
195 var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
196 Eina.Error.RaiseIfUnhandledException();
199 /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
200 /// <param name="func">User-provided formatting function.</param>
201 virtual public void SetFormatFunc(Efl.Ui.FormatFunc func) {
202 GCHandle func_handle = GCHandle.Alloc(func);
203 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_func_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),GCHandle.ToIntPtr(func_handle), Efl.Ui.FormatFuncWrapper.Cb, Efl.Eo.Globals.free_gchandle);
204 Eina.Error.RaiseIfUnhandledException();
206 /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
207 /// <returns>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</returns>
208 virtual public Eina.Accessor<Efl.Ui.FormatValue> GetFormatValues() {
209 var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
210 Eina.Error.RaiseIfUnhandledException();
211 return new Eina.Accessor<Efl.Ui.FormatValue>(_ret_var, false);
213 /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
214 /// <param name="values">Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</param>
215 virtual public void SetFormatValues(Eina.Accessor<Efl.Ui.FormatValue> values) {
216 var _in_values = values.Handle;
217 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_values_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_values);
218 Eina.Error.RaiseIfUnhandledException();
220 /// <summary>A user-provided, string used to format the numerical value.
221 /// For example, "%1.2f meters", "%.0%%" or "%d items".
223 /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
225 /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
227 /// Pass <c>NULL</c> to disable this mechanism.</summary>
228 /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
229 /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
230 virtual public void GetFormatString(out System.String kw_string, out Efl.Ui.FormatStringType type) {
231 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),out kw_string, out type);
232 Eina.Error.RaiseIfUnhandledException();
234 /// <summary>A user-provided, string used to format the numerical value.
235 /// For example, "%1.2f meters", "%.0%%" or "%d items".
237 /// This is the simplest formatting mechanism, working pretty much like <c>printf</c>.
239 /// Different format specifiers (the character after the %) are available, depending on the <c>type</c> used. Use <see cref="Efl.Ui.FormatStringType.Simple"/> for simple numerical values and <see cref="Efl.Ui.FormatStringType.Time"/> for time and date values. For instance, %d means "integer" when the first type is used, but it means "day of the month as a decimal number" in the second.
241 /// Pass <c>NULL</c> to disable this mechanism.</summary>
242 /// <param name="kw_string">Formatting string containing regular characters and format specifiers.</param>
243 /// <param name="type">Type of formatting string, which controls how the different format specifiers are to be traslated.</param>
244 virtual public void SetFormatString(System.String kw_string, Efl.Ui.FormatStringType type) {
245 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_string_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),kw_string, type);
246 Eina.Error.RaiseIfUnhandledException();
248 /// <summary>Internal method to be used by widgets including this mixin to perform the conversion from the internal numerical value into the text representation (Users of these widgets do not need to call this method).
249 /// <see cref="Efl.Ui.IFormat.GetFormattedValue"/> uses any user-provided mechanism to perform the conversion, according to their priorities, and implements a simple fallback if all mechanisms fail.</summary>
250 /// <param name="str">Output formatted string. Its contents will be overwritten by this method.</param>
251 /// <param name="value">The <see cref="Eina.Value"/> to convert to text.</param>
252 virtual public void GetFormattedValue(Eina.Strbuf str, Eina.Value value) {
253 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_formatted_value_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),str, value);
254 Eina.Error.RaiseIfUnhandledException();
256 /// <summary>Internal method to be used by widgets including this mixin. It can only be used when a <see cref="Efl.Ui.IFormat.GetFormatString"/> has been supplied, and it returns the number of decimal places that the format string will produce for floating point values.
257 /// For example, "%.2f" returns 2, and "%d" returns 0;</summary>
258 /// <returns>Number of decimal places, or 0 for non-floating point types.</returns>
259 virtual public int GetDecimalPlaces() {
260 var _ret_var = Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_decimal_places_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
261 Eina.Error.RaiseIfUnhandledException();
264 /// <summary>Internal method to be implemented by widgets including this mixin.
265 /// The mixin will call this method to signal the widget that the formatting has changed and therefore the current value should be converted and rendered again. Widgets must typically call <see cref="Efl.Ui.IFormat.GetFormattedValue"/> and display the returned string. This is something they are already doing (whenever the value changes, for example) so there should be no extra code written to implement this method.</summary>
266 virtual public void ApplyFormattedValue() {
267 Efl.Ui.IFormatConcrete.NativeMethods.efl_ui_format_apply_formatted_value_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
268 Eina.Error.RaiseIfUnhandledException();
270 /// <summary>Set the order of elements that will be used for composition
271 /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx.
273 /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration.
275 /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element.
277 /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
278 /// <returns>The order to use</returns>
279 virtual public Eina.List<Efl.Gfx.IEntity> GetCompositionElements() {
280 var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
281 Eina.Error.RaiseIfUnhandledException();
282 return new Eina.List<Efl.Gfx.IEntity>(_ret_var, true, false);
284 /// <summary>Set the order of elements that will be used for composition
285 /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx.
287 /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration.
289 /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element.
291 /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
292 /// <param name="logical_order">The order to use</param>
293 virtual public void SetCompositionElements(Eina.List<Efl.Gfx.IEntity> logical_order) {
294 var _in_logical_order = logical_order.Handle;
295 logical_order.Own = false;
296 Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_elements_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),_in_logical_order);
297 Eina.Error.RaiseIfUnhandledException();
299 /// <summary>Set to true if all children should be registered as logicals</summary>
300 /// <returns><c>true</c> or <c>false</c></returns>
301 virtual public bool GetLogicalMode() {
302 var _ret_var = Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
303 Eina.Error.RaiseIfUnhandledException();
306 /// <summary>Set to true if all children should be registered as logicals</summary>
307 /// <param name="logical_mode"><c>true</c> or <c>false</c></param>
308 virtual public void SetLogicalMode(bool logical_mode) {
309 Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)),logical_mode);
310 Eina.Error.RaiseIfUnhandledException();
312 /// <summary>Mark this widget as dirty, the children can be considered to be changed after that call</summary>
313 virtual public void Dirty() {
314 Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_dirty_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
315 Eina.Error.RaiseIfUnhandledException();
317 /// <summary>A call to prepare the children of this element, called if marked as dirty
318 /// You can use this function to call composition_elements.</summary>
319 virtual public void Prepare() {
320 Efl.Ui.Focus.ICompositionConcrete.NativeMethods.efl_ui_focus_composition_prepare_ptr.Value.Delegate((IsGeneratedBindingClass ? this.NativeHandle : Efl.Eo.Globals.efl_super(this.NativeHandle, this.NativeClass)));
321 Eina.Error.RaiseIfUnhandledException();
323 /// <summary>The first day of week to use on calendar widgets.
324 /// This is the day that will appear in the left-most column (eg. Monday in France or Sunday in the US).</summary>
325 /// <value>The first day of the week.</value>
326 public Efl.Ui.CalendarWeekday FirstDayOfWeek {
327 get { return GetFirstDayOfWeek(); }
328 set { SetFirstDayOfWeek(value); }
330 /// <summary>Minimum date on calendar.</summary>
331 /// <value>Time structure containing the minimum date.</value>
332 public Efl.Time DateMin {
333 get { return GetDateMin(); }
334 set { SetDateMin(value); }
336 /// <summary>Maximum date on calendar.</summary>
337 /// <value>Time structure containing the maximum date.</value>
338 public Efl.Time DateMax {
339 get { return GetDateMax(); }
340 set { SetDateMax(value); }
342 /// <summary>The selected date on calendar.</summary>
343 /// <value>Time structure containing the selected date.</value>
344 public Efl.Time Date {
345 get { return GetDate(); }
346 set { SetDate(value); }
348 /// <summary>User-provided function which takes care of converting an <see cref="Eina.Value"/> into a text string. The user is then completely in control of how the string is generated, but it is the most cumbersome method to use. If the conversion fails the other mechanisms will be tried, according to their priorities.</summary>
349 /// <value>User-provided formatting function.</value>
350 public Efl.Ui.FormatFunc FormatFunc {
351 get { return GetFormatFunc(); }
352 set { SetFormatFunc(value); }
354 /// <summary>User-provided list of values which are to be rendered using specific text strings. This is more convenient to use than <see cref="Efl.Ui.IFormat.FormatFunc"/> and is perfectly suited for cases where the strings make more sense than the numerical values. For example, weekday names ("Monday", "Tuesday", ...) are friendlier than numbers 1 to 7. If a value is not found in the list, the other mechanisms will be tried according to their priorities. List members do not need to be in any particular order. They are sorted internally for performance reasons.</summary>
355 /// <value>Accessor over a list of value-text pairs. The method will dispose of the accessor, but not of its contents. For convenience, Eina offers a range of helper methods to obtain accessors from Eina.Array, Eina.List or even plain C arrays.</value>
356 public Eina.Accessor<Efl.Ui.FormatValue> FormatValues {
357 get { return GetFormatValues(); }
358 set { SetFormatValues(value); }
360 /// <summary>Set the order of elements that will be used for composition
361 /// Elements of the list can be either an Efl.Ui.Widget, an Efl.Ui.Focus.Object or an Efl.Gfx.
363 /// If the element is an Efl.Gfx.Entity, then the geometry is used as focus geometry, the focus property is redirected to the evas focus property. The mixin will take care of registration.
365 /// If the element is an Efl.Ui.Focus.Object, then the mixin will take care of registering the element.
367 /// If the element is a Efl.Ui.Widget nothing is done and the widget is simply part of the order.</summary>
368 /// <value>The order to use</value>
369 public Eina.List<Efl.Gfx.IEntity> CompositionElements {
370 get { return GetCompositionElements(); }
371 set { SetCompositionElements(value); }
373 /// <summary>Set to true if all children should be registered as logicals</summary>
374 /// <value><c>true</c> or <c>false</c></value>
375 public bool LogicalMode {
376 get { return GetLogicalMode(); }
377 set { SetLogicalMode(value); }
379 private static IntPtr GetEflClassStatic()
381 return Efl.Ui.Calendar.efl_ui_calendar_class_get();
383 /// <summary>Wrapper for native methods and virtual method delegates.
384 /// For internal use by generated code only.</summary>
385 public new class NativeMethods : Efl.Ui.LayoutBase.NativeMethods
387 private static Efl.Eo.NativeModule Module = new Efl.Eo.NativeModule( efl.Libs.Elementary);
388 /// <summary>Gets the list of Eo operations to override.</summary>
389 /// <returns>The list of Eo operations to be overload.</returns>
390 public override System.Collections.Generic.List<Efl_Op_Description> GetEoOps(System.Type type)
392 var descs = new System.Collections.Generic.List<Efl_Op_Description>();
393 var methods = Efl.Eo.Globals.GetUserMethods(type);
395 if (efl_ui_calendar_first_day_of_week_get_static_delegate == null)
397 efl_ui_calendar_first_day_of_week_get_static_delegate = new efl_ui_calendar_first_day_of_week_get_delegate(first_day_of_week_get);
400 if (methods.FirstOrDefault(m => m.Name == "GetFirstDayOfWeek") != null)
402 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_first_day_of_week_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_first_day_of_week_get_static_delegate) });
405 if (efl_ui_calendar_first_day_of_week_set_static_delegate == null)
407 efl_ui_calendar_first_day_of_week_set_static_delegate = new efl_ui_calendar_first_day_of_week_set_delegate(first_day_of_week_set);
410 if (methods.FirstOrDefault(m => m.Name == "SetFirstDayOfWeek") != null)
412 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_first_day_of_week_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_first_day_of_week_set_static_delegate) });
415 if (efl_ui_calendar_date_min_get_static_delegate == null)
417 efl_ui_calendar_date_min_get_static_delegate = new efl_ui_calendar_date_min_get_delegate(date_min_get);
420 if (methods.FirstOrDefault(m => m.Name == "GetDateMin") != null)
422 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_min_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_min_get_static_delegate) });
425 if (efl_ui_calendar_date_min_set_static_delegate == null)
427 efl_ui_calendar_date_min_set_static_delegate = new efl_ui_calendar_date_min_set_delegate(date_min_set);
430 if (methods.FirstOrDefault(m => m.Name == "SetDateMin") != null)
432 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_min_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_min_set_static_delegate) });
435 if (efl_ui_calendar_date_max_get_static_delegate == null)
437 efl_ui_calendar_date_max_get_static_delegate = new efl_ui_calendar_date_max_get_delegate(date_max_get);
440 if (methods.FirstOrDefault(m => m.Name == "GetDateMax") != null)
442 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_max_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_max_get_static_delegate) });
445 if (efl_ui_calendar_date_max_set_static_delegate == null)
447 efl_ui_calendar_date_max_set_static_delegate = new efl_ui_calendar_date_max_set_delegate(date_max_set);
450 if (methods.FirstOrDefault(m => m.Name == "SetDateMax") != null)
452 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_max_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_max_set_static_delegate) });
455 if (efl_ui_calendar_date_get_static_delegate == null)
457 efl_ui_calendar_date_get_static_delegate = new efl_ui_calendar_date_get_delegate(date_get);
460 if (methods.FirstOrDefault(m => m.Name == "GetDate") != null)
462 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_get_static_delegate) });
465 if (efl_ui_calendar_date_set_static_delegate == null)
467 efl_ui_calendar_date_set_static_delegate = new efl_ui_calendar_date_set_delegate(date_set);
470 if (methods.FirstOrDefault(m => m.Name == "SetDate") != null)
472 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_calendar_date_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_calendar_date_set_static_delegate) });
475 if (efl_ui_format_func_get_static_delegate == null)
477 efl_ui_format_func_get_static_delegate = new efl_ui_format_func_get_delegate(format_func_get);
480 if (methods.FirstOrDefault(m => m.Name == "GetFormatFunc") != null)
482 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_get_static_delegate) });
485 if (efl_ui_format_func_set_static_delegate == null)
487 efl_ui_format_func_set_static_delegate = new efl_ui_format_func_set_delegate(format_func_set);
490 if (methods.FirstOrDefault(m => m.Name == "SetFormatFunc") != null)
492 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_func_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_func_set_static_delegate) });
495 if (efl_ui_format_values_get_static_delegate == null)
497 efl_ui_format_values_get_static_delegate = new efl_ui_format_values_get_delegate(format_values_get);
500 if (methods.FirstOrDefault(m => m.Name == "GetFormatValues") != null)
502 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_get_static_delegate) });
505 if (efl_ui_format_values_set_static_delegate == null)
507 efl_ui_format_values_set_static_delegate = new efl_ui_format_values_set_delegate(format_values_set);
510 if (methods.FirstOrDefault(m => m.Name == "SetFormatValues") != null)
512 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_values_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_values_set_static_delegate) });
515 if (efl_ui_format_string_get_static_delegate == null)
517 efl_ui_format_string_get_static_delegate = new efl_ui_format_string_get_delegate(format_string_get);
520 if (methods.FirstOrDefault(m => m.Name == "GetFormatString") != null)
522 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_get_static_delegate) });
525 if (efl_ui_format_string_set_static_delegate == null)
527 efl_ui_format_string_set_static_delegate = new efl_ui_format_string_set_delegate(format_string_set);
530 if (methods.FirstOrDefault(m => m.Name == "SetFormatString") != null)
532 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_string_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_string_set_static_delegate) });
535 if (efl_ui_format_formatted_value_get_static_delegate == null)
537 efl_ui_format_formatted_value_get_static_delegate = new efl_ui_format_formatted_value_get_delegate(formatted_value_get);
540 if (methods.FirstOrDefault(m => m.Name == "GetFormattedValue") != null)
542 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_formatted_value_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_formatted_value_get_static_delegate) });
545 if (efl_ui_format_decimal_places_get_static_delegate == null)
547 efl_ui_format_decimal_places_get_static_delegate = new efl_ui_format_decimal_places_get_delegate(decimal_places_get);
550 if (methods.FirstOrDefault(m => m.Name == "GetDecimalPlaces") != null)
552 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_decimal_places_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_decimal_places_get_static_delegate) });
555 if (efl_ui_format_apply_formatted_value_static_delegate == null)
557 efl_ui_format_apply_formatted_value_static_delegate = new efl_ui_format_apply_formatted_value_delegate(apply_formatted_value);
560 if (methods.FirstOrDefault(m => m.Name == "ApplyFormattedValue") != null)
562 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_format_apply_formatted_value"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_format_apply_formatted_value_static_delegate) });
565 if (efl_ui_focus_composition_elements_get_static_delegate == null)
567 efl_ui_focus_composition_elements_get_static_delegate = new efl_ui_focus_composition_elements_get_delegate(composition_elements_get);
570 if (methods.FirstOrDefault(m => m.Name == "GetCompositionElements") != null)
572 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_elements_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_elements_get_static_delegate) });
575 if (efl_ui_focus_composition_elements_set_static_delegate == null)
577 efl_ui_focus_composition_elements_set_static_delegate = new efl_ui_focus_composition_elements_set_delegate(composition_elements_set);
580 if (methods.FirstOrDefault(m => m.Name == "SetCompositionElements") != null)
582 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_elements_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_elements_set_static_delegate) });
585 if (efl_ui_focus_composition_logical_mode_get_static_delegate == null)
587 efl_ui_focus_composition_logical_mode_get_static_delegate = new efl_ui_focus_composition_logical_mode_get_delegate(logical_mode_get);
590 if (methods.FirstOrDefault(m => m.Name == "GetLogicalMode") != null)
592 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_logical_mode_get"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_logical_mode_get_static_delegate) });
595 if (efl_ui_focus_composition_logical_mode_set_static_delegate == null)
597 efl_ui_focus_composition_logical_mode_set_static_delegate = new efl_ui_focus_composition_logical_mode_set_delegate(logical_mode_set);
600 if (methods.FirstOrDefault(m => m.Name == "SetLogicalMode") != null)
602 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_logical_mode_set"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_logical_mode_set_static_delegate) });
605 if (efl_ui_focus_composition_dirty_static_delegate == null)
607 efl_ui_focus_composition_dirty_static_delegate = new efl_ui_focus_composition_dirty_delegate(dirty);
610 if (methods.FirstOrDefault(m => m.Name == "Dirty") != null)
612 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_dirty"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_dirty_static_delegate) });
615 if (efl_ui_focus_composition_prepare_static_delegate == null)
617 efl_ui_focus_composition_prepare_static_delegate = new efl_ui_focus_composition_prepare_delegate(prepare);
620 if (methods.FirstOrDefault(m => m.Name == "Prepare") != null)
622 descs.Add(new Efl_Op_Description() {api_func = Efl.Eo.FunctionInterop.LoadFunctionPointer(Module.Module, "efl_ui_focus_composition_prepare"), func = Marshal.GetFunctionPointerForDelegate(efl_ui_focus_composition_prepare_static_delegate) });
625 descs.AddRange(base.GetEoOps(type));
628 /// <summary>Returns the Eo class for the native methods of this class.</summary>
629 /// <returns>The native class pointer.</returns>
630 public override IntPtr GetEflClass()
632 return Efl.Ui.Calendar.efl_ui_calendar_class_get();
635 #pragma warning disable CA1707, CS1591, SA1300, SA1600
638 private delegate Efl.Ui.CalendarWeekday efl_ui_calendar_first_day_of_week_get_delegate(System.IntPtr obj, System.IntPtr pd);
641 public delegate Efl.Ui.CalendarWeekday efl_ui_calendar_first_day_of_week_get_api_delegate(System.IntPtr obj);
643 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_first_day_of_week_get_api_delegate> efl_ui_calendar_first_day_of_week_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_first_day_of_week_get_api_delegate>(Module, "efl_ui_calendar_first_day_of_week_get");
645 private static Efl.Ui.CalendarWeekday first_day_of_week_get(System.IntPtr obj, System.IntPtr pd)
647 Eina.Log.Debug("function efl_ui_calendar_first_day_of_week_get was called");
648 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
651 Efl.Ui.CalendarWeekday _ret_var = default(Efl.Ui.CalendarWeekday);
654 _ret_var = ((Calendar)ws.Target).GetFirstDayOfWeek();
658 Eina.Log.Warning($"Callback error: {e.ToString()}");
659 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
667 return efl_ui_calendar_first_day_of_week_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
671 private static efl_ui_calendar_first_day_of_week_get_delegate efl_ui_calendar_first_day_of_week_get_static_delegate;
674 private delegate void efl_ui_calendar_first_day_of_week_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Ui.CalendarWeekday day);
677 public delegate void efl_ui_calendar_first_day_of_week_set_api_delegate(System.IntPtr obj, Efl.Ui.CalendarWeekday day);
679 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_first_day_of_week_set_api_delegate> efl_ui_calendar_first_day_of_week_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_first_day_of_week_set_api_delegate>(Module, "efl_ui_calendar_first_day_of_week_set");
681 private static void first_day_of_week_set(System.IntPtr obj, System.IntPtr pd, Efl.Ui.CalendarWeekday day)
683 Eina.Log.Debug("function efl_ui_calendar_first_day_of_week_set was called");
684 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
690 ((Calendar)ws.Target).SetFirstDayOfWeek(day);
694 Eina.Log.Warning($"Callback error: {e.ToString()}");
695 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
702 efl_ui_calendar_first_day_of_week_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), day);
706 private static efl_ui_calendar_first_day_of_week_set_delegate efl_ui_calendar_first_day_of_week_set_static_delegate;
709 private delegate Efl.Time.NativeStruct efl_ui_calendar_date_min_get_delegate(System.IntPtr obj, System.IntPtr pd);
712 public delegate Efl.Time.NativeStruct efl_ui_calendar_date_min_get_api_delegate(System.IntPtr obj);
714 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_min_get_api_delegate> efl_ui_calendar_date_min_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_min_get_api_delegate>(Module, "efl_ui_calendar_date_min_get");
716 private static Efl.Time.NativeStruct date_min_get(System.IntPtr obj, System.IntPtr pd)
718 Eina.Log.Debug("function efl_ui_calendar_date_min_get was called");
719 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
722 Efl.Time _ret_var = default(Efl.Time);
725 _ret_var = ((Calendar)ws.Target).GetDateMin();
729 Eina.Log.Warning($"Callback error: {e.ToString()}");
730 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
738 return efl_ui_calendar_date_min_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
742 private static efl_ui_calendar_date_min_get_delegate efl_ui_calendar_date_min_get_static_delegate;
744 [return: MarshalAs(UnmanagedType.U1)]
745 private delegate bool efl_ui_calendar_date_min_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct min);
747 [return: MarshalAs(UnmanagedType.U1)]
748 public delegate bool efl_ui_calendar_date_min_set_api_delegate(System.IntPtr obj, Efl.Time.NativeStruct min);
750 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_min_set_api_delegate> efl_ui_calendar_date_min_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_min_set_api_delegate>(Module, "efl_ui_calendar_date_min_set");
752 private static bool date_min_set(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct min)
754 Eina.Log.Debug("function efl_ui_calendar_date_min_set was called");
755 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
758 Efl.Time _in_min = min;
759 bool _ret_var = default(bool);
762 _ret_var = ((Calendar)ws.Target).SetDateMin(_in_min);
766 Eina.Log.Warning($"Callback error: {e.ToString()}");
767 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
775 return efl_ui_calendar_date_min_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), min);
779 private static efl_ui_calendar_date_min_set_delegate efl_ui_calendar_date_min_set_static_delegate;
782 private delegate Efl.Time.NativeStruct efl_ui_calendar_date_max_get_delegate(System.IntPtr obj, System.IntPtr pd);
785 public delegate Efl.Time.NativeStruct efl_ui_calendar_date_max_get_api_delegate(System.IntPtr obj);
787 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_max_get_api_delegate> efl_ui_calendar_date_max_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_max_get_api_delegate>(Module, "efl_ui_calendar_date_max_get");
789 private static Efl.Time.NativeStruct date_max_get(System.IntPtr obj, System.IntPtr pd)
791 Eina.Log.Debug("function efl_ui_calendar_date_max_get was called");
792 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
795 Efl.Time _ret_var = default(Efl.Time);
798 _ret_var = ((Calendar)ws.Target).GetDateMax();
802 Eina.Log.Warning($"Callback error: {e.ToString()}");
803 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
811 return efl_ui_calendar_date_max_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
815 private static efl_ui_calendar_date_max_get_delegate efl_ui_calendar_date_max_get_static_delegate;
817 [return: MarshalAs(UnmanagedType.U1)]
818 private delegate bool efl_ui_calendar_date_max_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct max);
820 [return: MarshalAs(UnmanagedType.U1)]
821 public delegate bool efl_ui_calendar_date_max_set_api_delegate(System.IntPtr obj, Efl.Time.NativeStruct max);
823 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_max_set_api_delegate> efl_ui_calendar_date_max_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_max_set_api_delegate>(Module, "efl_ui_calendar_date_max_set");
825 private static bool date_max_set(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct max)
827 Eina.Log.Debug("function efl_ui_calendar_date_max_set was called");
828 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
831 Efl.Time _in_max = max;
832 bool _ret_var = default(bool);
835 _ret_var = ((Calendar)ws.Target).SetDateMax(_in_max);
839 Eina.Log.Warning($"Callback error: {e.ToString()}");
840 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
848 return efl_ui_calendar_date_max_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), max);
852 private static efl_ui_calendar_date_max_set_delegate efl_ui_calendar_date_max_set_static_delegate;
855 private delegate Efl.Time.NativeStruct efl_ui_calendar_date_get_delegate(System.IntPtr obj, System.IntPtr pd);
858 public delegate Efl.Time.NativeStruct efl_ui_calendar_date_get_api_delegate(System.IntPtr obj);
860 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_get_api_delegate> efl_ui_calendar_date_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_get_api_delegate>(Module, "efl_ui_calendar_date_get");
862 private static Efl.Time.NativeStruct date_get(System.IntPtr obj, System.IntPtr pd)
864 Eina.Log.Debug("function efl_ui_calendar_date_get was called");
865 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
868 Efl.Time _ret_var = default(Efl.Time);
871 _ret_var = ((Calendar)ws.Target).GetDate();
875 Eina.Log.Warning($"Callback error: {e.ToString()}");
876 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
884 return efl_ui_calendar_date_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
888 private static efl_ui_calendar_date_get_delegate efl_ui_calendar_date_get_static_delegate;
890 [return: MarshalAs(UnmanagedType.U1)]
891 private delegate bool efl_ui_calendar_date_set_delegate(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct date);
893 [return: MarshalAs(UnmanagedType.U1)]
894 public delegate bool efl_ui_calendar_date_set_api_delegate(System.IntPtr obj, Efl.Time.NativeStruct date);
896 public static Efl.Eo.FunctionWrapper<efl_ui_calendar_date_set_api_delegate> efl_ui_calendar_date_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_calendar_date_set_api_delegate>(Module, "efl_ui_calendar_date_set");
898 private static bool date_set(System.IntPtr obj, System.IntPtr pd, Efl.Time.NativeStruct date)
900 Eina.Log.Debug("function efl_ui_calendar_date_set was called");
901 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
904 Efl.Time _in_date = date;
905 bool _ret_var = default(bool);
908 _ret_var = ((Calendar)ws.Target).SetDate(_in_date);
912 Eina.Log.Warning($"Callback error: {e.ToString()}");
913 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
921 return efl_ui_calendar_date_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), date);
925 private static efl_ui_calendar_date_set_delegate efl_ui_calendar_date_set_static_delegate;
928 private delegate Efl.Ui.FormatFunc efl_ui_format_func_get_delegate(System.IntPtr obj, System.IntPtr pd);
931 public delegate Efl.Ui.FormatFunc efl_ui_format_func_get_api_delegate(System.IntPtr obj);
933 public static Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate> efl_ui_format_func_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_get_api_delegate>(Module, "efl_ui_format_func_get");
935 private static Efl.Ui.FormatFunc format_func_get(System.IntPtr obj, System.IntPtr pd)
937 Eina.Log.Debug("function efl_ui_format_func_get was called");
938 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
941 Efl.Ui.FormatFunc _ret_var = default(Efl.Ui.FormatFunc);
944 _ret_var = ((Calendar)ws.Target).GetFormatFunc();
948 Eina.Log.Warning($"Callback error: {e.ToString()}");
949 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
957 return efl_ui_format_func_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
961 private static efl_ui_format_func_get_delegate efl_ui_format_func_get_static_delegate;
964 private delegate void efl_ui_format_func_set_delegate(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
967 public delegate void efl_ui_format_func_set_api_delegate(System.IntPtr obj, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb);
969 public static Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate> efl_ui_format_func_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_func_set_api_delegate>(Module, "efl_ui_format_func_set");
971 private static void format_func_set(System.IntPtr obj, System.IntPtr pd, IntPtr func_data, Efl.Ui.FormatFuncInternal func, EinaFreeCb func_free_cb)
973 Eina.Log.Debug("function efl_ui_format_func_set was called");
974 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
977 Efl.Ui.FormatFuncWrapper func_wrapper = new Efl.Ui.FormatFuncWrapper(func, func_data, func_free_cb);
981 ((Calendar)ws.Target).SetFormatFunc(func_wrapper.ManagedCb);
985 Eina.Log.Warning($"Callback error: {e.ToString()}");
986 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
993 efl_ui_format_func_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), func_data, func, func_free_cb);
997 private static efl_ui_format_func_set_delegate efl_ui_format_func_set_static_delegate;
1000 private delegate System.IntPtr efl_ui_format_values_get_delegate(System.IntPtr obj, System.IntPtr pd);
1003 public delegate System.IntPtr efl_ui_format_values_get_api_delegate(System.IntPtr obj);
1005 public static Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate> efl_ui_format_values_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_get_api_delegate>(Module, "efl_ui_format_values_get");
1007 private static System.IntPtr format_values_get(System.IntPtr obj, System.IntPtr pd)
1009 Eina.Log.Debug("function efl_ui_format_values_get was called");
1010 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1013 Eina.Accessor<Efl.Ui.FormatValue> _ret_var = default(Eina.Accessor<Efl.Ui.FormatValue>);
1016 _ret_var = ((Calendar)ws.Target).GetFormatValues();
1020 Eina.Log.Warning($"Callback error: {e.ToString()}");
1021 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1024 return _ret_var.Handle;
1029 return efl_ui_format_values_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1033 private static efl_ui_format_values_get_delegate efl_ui_format_values_get_static_delegate;
1036 private delegate void efl_ui_format_values_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr values);
1039 public delegate void efl_ui_format_values_set_api_delegate(System.IntPtr obj, System.IntPtr values);
1041 public static Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate> efl_ui_format_values_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_values_set_api_delegate>(Module, "efl_ui_format_values_set");
1043 private static void format_values_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr values)
1045 Eina.Log.Debug("function efl_ui_format_values_set was called");
1046 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1049 var _in_values = new Eina.Accessor<Efl.Ui.FormatValue>(values, false);
1053 ((Calendar)ws.Target).SetFormatValues(_in_values);
1057 Eina.Log.Warning($"Callback error: {e.ToString()}");
1058 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1065 efl_ui_format_values_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), values);
1069 private static efl_ui_format_values_set_delegate efl_ui_format_values_set_static_delegate;
1072 private delegate void efl_ui_format_string_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
1075 public delegate void efl_ui_format_string_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] out System.String kw_string, out Efl.Ui.FormatStringType type);
1077 public static Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate> efl_ui_format_string_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_get_api_delegate>(Module, "efl_ui_format_string_get");
1079 private static void format_string_get(System.IntPtr obj, System.IntPtr pd, out System.String kw_string, out Efl.Ui.FormatStringType type)
1081 Eina.Log.Debug("function efl_ui_format_string_get was called");
1082 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1085 System.String _out_kw_string = default(System.String);
1086 type = default(Efl.Ui.FormatStringType);
1089 ((Calendar)ws.Target).GetFormatString(out _out_kw_string, out type);
1093 Eina.Log.Warning($"Callback error: {e.ToString()}");
1094 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1097 kw_string = _out_kw_string;
1102 efl_ui_format_string_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), out kw_string, out type);
1106 private static efl_ui_format_string_get_delegate efl_ui_format_string_get_static_delegate;
1109 private delegate void efl_ui_format_string_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
1112 public delegate void efl_ui_format_string_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StringKeepOwnershipMarshaler))] System.String kw_string, Efl.Ui.FormatStringType type);
1114 public static Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate> efl_ui_format_string_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_string_set_api_delegate>(Module, "efl_ui_format_string_set");
1116 private static void format_string_set(System.IntPtr obj, System.IntPtr pd, System.String kw_string, Efl.Ui.FormatStringType type)
1118 Eina.Log.Debug("function efl_ui_format_string_set was called");
1119 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1125 ((Calendar)ws.Target).SetFormatString(kw_string, type);
1129 Eina.Log.Warning($"Callback error: {e.ToString()}");
1130 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1137 efl_ui_format_string_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), kw_string, type);
1141 private static efl_ui_format_string_set_delegate efl_ui_format_string_set_static_delegate;
1144 private delegate void efl_ui_format_formatted_value_get_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
1147 public delegate void efl_ui_format_formatted_value_get_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(Efl.Eo.StrbufKeepOwnershipMarshaler))] Eina.Strbuf str, Eina.ValueNative value);
1149 public static Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate> efl_ui_format_formatted_value_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_formatted_value_get_api_delegate>(Module, "efl_ui_format_formatted_value_get");
1151 private static void formatted_value_get(System.IntPtr obj, System.IntPtr pd, Eina.Strbuf str, Eina.ValueNative value)
1153 Eina.Log.Debug("function efl_ui_format_formatted_value_get was called");
1154 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1160 ((Calendar)ws.Target).GetFormattedValue(str, value);
1164 Eina.Log.Warning($"Callback error: {e.ToString()}");
1165 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1172 efl_ui_format_formatted_value_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), str, value);
1176 private static efl_ui_format_formatted_value_get_delegate efl_ui_format_formatted_value_get_static_delegate;
1179 private delegate int efl_ui_format_decimal_places_get_delegate(System.IntPtr obj, System.IntPtr pd);
1182 public delegate int efl_ui_format_decimal_places_get_api_delegate(System.IntPtr obj);
1184 public static Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate> efl_ui_format_decimal_places_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_decimal_places_get_api_delegate>(Module, "efl_ui_format_decimal_places_get");
1186 private static int decimal_places_get(System.IntPtr obj, System.IntPtr pd)
1188 Eina.Log.Debug("function efl_ui_format_decimal_places_get was called");
1189 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1192 int _ret_var = default(int);
1195 _ret_var = ((Calendar)ws.Target).GetDecimalPlaces();
1199 Eina.Log.Warning($"Callback error: {e.ToString()}");
1200 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1208 return efl_ui_format_decimal_places_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1212 private static efl_ui_format_decimal_places_get_delegate efl_ui_format_decimal_places_get_static_delegate;
1215 private delegate void efl_ui_format_apply_formatted_value_delegate(System.IntPtr obj, System.IntPtr pd);
1218 public delegate void efl_ui_format_apply_formatted_value_api_delegate(System.IntPtr obj);
1220 public static Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate> efl_ui_format_apply_formatted_value_ptr = new Efl.Eo.FunctionWrapper<efl_ui_format_apply_formatted_value_api_delegate>(Module, "efl_ui_format_apply_formatted_value");
1222 private static void apply_formatted_value(System.IntPtr obj, System.IntPtr pd)
1224 Eina.Log.Debug("function efl_ui_format_apply_formatted_value was called");
1225 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1231 ((Calendar)ws.Target).ApplyFormattedValue();
1235 Eina.Log.Warning($"Callback error: {e.ToString()}");
1236 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1243 efl_ui_format_apply_formatted_value_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1247 private static efl_ui_format_apply_formatted_value_delegate efl_ui_format_apply_formatted_value_static_delegate;
1250 private delegate System.IntPtr efl_ui_focus_composition_elements_get_delegate(System.IntPtr obj, System.IntPtr pd);
1253 public delegate System.IntPtr efl_ui_focus_composition_elements_get_api_delegate(System.IntPtr obj);
1255 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_elements_get_api_delegate> efl_ui_focus_composition_elements_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_elements_get_api_delegate>(Module, "efl_ui_focus_composition_elements_get");
1257 private static System.IntPtr composition_elements_get(System.IntPtr obj, System.IntPtr pd)
1259 Eina.Log.Debug("function efl_ui_focus_composition_elements_get was called");
1260 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1263 Eina.List<Efl.Gfx.IEntity> _ret_var = default(Eina.List<Efl.Gfx.IEntity>);
1266 _ret_var = ((Calendar)ws.Target).GetCompositionElements();
1270 Eina.Log.Warning($"Callback error: {e.ToString()}");
1271 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1274 _ret_var.Own = false; return _ret_var.Handle;
1279 return efl_ui_focus_composition_elements_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1283 private static efl_ui_focus_composition_elements_get_delegate efl_ui_focus_composition_elements_get_static_delegate;
1286 private delegate void efl_ui_focus_composition_elements_set_delegate(System.IntPtr obj, System.IntPtr pd, System.IntPtr logical_order);
1289 public delegate void efl_ui_focus_composition_elements_set_api_delegate(System.IntPtr obj, System.IntPtr logical_order);
1291 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_elements_set_api_delegate> efl_ui_focus_composition_elements_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_elements_set_api_delegate>(Module, "efl_ui_focus_composition_elements_set");
1293 private static void composition_elements_set(System.IntPtr obj, System.IntPtr pd, System.IntPtr logical_order)
1295 Eina.Log.Debug("function efl_ui_focus_composition_elements_set was called");
1296 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1299 var _in_logical_order = new Eina.List<Efl.Gfx.IEntity>(logical_order, true, false);
1303 ((Calendar)ws.Target).SetCompositionElements(_in_logical_order);
1307 Eina.Log.Warning($"Callback error: {e.ToString()}");
1308 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1315 efl_ui_focus_composition_elements_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), logical_order);
1319 private static efl_ui_focus_composition_elements_set_delegate efl_ui_focus_composition_elements_set_static_delegate;
1321 [return: MarshalAs(UnmanagedType.U1)]
1322 private delegate bool efl_ui_focus_composition_logical_mode_get_delegate(System.IntPtr obj, System.IntPtr pd);
1324 [return: MarshalAs(UnmanagedType.U1)]
1325 public delegate bool efl_ui_focus_composition_logical_mode_get_api_delegate(System.IntPtr obj);
1327 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_logical_mode_get_api_delegate> efl_ui_focus_composition_logical_mode_get_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_logical_mode_get_api_delegate>(Module, "efl_ui_focus_composition_logical_mode_get");
1329 private static bool logical_mode_get(System.IntPtr obj, System.IntPtr pd)
1331 Eina.Log.Debug("function efl_ui_focus_composition_logical_mode_get was called");
1332 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1335 bool _ret_var = default(bool);
1338 _ret_var = ((Calendar)ws.Target).GetLogicalMode();
1342 Eina.Log.Warning($"Callback error: {e.ToString()}");
1343 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1351 return efl_ui_focus_composition_logical_mode_get_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1355 private static efl_ui_focus_composition_logical_mode_get_delegate efl_ui_focus_composition_logical_mode_get_static_delegate;
1358 private delegate void efl_ui_focus_composition_logical_mode_set_delegate(System.IntPtr obj, System.IntPtr pd, [MarshalAs(UnmanagedType.U1)] bool logical_mode);
1361 public delegate void efl_ui_focus_composition_logical_mode_set_api_delegate(System.IntPtr obj, [MarshalAs(UnmanagedType.U1)] bool logical_mode);
1363 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_logical_mode_set_api_delegate> efl_ui_focus_composition_logical_mode_set_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_logical_mode_set_api_delegate>(Module, "efl_ui_focus_composition_logical_mode_set");
1365 private static void logical_mode_set(System.IntPtr obj, System.IntPtr pd, bool logical_mode)
1367 Eina.Log.Debug("function efl_ui_focus_composition_logical_mode_set was called");
1368 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1374 ((Calendar)ws.Target).SetLogicalMode(logical_mode);
1378 Eina.Log.Warning($"Callback error: {e.ToString()}");
1379 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1386 efl_ui_focus_composition_logical_mode_set_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)), logical_mode);
1390 private static efl_ui_focus_composition_logical_mode_set_delegate efl_ui_focus_composition_logical_mode_set_static_delegate;
1393 private delegate void efl_ui_focus_composition_dirty_delegate(System.IntPtr obj, System.IntPtr pd);
1396 public delegate void efl_ui_focus_composition_dirty_api_delegate(System.IntPtr obj);
1398 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_dirty_api_delegate> efl_ui_focus_composition_dirty_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_dirty_api_delegate>(Module, "efl_ui_focus_composition_dirty");
1400 private static void dirty(System.IntPtr obj, System.IntPtr pd)
1402 Eina.Log.Debug("function efl_ui_focus_composition_dirty was called");
1403 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1409 ((Calendar)ws.Target).Dirty();
1413 Eina.Log.Warning($"Callback error: {e.ToString()}");
1414 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1421 efl_ui_focus_composition_dirty_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1425 private static efl_ui_focus_composition_dirty_delegate efl_ui_focus_composition_dirty_static_delegate;
1428 private delegate void efl_ui_focus_composition_prepare_delegate(System.IntPtr obj, System.IntPtr pd);
1431 public delegate void efl_ui_focus_composition_prepare_api_delegate(System.IntPtr obj);
1433 public static Efl.Eo.FunctionWrapper<efl_ui_focus_composition_prepare_api_delegate> efl_ui_focus_composition_prepare_ptr = new Efl.Eo.FunctionWrapper<efl_ui_focus_composition_prepare_api_delegate>(Module, "efl_ui_focus_composition_prepare");
1435 private static void prepare(System.IntPtr obj, System.IntPtr pd)
1437 Eina.Log.Debug("function efl_ui_focus_composition_prepare was called");
1438 var ws = Efl.Eo.Globals.GetWrapperSupervisor(obj);
1444 ((Calendar)ws.Target).Prepare();
1448 Eina.Log.Warning($"Callback error: {e.ToString()}");
1449 Eina.Error.Set(Eina.Error.UNHANDLED_EXCEPTION);
1456 efl_ui_focus_composition_prepare_ptr.Value.Delegate(Efl.Eo.Globals.efl_super(obj, Efl.Eo.Globals.efl_class_get(obj)));
1460 private static efl_ui_focus_composition_prepare_delegate efl_ui_focus_composition_prepare_static_delegate;
1462 #pragma warning restore CA1707, CS1591, SA1300, SA1600
1474 /// <summary>A weekday
1475 /// See also <see cref="Efl.Ui.Calendar.SetFirstDayOfWeek"/>.</summary>
1476 [Efl.Eo.BindingEntity]
1477 public enum CalendarWeekday
1479 /// <summary>Sunday weekday</summary>
1481 /// <summary>Monday weekday</summary>
1483 /// <summary>Tuesday weekday</summary>
1485 /// <summary>Wednesday weekday</summary>
1487 /// <summary>Thursday weekday</summary>
1489 /// <summary>Friday weekday</summary>
1491 /// <summary>Saturday weekday</summary>
1493 /// <summary>Sentinel value to indicate last enum field during iteration</summary>