/*! \brief Set the menu which will be displayed when the %Menu button is pressed over * this %Iconbar object. * \note The \e %Menu property can be used for the same purpose. */ public void SetMenu(Toolbox.Menu menu) { SetMenu(Method.SetMenu, menu); }
/*! \brief Create the arguments for an AboutToBeShown event from the raw event data. */ public AboutToBeShownEventArgs(IntPtr unmanagedEventBlock) : base(unmanagedEventBlock) { uint menu_id = (uint)Marshal.ReadInt32(RawEventData, EventOffset.MenuID); Menu = Object.CreateInstance <Menu> (menu_id); }