@ran-j/qdesktopwidget
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

QDesktopWidget

This is a wrap of QDesktopWidget for Nodegui

Start with demo.ts to understand how it all works.

Install

    npm install @ran-j/qdesktopwidget

Usage

    import { QDesktopWidget } from "./index";

    const desktop = new QDesktopWidget();

    const availableGeometry = desktop.availableGeometry()
    const screenGeometry = desktop.screenGeometry()

    console.log(availableGeometry.width() + "x"+ availableGeometry.height())
    console.log(screenGeometry.width() + "x"+ screenGeometry.height())
    console.log(desktop.screenNumber())

/@ran-j/qdesktopwidget/

    Package Sidebar

    Install

    npm i @ran-j/qdesktopwidget

    Weekly Downloads

    0

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    12.7 kB

    Total Files

    22

    Last publish

    Collaborators

    • ran-j