Re: GTK+ with Broadway

2016-12-05 Thread Daniel Kasak
Yes it is. Do something like:

ssh -C -L 1:127.0.0.1:1 me@remote_broadway_server

I also posted recently on a way to get multiplexed connections and
SSL/TLS termination:
https://tesla.duckdns.org/transparent-proxy-for-broadway-gtk3-html5-backend/

I'm trying to make some time to implement a complete solution, with an
authentication+cookie database and configurable redirection ( ie to
multiple broadway applications ), but free time is hard to come by.

Dan

On Tue, Dec 6, 2016 at 2:01 AM, Igor D  wrote:
> Hi,
>
> Is it possible to forward connection from web browser to Broadway display
> server via SSH ?
>
> Thanks,
> Igor
>
> On Tue, Nov 29, 2016 at 12:15 PM, Daniel Kasak 
> wrote:
>>
>> Unfortunately, no there is no way to do this. *If* copy + paste were
>> implemented between a broadway app and the browser, then you could at
>> least push a link to a file to download into the browser, and the user
>> could copy it and paste it into a new tab. Anyway, copy + paste is not
>> implemented yet ( Hi devs ... if this is easy, it would be pretty
>> damned handy ).
>>
>> I haven't had to do anything like this yet, but if I had to tomorrow,
>> I'd get users to enter an email address in a config screen, and I'd
>> email documents or links to downloads to them. Not ideal, I know.
>>
>> Dan
>>
>> On Tue, Nov 29, 2016 at 7:31 PM, Igor D  wrote:
>> > Hi,
>> >
>> > I'm working with GTK+ via Broadway.
>> > I need to upload and save some file on local computer (which run
>> > browser).
>> > Can I do in this mode that and how ?
>> >
>> > Thanks,
>> > Igor
>> >
>> > On Thu, Oct 13, 2016 at 3:10 PM, Igor D  wrote:
>> >>
>> >> Hi Dan,
>> >>
>> >> I don't need real time graphing or something like that. It should work
>> >> only after triggers from user.
>> >>
>> >> I don't remember exactly which feature was missed. I'll recheck.
>> >>
>> >> Your inputs are optimistic :-)
>> >>
>> >> Thanks a lot for the help.
>> >> Igor
>> >>
>> >>
>> >>
>> >> On Thu, Oct 13, 2016 at 2:04 PM, Daniel Kasak 
>> >> wrote:
>> >>>
>> >>> On Thu, Oct 13, 2016 at 5:31 PM, Igor D  wrote:
>> >>>
>> >>> > Hi,
>> >>> >
>> >>> > Thanks for prompt reply.
>> >>> >
>> >>> > Yes, I have couple of specific concerns:
>> >>> > 1. Performance. I'm not looking for something special but expect
>> >>> > something
>> >>> > reasonable. My few experiments show
>> >>> > that performance may be too low.
>> >>>
>> >>> I haven't seen bad performance in terms of user experience, though I
>> >>> have noticed high CPU usage in the broadwayd process(es). My very
>> >>> rough guess is that you can support somewhere between 2-3 times the
>> >>> number of active users as CPU cores on your system before users start
>> >>> to notice. I've never done any stress-testing to see what exactly
>> >>> would happened if you pushed this limit. I guess if you're trying to
>> >>> deliver to more users than this model supports, you're entering "real"
>> >>> web-app development. Out of interest, what kind of applications are
>> >>> you considering distributing?
>> >>>
>> >>> It will depend a lot on what your app is doing I guess. Real-time
>> >>> graphing or apps where there is constant rendering happening ( eg text
>> >>> flying past in a log viewer ) will consume a lot more CPU than an app
>> >>> that sits still and waits for a user to do something.
>> >>>
>> >>> I've also noticed that broadway gives a much better experience than
>> >>> VNC. VNC is laggy and has rendering glitches. Broadway is pretty
>> >>> impressive under conditions where VNC degrades badly.
>> >>>
>> >>> > 2. Reduced feature set, comparing to GTK without broadway. I found
>> >>> > few
>> >>> > minor
>> >>> > differences but this makes me afraid that it might be more.
>> >>>
>> >>> I haven't noticed any reduced features at all. You may have to set
>> >>> some environment variables to activate things like gtk+ themes and
>> >>> icon packs, but I haven't found anything with broadway that doesn't
>> >>> work as I expect from a regular X11 experience. What differences have
>> >>> you seen? If it's just things like icon packs, it might be worth
>> >>> documenting what's needed to get on-par with X11.
>> >>>
>> >>> Dan
>> >>>
>> >>> >
>> >>> > Thanks,
>> >>> > Igor
>> >>> >
>> >>> > On Thu, Oct 13, 2016 at 1:21 AM, Daniel Kasak
>> >>> > 
>> >>> > wrote:
>> >>> >>
>> >>> >> I've been using it on+off for a couple of years. As far as widget
>> >>> >> toolkit functionality goes, it's a stable platform for me. Security
>> >>> >> is
>> >>> >> not handled by broadway, except for basic password authentication (
>> >>> >> 1
>> >>> >> password per linux user who runs broadway apps ). I posted on this
>> >>> >> topic a little while back:
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> http://tesla.duckdns.org/transparent-proxy-for-broadway-gtk3-html5-backend/
>> >>> >>
>> >>> >> Are you after some 

Re: GTK+ with Broadway

2016-12-05 Thread Igor D
Hi,

Is it possible to forward connection from web browser to Broadway display
server via SSH ?

Thanks,
Igor

On Tue, Nov 29, 2016 at 12:15 PM, Daniel Kasak 
wrote:

> Unfortunately, no there is no way to do this. *If* copy + paste were
> implemented between a broadway app and the browser, then you could at
> least push a link to a file to download into the browser, and the user
> could copy it and paste it into a new tab. Anyway, copy + paste is not
> implemented yet ( Hi devs ... if this is easy, it would be pretty
> damned handy ).
>
> I haven't had to do anything like this yet, but if I had to tomorrow,
> I'd get users to enter an email address in a config screen, and I'd
> email documents or links to downloads to them. Not ideal, I know.
>
> Dan
>
> On Tue, Nov 29, 2016 at 7:31 PM, Igor D  wrote:
> > Hi,
> >
> > I'm working with GTK+ via Broadway.
> > I need to upload and save some file on local computer (which run
> browser).
> > Can I do in this mode that and how ?
> >
> > Thanks,
> > Igor
> >
> > On Thu, Oct 13, 2016 at 3:10 PM, Igor D  wrote:
> >>
> >> Hi Dan,
> >>
> >> I don't need real time graphing or something like that. It should work
> >> only after triggers from user.
> >>
> >> I don't remember exactly which feature was missed. I'll recheck.
> >>
> >> Your inputs are optimistic :-)
> >>
> >> Thanks a lot for the help.
> >> Igor
> >>
> >>
> >>
> >> On Thu, Oct 13, 2016 at 2:04 PM, Daniel Kasak 
> >> wrote:
> >>>
> >>> On Thu, Oct 13, 2016 at 5:31 PM, Igor D  wrote:
> >>>
> >>> > Hi,
> >>> >
> >>> > Thanks for prompt reply.
> >>> >
> >>> > Yes, I have couple of specific concerns:
> >>> > 1. Performance. I'm not looking for something special but expect
> >>> > something
> >>> > reasonable. My few experiments show
> >>> > that performance may be too low.
> >>>
> >>> I haven't seen bad performance in terms of user experience, though I
> >>> have noticed high CPU usage in the broadwayd process(es). My very
> >>> rough guess is that you can support somewhere between 2-3 times the
> >>> number of active users as CPU cores on your system before users start
> >>> to notice. I've never done any stress-testing to see what exactly
> >>> would happened if you pushed this limit. I guess if you're trying to
> >>> deliver to more users than this model supports, you're entering "real"
> >>> web-app development. Out of interest, what kind of applications are
> >>> you considering distributing?
> >>>
> >>> It will depend a lot on what your app is doing I guess. Real-time
> >>> graphing or apps where there is constant rendering happening ( eg text
> >>> flying past in a log viewer ) will consume a lot more CPU than an app
> >>> that sits still and waits for a user to do something.
> >>>
> >>> I've also noticed that broadway gives a much better experience than
> >>> VNC. VNC is laggy and has rendering glitches. Broadway is pretty
> >>> impressive under conditions where VNC degrades badly.
> >>>
> >>> > 2. Reduced feature set, comparing to GTK without broadway. I found
> few
> >>> > minor
> >>> > differences but this makes me afraid that it might be more.
> >>>
> >>> I haven't noticed any reduced features at all. You may have to set
> >>> some environment variables to activate things like gtk+ themes and
> >>> icon packs, but I haven't found anything with broadway that doesn't
> >>> work as I expect from a regular X11 experience. What differences have
> >>> you seen? If it's just things like icon packs, it might be worth
> >>> documenting what's needed to get on-par with X11.
> >>>
> >>> Dan
> >>>
> >>> >
> >>> > Thanks,
> >>> > Igor
> >>> >
> >>> > On Thu, Oct 13, 2016 at 1:21 AM, Daniel Kasak <
> d.j.kasak...@gmail.com>
> >>> > wrote:
> >>> >>
> >>> >> I've been using it on+off for a couple of years. As far as widget
> >>> >> toolkit functionality goes, it's a stable platform for me. Security
> is
> >>> >> not handled by broadway, except for basic password authentication (
> 1
> >>> >> password per linux user who runs broadway apps ). I posted on this
> >>> >> topic a little while back:
> >>> >>
> >>> >>
> >>> >> http://tesla.duckdns.org/transparent-proxy-for-
> broadway-gtk3-html5-backend/
> >>> >>
> >>> >> Are you after some info in particular?
> >>> >>
> >>> >> Dan
> >>> >>
> >>> >> On Thu, Oct 13, 2016 at 5:49 AM, Igor D  wrote:
> >>> >> > Hi,
> >>> >> >
> >>> >> > I wonder if someone have practical experience with GTK+ with
> >>> >> > Broadway.
> >>> >> > I'll be glad to have feedback.
> >>> >> >
> >>> >> > Thanks
> >>> >> > Igor
> >>> >> >
> >>> >> > ___
> >>> >> > gtk-list mailing list
> >>> >> > gtk-list@gnome.org
> >>> >> > https://mail.gnome.org/mailman/listinfo/gtk-list
> >>> >> >
> >>> >
> >>> >
> >>
> >>
> >
> >
> > ___
> > gtk-list mailing list
> > gtk-list@gnome.org
> > 

Re: Don’t make gtk fallen in the windows world

2016-12-05 Thread Cong Monkey
It's not the trouble about pygtk or pygobject,  it does not matter!
anything usable is OK!

The real problem is that there is no clear guide about how to make a
workable environment on windows and the right way to deploy to end user!

The non official way is neither out of date or not complete! This make the
developer escape!

We need official guideline and umbrella to make GTK and GTK python binding
on windows related work possible and upstream!

The more bad part is that the non official way is even close source!  make
improve impossible!

2016年12月5日 15:57,"Christoph Reiter" 写道:

> On Mon, Dec 5, 2016 at 4:24 AM, Cong Monkey  wrote:
> > Hi Devs,
> >
> > I am try to find the guidelines how to use pygtk on windows.
> >
> > The real sad part is that I even can not find the official way to
> > install, and the other guys advice does not use gtk on windows
> absolutely!
> >
> >  I love gnome, gtk, and Python, when I try to develop a gui app on
> > windows, I want to use pygtk which advise instecption base solution!
> >
> >  Can anyone try and write a guide for this purpose, and even Is that
> > possible?
>
> https://pygobject.readthedocs.io/en/latest/getting_started.html
>
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list