1. getting started with GUI

I know there are several GUI toolkits available for Eu4, I'm looking for the one which has the lowest learning curve (ideally cross-platform). Any recommendations? I used to use EuWinGui but I don't think it works any more with Eu4. Thanks.

new topic     » topic index » view message » categorize

2. Re: getting started with GUI

rationalgambler said...

I know there are several GUI toolkits available for Eu4, I'm looking for the one which has the lowest learning curve (ideally cross-platform). Any recommendations? I used to use EuWinGui but I don't think it works any more with Eu4. Thanks.

It works fine with a little tweaking. http://openeuphoria.org/forum/113579.wc#113579

edit: You can get a fully tweaked version here: http://www.RapidEuphoria.com/euwingui2.zip http://www.RapidEuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=euwingui+chrisburch3

new topic     » goto parent     » topic index » view message » categorize

3. Re: getting started with GUI

Thanks Jim. Others I know about are Irv's EuGTK and wxEuphoria. I seem to remember there's at least one other, but I've forgotten the name of it. The thing I like about EuWinGui is that it doesn't involve callbacks, although it's a bit limited in terms of what you can actually make.

new topic     » goto parent     » topic index » view message » categorize

4. Re: getting started with GUI

The IUP library is cross platform and simple to use.

The JAPI library is cross platform and maybe the easiest to use. If you happen to have Java installed, then this library lets you use the old Java gui api. Its fun to try out but not for everyone.

Use "IUP" and "JAPI" keywords at The Archive .

new topic     » goto parent     » topic index » view message » categorize

5. Re: getting started with GUI

rationalgambler said...

I know there are several GUI toolkits available for Eu4, I'm looking for the one which has the lowest learning curve (ideally cross-platform). Any recommendations? I used to use EuWinGui but I don't think it works any more with Eu4. Thanks.

I would recommend wxEuphoria. Matt even wrote an IDE, which you'll find under Applications.

-Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: getting started with GUI

If you are comfortable with EuWinGui then try the updated tinewg:

http://openeuphoria.org/forum/m/121901.wc

http://euphoria.indonesianet.de/

new topic     » goto parent     » topic index » view message » categorize

7. Re: getting started with GUI

Hi

EuWinGui is a great 'starter' GUI, and very good for whipping up quick and dirty apps up. It does work with eu4, I've resolved a bug where it crashes on opening a new project, and am in the process of adding registry support so that is knows where it lives, and can open previous projects.

There are undoubtedly 'better' more comprehensive GUI designers and toolkits out there, but for simplicity, IMHO, nothing beats it.

Arwen is a close second, but it has no designer, which is its downfall.

IUP has a different look and feel to the finished projects. Again no designer, but is cross platform.

Win32 libs IDE was the best windows designer, but hasn't been updated for a while now, has issues with manifests on XP, and I suspect may have problems on later windows, but haven't used it recently so can't confirm that, and in any case is being eclipsed wxEu. Also cross platform.

If you haven't written eu programs before, seriously, start with some console programs - programming controls can be a headache in itself. A great place to start would be converting some old basic programs, check out the wumpus gane that I converted form the Atari Basic website (search this forum for the wumpus)

Chris

new topic     » goto parent     » topic index » view message » categorize

8. Re: getting started with GUI

Thanks for all the great feedback guys.

I've actually been using euphoria since 2000, but infrequently (that's one reason why I like it - easy to pick up again after an absence).

I think I'll probably stick with EuWinGUI because I don't need anything too sophisticated. Pity there isn't a Linux version (EuLinGUI?) because that's my OS of choice these days, but it runs fine using Wine.

Thanks again.

new topic     » goto parent     » topic index » view message » categorize

9. Re: getting started with GUI

One more choice is the Euphoria TCL wrapper by Leonardo Cecchi written for Euphoria 3.

http://leonardoce.interfree.it/eutcl/index.html

To make this work on oEu4:

  • edit the include module to change routine to Routine (since this is now a reserved keyword)
  • I had to update constant TK_LIB={ "libtk8.5.so.0", $ ) and constant TCL_LIB={ "libtcl8.5.so.0", $ ) to point to the current versons of tk/tcl
new topic     » goto parent     » topic index » view message » categorize

10. Re: getting started with GUI

ChrisB said...

Arwen is a close second, but it has no designer.

There is Edita/Tools/Window Painter, not that it is very sophisticated.

Pete

new topic     » goto parent     » topic index » view message » categorize

11. Re: getting started with GUI

rationalgambler said...

Thanks for all the great feedback guys.

I've actually been using euphoria since 2000, but infrequently (that's one reason why I like it - easy to pick up again after an absence).

I think I'll probably stick with EuWinGUI because I don't need anything too sophisticated. Pity there isn't a Linux version (EuLinGUI?) because that's my OS of choice these days, but it runs fine using Wine.

Thanks again.

tinEWG works at least for me, on Slackware 14.0 with Wine. Maybe you give it a try. As i wrote it (tinEWG),
there is one advantage, tinEWG is not based on a closed source dll. and it is mostly compatible to EuWinGui
You may download it from
http://euphoria.indonesianet.de/
or from BitBucket https://bitbucket.org/andiwagner/tinewg
Andreas

new topic     » goto parent     » topic index » view message » categorize

12. Re: getting started with GUI

I'm working on a GUI library: Fluid Application Environment. It isn't quite ready to be released yet, but it will be soon. It currently works on Windows, but I'm planning to get it working on Linux too. If anyone wants to chat about it, I have a channel on irc://irc.freenode.net/#fluidae .

new topic     » goto parent     » topic index » view message » categorize

13. Re: getting started with GUI

rationalgambler said...

I think I'll probably stick with EuWinGUI because I don't need anything too sophisticated. Pity there isn't a Linux version (EuLinGUI?) because that's my OS of choice these days, but it runs fine using Wine.

Thanks again.

Well, if you are using Linux, then why not use EuGTK?

AFAIK, it is the most complete package, up to date with GTK 3.8 or perhaps 3.10, when distros start shipping with 3.10.

When you use GTK, you don't need a designer. GTK handles the layout and sizing for you.

The newest 2 versions are posted here: https://sites.google.com/site/euphoriagtk/Home

I re-wrote the library in July to clean up a lot of messy code, and as far as my tests can tell, everything works.

Edit: BTW: it comes with documentation and over demo programs.

new topic     » goto parent     » topic index » view message » categorize

14. Re: getting started with GUI

I started a wiki page for links to the various GUI libraries:

http://openeuphoria.org/wiki/view/Starting%20Euphoria%20Gui%20Programming.wc

I also borrowed some screen grabs from Irv's EuGtk and placed them on this page

( EuGTK recommended for both Windows and Linux users... )

TOM

new topic     » goto parent     » topic index » view message » categorize

15. Re: getting started with GUI

irv said...
rationalgambler said...

I think I'll probably stick with EuWinGUI because I don't need anything too sophisticated. Pity there isn't a Linux version (EuLinGUI?) because that's my OS of choice these days, but it runs fine using Wine.

Thanks again.

Well, if you are using Linux, then why not use EuGTK?

AFAIK, it is the most complete package, up to date with GTK 3.8 or perhaps 3.10, when distros start shipping with 3.10.

When you use GTK, you don't need a designer. GTK handles the layout and sizing for you.

The newest 2 versions are posted here: https://sites.google.com/site/euphoriagtk/Home

I re-wrote the library in July to clean up a lot of messy code, and as far as my tests can tell, everything works.

Edit: BTW: it comes with documentation and over demo programs.

It's not too difficult to wrap EuWinGUI around EuGTK, in fact.

I've set up a basic proof-of-concept here: http://openeuphoria.org/eubins/misc/eulingui.zip

I haven't finished porting everything over, but enough functionality is implemented to run most of the simple demos, like TwoButtons or TwoWindows.

Some caveats:

I did this very q&d. There are some hacks that could have been done much better (such as using pushbuttons for clickable labels, when a label inside of a GtkBin or a GtkFrame would have looked better).

I did this on a box that happened to only have GTK 2 on it, so I used an older version of EuGTK (included) instead of the latest. (I also had to make a couple of bugfixes to that version of EuGTK itself.) If someone was interested, making this work with the latest EuGTK and GTK 3 should be a trivial task. (I could have just installed GTK 3, but that's not fitting with the q&d mindset IMVHO.)

I have no intention of implementing any of the printer routines. GTK supports them, but I simply can't be bothered.

A few routines (mainly the ones related to Message) are probably too specific to the Windoze implementation to be worth porting. (Getting this to work is probably approaching the level of implementing the innards of Wine itself.)

Although I coded it so on Windoze this would still run using the original code and dll, I haven't tested it (nor am I much interested in reports or bugfixes for this).

If you're writing something from scratch (as opposed to porting an existing and very large codebase built on top of EuWinGUI), you're better using EuGTK directly. The design philosophies of the two libraries are very different, but EuWinGUI can only do a subset of what EuGTK does (as demonstrated by the fact that EuGTK can be used to emulate it).

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu