EXTENSION
The identifier of the toolbar items.
- Parameter toolbar: The toolbar.
- Returns: The identifiers.
The identifier of the toolbar items.
- Parameter toolbar: The toolbar.
- Returns: The identifiers.
Get the toolbar item with a specific identifier.
- Parameters:
- toolbar: The toolbar.
- itemIdentifier: The toolbar item's identifier.
- flag: Whether it will be inserted into the toolbar.
- Returns: The toolbar item.
Add a toolbar item to the window.
- Parameters:
- widget: The widget.
- label: The label for macOS.
- navigational: Whether it is added to the left of the toolbar.
Add a sidebar to the window.
- Parameter widget: The sidebar's content.
Transform the window into a "simple" window that is not resizable.
- Parameters:
- title: Whether the title is visible on macOS.
- backgroundEffect: Whether the background is blurry on macOS.
Transform a window into a "normal", resizable window.
Remove the blur effect from a window.
Update the window's content.
Add a child to the window's content view.
- Parameter child: The child.
Set the default size of the window.
- Parameters:
- width: The window's width.
- height: The window's height.
Set the window's minimum size for macOS.
- Parameters:
- width: The window's minimum width.
- height: The window's minimum height.
On Linux, the window can shrink to the content's size.
Set the main menu of the window which is visible in the toolbar in GNOME.
- Parameter menu: The main menu.
Present the window.
Close the window.