mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
32 lines
1.1 KiB
XML
32 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="StatusIndicator" inherits="Node" keywords="tray" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
|
<brief_description>
|
|
Application status indicator (aka notification area icon).
|
|
[b]Note:[/b] Status indicator is implemented on macOS and Windows.
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<members>
|
|
<member name="icon" type="Image" setter="set_icon" getter="get_icon">
|
|
Status indicator icon.
|
|
</member>
|
|
<member name="tooltip" type="String" setter="set_tooltip" getter="get_tooltip" default="""">
|
|
Status indicator tooltip.
|
|
</member>
|
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
|
If [code]true[/code], the status indicator is visible.
|
|
</member>
|
|
</members>
|
|
<signals>
|
|
<signal name="pressed">
|
|
<param index="0" name="mouse_button" type="int" />
|
|
<param index="1" name="mouse_position" type="Vector2i" />
|
|
<description>
|
|
Emitted when the status indicator is pressed.
|
|
</description>
|
|
</signal>
|
|
</signals>
|
|
</class>
|