I want not native look application therefore my question is, can I use wxWebView for whole GUI? Then I write gui only in Html/CSS and maybe JS. It is possible?
And can I manipulate from C++ something inside wxWebView? For example moving rectangle, or anything inside wxWebView.
wxWebView as GUI for application / program ?
Re: wxWebView as GUI for application / program ?
It may be possible, but i think it would be unnecessarily complicated. If you want to build an app using HTML/CSS/JS, i would suggest something like electron: https://electron.atom.io/
Use the source, Luke!
Re: wxWebView as GUI for application / program ?
Thanks for info, I know about Electron, but I looking for C++ solution. C++ can be used in electron but I it is maybe too complicated. But I found webtoolkit which is tools for creating web apps with C++. It is look like only web, that means you run program throught web browser. What you think about this combination wxWidget as window system to display webBrowser and WT as whole program?
If you want more info about wt
If you want more info about wt
Re: wxWebView as GUI for application / program ?
Interesting, i didn't know about webtoolkit. Unfortunately its license makes it unsuitable for my purposes.
But if i understood its concept correctly, i don't know why you'd need wxWidgets at all.
But if i understood its concept correctly, i don't know why you'd need wxWidgets at all.
Use the source, Luke!
Re: wxWebView as GUI for application / program ?
Because WT don't have window system (I didn't find any mention about windowing in documentation), only in browser. And I want my application run in window, and wxWidget can do that.
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxWebView as GUI for application / program ?
How does WT interact with browser? Does it act as a server? Knowing how it interacts with other browsers will help us figure out how to help with wxWidgets case.Obelix wrote:Because WT don't have window system (I didn't find any mention about windowing in documentation), only in browser. And I want my application run in window, and wxWidget can do that.
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxWebView as GUI for application / program ?
I don't tried WT yet.evstevemd wrote: How does WT interact with browser?
From their website info, yes.evstevemd wrote: Does it act as a server?
- evstevemd
- Part Of The Furniture
- Posts: 2409
- Joined: Wed Jan 28, 2009 11:57 am
- Location: United Republic of Tanzania
Re: wxWebView as GUI for application / program ?
In that case it should be easy. You will have to compile your WT app as separate executable full with dependencies. Then you will have your Main UI written in wxWidgets with two partsObelix wrote:From their website info, yes.evstevemd wrote: Does it act as a server?
1. The Part that manages the WT app. wxWidgets profiles a lot of classes for that. Check out wxExecute function with wxProcess class
2. The main UI that consists of your web browser app (wxWebView) that loads wxWebView to port and IP that WT app was strated.
Starting with such basic app, you can expand it as you wish.
HTH
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
Re: wxWebView as GUI for application / program ?
Thanks, I started learning wxWidgets.