SdlTrayEntryPointerEx extension

on

Methods

click() → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Simulate a click on a tray entry.
createSubmenu() Pointer<SdlTrayMenu> tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Create a submenu for a system tray entry.
getChecked() bool tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Gets whether or not an entry is checked.
getEnabled() bool tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Gets whether or not an entry is enabled.
getLabel() String? tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Gets the label of an entry.
getParent() Pointer<SdlTrayMenu> tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Gets the menu containing a certain tray entry.
getSubmenu() Pointer<SdlTrayMenu> tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Gets a previously created tray entry submenu.
remove() → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Removes a tray entry.
setCallback(Pointer<NativeFunction<SdlTrayCallback>> callback, Pointer<Void> userdata) → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Sets a callback to be invoked when the entry is selected.
setChecked(bool checked) → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Sets whether or not an entry is checked.
setEnabled(bool enabled) → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Sets whether or not an entry is enabled.
setLabel(String? label) → void tray

Available on Pointer<SdlTrayEntry>, provided by the SdlTrayEntryPointerEx extension

Sets the label of an entry.