All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.macextras.QtMac Maven / Gradle / Ivy

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."); } /** *

See QtMac::badgeLabelText()

* @return */ public native static java.lang.@NonNull String badgeLabelText(); /** *

See QtMac::isMainWindow(QWindow*)

* @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); /** *

See QtMac::setBadgeLabelText(QString)

* @param text */ public native static void setBadgeLabelText(java.lang.@NonNull String text); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy