News for hackers. Stuff that matters.
Re:Using Gooey as a Universal Front End for Any Language or ... by qwerty456127 on Sunday September 22, 2019 @05:18PM (#21044026)
Looks extremely cool. I used to enjoyed developing GUIs with WinForms but now as this technology is obsolete and no relevant replacement is available (both web-UIs and Qt are too complex and WPF is Windows-only) this seems extremely attractive. Can it also display progress and output data (a matplotlib plot and/or a data table)?
Re:Using Gooey as a Universal Front End for Any Language or ... by goostavos on Sunday September 22, 2019 @05:38PM (#21044123)
Yep! ^_^

When you're setting up Gooey, you can tell it what kind of output track in stdout, and how to interpret that as progress. We've got a few examples in this repo: https://github.com/chriskiehl/GooeyExamples/tree/master/exam...

Matplotlib works a-ok as well!

Re:Using Gooey as a Universal Front End for Any Language or ... by qwerty456127 on Sunday September 22, 2019 @05:50PM (#21044195)
Cool! Can it also let the user to send the result to a printer (I personally am interested the PDF virtual printer) or save it to a text file (if it's text)?
Re:Using Gooey as a Universal Front End for Any Language or ... by goostavos on Sunday September 22, 2019 @07:28PM (#21044656)
Not currently. However, the last release did just add a menu system, which would be a nice candidate for these kinds of IO behaviors!

If you're interested, do you want to open a feature request here? https://github.com/chriskiehl/Gooey/issues

Re:Using Gooey as a Universal Front End for Any Language or ... by mathiasrw on Sunday September 22, 2019 @10:12PM (#21045422)
Re:Using Gooey as a Universal Front End for Any Language or ... by wastedhours on Monday September 23, 2019 @09:39AM (#21048802)
Are there examples on other operating systems?
Re:Using Gooey as a Universal Front End for Any Language or ... by starik36 on Sunday September 22, 2019 @08:51PM (#21045093)
WinForms are actually back from the dead. They are part of .NET Core 3, coming this week.
Re:Using Gooey as a Universal Front End for Any Language or ... by suby on Sunday September 22, 2019 @09:42PM (#21045281)
If it's in .NET core, does this mean that WinForms will become cross platform (without having to use Mono)?
Re:Using Gooey as a Universal Front End for Any Language or ... by nitemice on Sunday September 22, 2019 @09:47PM (#21045298)
Looks line no, unfortunately

> To be clear, the Windows Desktop component is only supported and included on Windows.

https://docs.microsoft.com/en-us/dotnet/core/whats-new/dotne...

Re:Using Gooey as a Universal Front End for Any Language or ... by tasogare on Monday September 23, 2019 @03:32AM (#21046685)
If only Microsoft cared to listen feedback a bit... the lack of a cross-platform UI (which existed for a while with Silverlight) is what is dragging back the whole .net ecosystem from wider adoption.
Re:Using Gooey as a Universal Front End for Any Language or ... by oldmanhorton on Sunday September 22, 2019 @09:48PM (#21045302)
Unfortunately no, though I believe there are other attempts at cross platform GUIs whose names I can't remember at the moment...
Re:Using Gooey as a Universal Front End for Any Language or ... by vimslayer on Monday September 23, 2019 @03:00AM (#21046548)
Re:Using Gooey as a Universal Front End for Any Language or ... by pknopf on Monday September 23, 2019 @10:20AM (#21049155)
Re:Using Gooey as a Universal Front End for Any Language or ... by JCoder58 on Sunday September 22, 2019 @07:10PM (#21044573)
If you like WinForms, take a look at Eto (https://github.com/picoe/Eto)

"This framework can be used to build applications that run across multiple platforms using their native toolkit, with an easy to use API. This will make your applications look and work as a native application on all platforms, using a single UI codebase."

Re:Using Gooey as a Universal Front End for Any Language or ... by qwerty456127 on Sunday September 22, 2019 @08:33PM (#21045012)
Thank you, I'll take a look, but it hardly is a real replacement. Honestly, I liked WinForms because it had a visual designer where I could just paint the UI with a mouse, click a button and code what's going to happen when it's clicked. Nevertheless anything like WinForms probably is easier than web-based UIs, even if it lacks a visual designer. However, one should probably prefer Avalonia (a cross-platform WPF-like .Net UI toolkit) if going this way.
Re:Using Gooey as a Universal Front End for Any Language or ... by w1nst0nsm1th on Monday September 23, 2019 @02:48AM (#21046488)
It remind me SWT in Java. It used native graphical window management when the web was still not a thing. I made one of school project with it...
Re:Using Gooey as a Universal Front End for Any Language or ... by foxylad on Sunday September 22, 2019 @11:53PM (#21045795)
How does Eto compare to the very mature wxWidgets?