menu

NodeGui

A library for building cross-platform native desktop applications with Node.js and CSS.

Channels
Team

NodeGUI watercooler

September 1, 2019 at 8:40am
Show previous messages

October 11, 2019 at 2:48pm
Realise I'd likely want to write straight to the framebuffer, like you can with Qt
  • reply
  • like
But if that's not possible, programatically setting it with something along the lines of:
Mainwindow w;
w.setWindowState(Qt::WindowMaximized);
w.show();
  • reply
  • like

October 14, 2019 at 8:39am
But if that's not possible, programatically setting it with something along the lines of:
Mainwindow w;
w.setWindowState(Qt::WindowMaximized);
w.show();
Hi You can already do this using
import { QMainWindow, WindowState } from '@nodegui/nodegui';
const win = new QMainWindow();
win.setWindowState(WindowState.WindowMaximized);
win.show();
Edited
  • reply
  • like

October 28, 2019 at 7:35am
, I'd like to contribute to help filling up the Handle events page, where should I start?
like-fill
1
  • reply
  • like
, I'd like to contribute to help filling up the Handle events page, where should I start?
Awesome! The documentation lives in the same repo as the project. The guides can be accessed here: https://github.com/nodegui/nodegui/tree/master/website/docs/guides They are all just mark down files. And NodeGui is using docusauraus.
like-fill
1
  • reply
  • like
Great, regarding the event list, I guess I can find it on the Qt Event System docsite right?
  • reply
  • like
Great, regarding the event list, I guess I can find it on the Qt Event System docsite right?
Yes, NodeGui supports all events from Qt.So that you can get from Qt's docs or from here: https://github.com/nodegui/nodegui/blob/576ba1ace6e6e67bd65889303c9f1909249cce31/src/lib/core/EventWidget/index.ts#L40. Apart from regular events, Qt also has a concept of signals. So NodeGui also adds support for some signals. signals need to be manually exported out. So those you can find in each widget's source code ( I think those should live with each widget's doc). Since JS has only the concept of events. I merged Qt's events and Qt's signals into one in NodeGui.
  • reply
  • like
Yes, NodeGui supports all events from Qt.So that you can get from Qt's docs or from here: https://github.com/nodegui/nodegui/blob/576ba1ace6e6e67bd65889303c9f1909249cce31/src/lib/core/EventWidget/index.ts#L40. Apart from regular events, Qt also has a concept of signals. So NodeGui also adds support for some signals. signals need to be manually exported out. So those you can find in each widget's source code ( I think those should live with each widget's doc). Since JS has only the concept of events. I merged Qt's events and Qt's signals into one in NodeGui.
Let me know if you need more clarification.
  • reply
  • like
Thanks!
  • reply
  • like