io.qt.macextras.QtMac Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-macextras Show documentation
Show all versions of qtjambi-macextras Show documentation
Provides platform-specific APIs for macOS.
The newest version!
package io.qt.macextras;
import io.qt.*;
/**
* Contains miscellaneous functionality specific to the macOS and iOS operating systems
* Java wrapper for Qt header file QtMac
* @since This class was introduced in Qt 5.2.
*/
public final class QtMac
{
static {
QtJambi_LibraryUtilities.initialize();
}
private QtMac() throws java.lang.InstantiationError { throw new java.lang.InstantiationError("Cannot instantiate namespace QtMac."); }
/**
*
* @return
*/
public native static java.lang.@NonNull String badgeLabelText();
/**
*
* @param window
* @return
*/
public static boolean isMainWindow(io.qt.gui.@Nullable QWindow window){
return isMainWindow_native_QWindow_ptr(QtJambi_LibraryUtilities.internal.checkedNativeId(window));
}
private native static boolean isMainWindow_native_QWindow_ptr(long window);
/**
*
* @param text
*/
public native static void setBadgeLabelText(java.lang.@NonNull String text);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy