vue-nodegui icon indicating copy to clipboard operation
vue-nodegui copied to clipboard

VNWindow plans

Open gregpalaci opened this issue 3 years ago • 1 comments

Sorry to bother again I wanted to clarify I was reading https://github.com/nodegui/vue-nodegui/blob/master/src/widgets/Window/VNWindow.ts is there plans / needed help to port all the functions of QMainWindow in the future. It says right now "You would not be using this widget in your app." I'm making use of it with the react nodegui (for fun) to create systemtray icons, detect the close event, set the title etc. Happy to try helping with porting the functionality but I'm a bit new to TypeScript.

gregpalaci avatar Sep 17 '20 09:09 gregpalaci

Currently, the renderer automatically creates the window and renders the app inside that window. To make it more like react-nodegui (allowing systemtray icons, etc) we would need to implement more props for the VNWindow widget. Once that's done, the user will be able to use <vn-window> as a component in their code.

If you're interested in trying to implement, you can take a look at the other widgets as an example (VNView or VNText) 🙂

shubhamzanwar avatar Sep 18 '20 02:09 shubhamzanwar