示例#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));
 }
示例#3
0
 BaseWidget OnRequestWrapperCreator(string _type, BaseWidget _parent, IntPtr _widget)
 {
     return(mMapWrapper[_type](_parent, _widget));
 }
示例#4
0
 internal static BaseWidget RequestWrapProgressBar(BaseWidget _parent, IntPtr _widget)
 {
     return(new ProgressBar(_parent, _widget));
 }
 internal StaticText(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }
示例#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);
示例#7
0
 private static extern void ExportTabControl_RemoveItem_item(IntPtr _native,
                                                             [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
示例#8
0
 public Widget GetWidgetByIndex(
     uint _index)
 {
     return((Widget)BaseWidget.GetByNative(ExportItemBox_GetWidgetByIndex__index(Native,
                                                                                 _index)));
 }
示例#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);
示例#10
0
 internal static BaseWidget RequestWrapItemBox(BaseWidget _parent, IntPtr _widget)
 {
     return(new ItemBox(_parent, _widget));
 }
示例#11
0
 private static extern uint ExportItemBox_GetIndexByWidget_widget(IntPtr _native,
                                                                  [MarshalAs(UnmanagedType.Interface)]  BaseWidget _widget);
示例#12
0
 internal ItemBox(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }
示例#13
0
 public Widget GetChildAt(
     uint _index)
 {
     return((Widget)BaseWidget.GetByNative(ExportWidget_GetChildAt__index(Native,
                                                                          _index)));
 }
示例#14
0
 public Widget FindWidget(
     string _name)
 {
     return((Widget)BaseWidget.GetByNative(ExportWidget_FindWidget__name(Native,
                                                                         _name)));
 }
示例#15
0
 private static extern void ExportTabControl_SetButtonWidth_item_width(IntPtr _native,
                                                                       [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                       int _width);
示例#16
0
 private static extern IntPtr ExportMultiListBox_GetColumnName_item(IntPtr _native,
                                                                    [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
示例#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);
示例#18
0
 private static extern void ExportMultiListBox_SetColumnWidth_item_width(IntPtr _native,
                                                                         [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item,
                                                                         int _width);
示例#19
0
 private static extern uint ExportTabControl_GetItemIndex_item(IntPtr _native,
                                                               [MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(InterfaceMarshaler))]  BaseWidget _item);
示例#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);
示例#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);
示例#22
0
 internal ProgressBar(BaseWidget _parent, IntPtr _widget)
     : base(_parent, _widget)
 {
 }