Custom chrome with Node Webkit?

5 views
Skip to first unread message

Paul Anthony Webb

unread,
May 1, 2014, 12:02:34 PM5/1/14
to node-...@googlegroups.com

Here is what I am aiming to build:


Is this possible to do with Node Webkit? I know I can visit sites, but I want to change the default chrome and add more functionality.

Laszlo Z. Antal

unread,
May 1, 2014, 4:26:25 PM5/1/14
to node-...@googlegroups.com
Hi,
Absolutely. Make nw into a frameless window and add your own frame and other functionality. 

Laszlo

--
You received this message because you are subscribed to the Google Groups "node-webkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-webkit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Paul Anthony Webb

unread,
May 1, 2014, 4:32:31 PM5/1/14
to node-...@googlegroups.com
Forgive my ignorance, but how would I do that? I can find links on my own, but if you have better advice, please let me know. Also, would I actually be able to have multiple tabs with a different webpage in each view like I do in my mockup?

Laszlo Z. Antal

unread,
May 1, 2014, 5:02:13 PM5/1/14
to node-...@googlegroups.com
Hi,

On May 1, 2014, at 13:32, Paul Anthony Webb <dj.w...@gmail.com> wrote:

Forgive my ignorance, but how would I do that? I can find links on my own, but if you have better advice, please let me know. Also, would I actually be able to have multiple tabs with a different webpage in each view like I do in my mockup?

You can find an example of frameless window on the wiki page https://github.com/rogerwang/node-webkit/wiki
NW doesn't have native tabs so you need to roll your own using divs or use any of the implementations out there then just add an iframe I to each to load different webpages. 

Hope it helps

Laszlo

Paul Anthony Webb

unread,
May 1, 2014, 5:07:22 PM5/1/14
to node-...@googlegroups.com
Laszlo, you’ve been a great help. Thanks a lot!

Paul Anthony Webb

You received this message because you are subscribed to a topic in the Google Groups "node-webkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-webkit/n6Gy3obE638/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-webkit...@googlegroups.com.

Frank Hale

unread,
May 1, 2014, 5:14:58 PM5/1/14
to node-...@googlegroups.com
This question got me thinking about minimizing, maximizing and moving of the window if it's frameless. I wanted to find the API's necessary to facilitate that and it took me a few minutes to dig for it. Here it is for those that are keeping score at home:


Paul Anthony Webb

unread,
May 1, 2014, 6:23:39 PM5/1/14
to node-...@googlegroups.com
Haha, thanks Frank!
Reply all
Reply to author
Forward
0 new messages