reckfellENGINE

StatusIndicator

Application status indicator (aka notification area icon). Note: Status indicator is implemented on macOS and Windows.

On this page
class StatusIndicatorReckfellSharpInherits Entity

Application status indicator (aka notification area icon). Note: Status indicator is implemented on macOS and Windows.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

StatusIndicatorConstructor
# StatusIndicator
C#
public StatusIndicator();

Properties4

IconProperty
# Icon
C#
public Texture2D Icon { get; set; }

Status indicator icon.

MenuProperty
# Menu
C#
public EntityPath Menu { get; set; }

Status indicator native popup menu. If this is set, the StatusIndicator.Pressed signal is not emitted. Note: Native popup is only supported if NativeMenu supports NativeMenu.Feature.PopupMenu feature.

TooltipProperty
# Tooltip
C#
public string Tooltip { get; set; }

Status indicator tooltip.

VisibleProperty
# Visible
C#
public bool Visible { get; set; }

If true, the status indicator is visible.

Methods9

GetIconTexture2D
# GetIcon
C#
public Texture2D GetIcon();
Returns Texture2D
GetMenuEntityPath
# GetMenu
C#
public EntityPath GetMenu();
Returns EntityPath
GetRectRect2
# GetRect
C#
public Rect2 GetRect();

Returns the status indicator rectangle in screen coordinates. If this status indicator is not visible, returns an empty Rect2.

Returns Rect2
GetTooltipstring
# GetTooltip
C#
public string GetTooltip();
Returns string
IsVisiblebool
# IsVisible
C#
public bool IsVisible();
Returns bool
SetIconvoid
# SetIcon
C#
public void SetIcon(Texture2D texture);
Parameters
NameTypeDefault
textureTexture2D—
SetMenuvoid
# SetMenu
C#
public void SetMenu(EntityPath menu);
Parameters
NameTypeDefault
menuEntityPath—
SetTooltipvoid
# SetTooltip
C#
public void SetTooltip(string tooltip);
Parameters
NameTypeDefault
tooltipstring—
SetVisiblevoid
# SetVisible
C#
public void SetVisible(bool visible);
Parameters
NameTypeDefault
visiblebool—

Signals and events1

PressedEvent
# Pressed
C#
public event StatusIndicator.PressedEventHandler Pressed;

Emitted when the status indicator is pressed.

Handler parameters
NameTypeDefault
mouseButtonlong—
mousePositionVector2I—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.