LaunchBoxContributors
On this page

ISystemMenuItemPlugin7.10

Interface in Unbroken.LaunchBox.Plugins

C#
public interface ISystemMenuItemPlugin
Implement this interface in order to add a non-game-specific menu item to the Tools menu in LaunchBox and/or the System menu in Big Box.

Properties

  • AllowInBigBoxWhenLockedGets a value specifying whether or not to allow showing this menu item in Big Box when Big Box is Locked.
  • CaptionGets a value specifying the text to show on the menu item.
  • IconImageGets a value specifying the icon image to use for the menu item in LaunchBox. This property is not used in Big Box.
  • ShowInBigBoxGets a value specifying whether or not to show the menu item in the Big Box System menu.
  • ShowInLaunchBoxGets a value specifying whether or not to show the menu item in the LaunchBox Tools menu.

AllowInBigBoxWhenLocked

C#
bool AllowInBigBoxWhenLocked { get; }
Gets a value specifying whether or not to allow showing this menu item in Big Box when Big Box is Locked.

Caption

C#
string Caption { get; }
Gets a value specifying the text to show on the menu item.

IconImage

C#
Image IconImage { get; }
Gets a value specifying the icon image to use for the menu item in LaunchBox. This property is not used in Big Box.

ShowInBigBox

C#
bool ShowInBigBox { get; }
Gets a value specifying whether or not to show the menu item in the Big Box System menu.

ShowInLaunchBox

C#
bool ShowInLaunchBox { get; }
Gets a value specifying whether or not to show the menu item in the LaunchBox Tools menu.

Methods

  • OnSelectedCalled when the menu item is clicked or selected.

OnSelected

C#
void OnSelected()
Called when the menu item is clicked or selected.