Example #1
0
 IntPtr OnRequestNativeByWrapper(BaseWidget _wrapper)
 {
     return(_wrapper == null ? IntPtr.Zero : _wrapper.GetNative());
 }
 internal static BaseWidget RequestWrapStaticText(BaseWidget _parent, IntPtr _widget)
 {
     return(new StaticText(_parent, _widget));
 }
Example #3
0
 BaseWidget OnRequestWrapperCreator(string _type, BaseWidget _parent, IntPtr _widget)
 {
     return(mMapWrapper[_type](_parent, _widget));
 }
Example #4
0
 internal static BaseWidget RequestWrapProgressBar(BaseWidget _parent, IntPtr _widget)
 {
     return(new ProgressBar(_parent, _widget));
 }
 internal StaticText(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }
Example #6
0
 private static extern void ExportTabControl_SetItemData_item_data(IntPtr _native,
                                                                   [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                   [MarshalAs(UnmanagedType.IUnknown)]  object _data);
Example #7
0
 private static extern void ExportTabControl_RemoveItem_item(IntPtr _native,
                                                             [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
Example #8
0
 public Widget GetWidgetByIndex(
     uint _index)
 {
     return((Widget)BaseWidget.GetByNative(ExportItemBox_GetWidgetByIndex__index(Native,
                                                                                 _index)));
 }
Example #9
0
 private static extern void ExportMultiListBox_SetColumnResizingPolicy_item_value(IntPtr _native,
                                                                                  [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                                  [MarshalAs(UnmanagedType.I4)]  ResizingPolicy _value);
Example #10
0
 internal static BaseWidget RequestWrapItemBox(BaseWidget _parent, IntPtr _widget)
 {
     return(new ItemBox(_parent, _widget));
 }
Example #11
0
 private static extern uint ExportItemBox_GetIndexByWidget_widget(IntPtr _native,
                                                                  [MarshalAs(UnmanagedType.Interface)]  BaseWidget _widget);
Example #12
0
 internal ItemBox(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }
Example #13
0
 public Widget GetChildAt(
     uint _index)
 {
     return((Widget)BaseWidget.GetByNative(ExportWidget_GetChildAt__index(Native,
                                                                          _index)));
 }
Example #14
0
 public Widget FindWidget(
     string _name)
 {
     return((Widget)BaseWidget.GetByNative(ExportWidget_FindWidget__name(Native,
                                                                         _name)));
 }
Example #15
0
 private static extern void ExportTabControl_SetButtonWidth_item_width(IntPtr _native,
                                                                       [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                       int _width);
Example #16
0
 private static extern IntPtr ExportMultiListBox_GetColumnName_item(IntPtr _native,
                                                                    [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
Example #17
0
 private static extern void ExportTabControl_SetItemName_item_name(IntPtr _native,
                                                                   [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                   [MarshalAs(UnmanagedType.LPWStr)]  string _name);
Example #18
0
 private static extern void ExportMultiListBox_SetColumnWidth_item_width(IntPtr _native,
                                                                         [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                         int _width);
Example #19
0
 private static extern uint ExportTabControl_GetItemIndex_item(IntPtr _native,
                                                               [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
Example #20
0
 private static extern void ExportMultiListBox_SetColumnName_item_name(IntPtr _native,
                                                                       [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                       [MarshalAs(UnmanagedType.LPWStr)]  string _name);
Example #21
0
 private static extern TabItem ExportTabControl_InsertItem_to_name_data(IntPtr _native,
                                                                        [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _to,
                                                                        [MarshalAs(UnmanagedType.LPWStr)]  string _name,
                                                                        [MarshalAs(UnmanagedType.IUnknown)]  object _data);
Example #22
0
 internal ProgressBar(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }