XUIApp
Inherits DesktopApplication
Implements XUINotificationListener
Description
This is a drop in replacement for the standard DesktopApplication
object in your project. For maximum
utility you should change the subclass of your App
object in the Xojo navigator to XUIApp
. The class adds
a number of convenience features such as in-app notifications when the OS appearance changes.
Properties
Name | Type | Read-Only |
---|---|---|
mSemanticVersion | XUISemanticVersion |
|
SemanticVersion | XUISemanticVersion |
✔ |
Methods
Name | Parameters | Returns |
---|---|---|
NotificationReceived | n As XUINotification |
Events
Name | Parameters | Returns |
---|---|---|
AppearanceChanged | ||
NotificationReceived | n As XUINotification |
|
Opening |
Constants
Name | Type |
---|---|
NOTIFICATION_APPEARANCE_CHANGED | String |
NOTIFICATION_APPEARANCE_CHANGED As String The OS has switched between light and dark mode or the accent colour has changed.
Property Descriptions
mSemanticVersion As XUISemanticVersion
Backing field for SemanticVersion
.
SemanticVersion As XUISemanticVersion
The application's version.
Method Descriptions
NotificationReceived(n As XUINotification)
Part of the XUINotificationListener interface.
Event Descriptions
AppearanceChanged() Called when a user switches between light and dark mode or when the accent color changes.
NotificationReceived(n As XUINotification) The app has received a notification.
Opening()
The app is opening.
The Opening
event is the first event called when your app starts.
The Activated
event is called after the Opening
event.