public string GetItemId( MenuItem _item) { return Marshal.PtrToStringAnsi( ExportMenuControl_GetItemId_item( mNative , _item ) ) ; }
public uint GetItemIndex( MenuItem _item) { return ExportMenuControl_GetItemIndex_item( mNative , _item ) ; }
public void SetItemType( MenuItem _item , MenuItemType _type) { ExportMenuControl_SetItemType_item_type( mNative , _item , _type ); }
public MenuControl GetItemChild( MenuItem _item) { return (MenuControl)BaseWidget.GetByNative(ExportMenuControl_GetItemChild__item(Native, _item.Native)); }
public void SetItemChildVisible( MenuItem _item , bool _visible) { ExportMenuControl_SetItemChildVisible_item_visible( mNative , _item , _visible ); }
public void SetItemId( MenuItem _item , string _id) { ExportMenuControl_SetItemId_item_id( mNative , _item , _id ); }
internal static BaseWidget RequestCreateMenuItem(BaseWidget _parent, WidgetStyle _style, string _skin, IntCoord _coord, Align _align, string _layer, string _name) { MenuItem widget = new MenuItem(); widget.CreateWidgetImpl(_parent, _style, _skin, _coord, _align, _layer, _name); return widget; }
public MenuItem InsertItem( MenuItem _to , string _name , MenuItemType _type , string _id , object _data) { return ExportMenuControl_InsertItem_to_name_type_id_data( mNative , _to , _name , _type , _id , _data ) ; }
public uint FindItemIndex( MenuItem _item) { return ExportMenuCtrl_FindItemIndex_item( mNative , _item ) ; }
public void RemoveItem( MenuItem _item) { ExportMenuCtrl_RemoveItem_item( mNative , _item ); }
static void menu_EventMenuCtrlAccept(MenuControl _sender, MenuItem _item) { Gui.Instance.Log("TestApp", LogLevel.Info, "EventMenuCtrlAccept item=" + _item.ToString()); }
static void menu_EventMenuCtrlAccept(MenuCtrl _sender, MenuItem _item) { Export.DebugOut("EventMenuCtrlAccept item=" + _item.ToString()); }
public void RemoveItem( MenuItem _item) { ExportMenuControl_RemoveItem__item(Native, _item.Native); }
public string GetItemName( MenuItem _item) { return Marshal.PtrToStringUni( ExportMenuControl_GetItemName_item( mNative , _item ) ) ; }
internal static BaseWidget RequestWrapMenuItem(BaseWidget _parent, IntPtr _widget) { MenuItem widget = new MenuItem(); widget.WrapWidget(_parent, _widget); return widget; }
public MenuItemType GetItemType( MenuItem _item) { return ExportMenuControl_GetItemType_item( mNative , _item ) ; }
public void ClearItemData( MenuItem _item) { ExportMenuControl_ClearItemData_item( mNative , _item ); }
public void RemoveItemChild( MenuItem _item) { ExportMenuControl_RemoveItemChild_item( mNative , _item ); }
public MenuControl CreateItemChild( MenuItem _item) { return ExportMenuControl_CreateItemChild_item( mNative , _item ) ; }
public void SetItemData( MenuItem _item , object _data) { ExportMenuControl_SetItemData_item_data( mNative , _item , _data ); }
public MenuControl GetItemChild( MenuItem _item) { return ExportMenuControl_GetItemChild_item( mNative , _item ) ; }
public void SetItemName( MenuItem _item , string _name) { ExportMenuControl_SetItemName_item_name( mNative , _item , _name ); }
public object GetItemData( MenuItem _item) { return ExportMenuControl_GetItemData_item( mNative , _item ); }
private static void OnExportMenuCtrlAccept( MenuControl _sender , MenuItem _item) { if (_sender.mEventMenuCtrlAccept != null) _sender.mEventMenuCtrlAccept( _sender , _item ); }
public uint FindItemIndex( MenuItem _item) { return ExportMenuControl_FindItemIndex__item(Native, _item.Native); }