www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - GUI question

reply "Miguel Ferreira Simões" <Kobold netcabo.pt> writes:
I have to create an graphical user interface for a project.
What is the best and most updated (dmd 1.06) GUI project thast exists?

Is undig still working with the current compile version? Shall I go with 
undig or is it
an "deprecated" project?

As far as I know DUI needs gtk+ libs, what installer version for windows 
should i try?

Thanks,

-- 
Miguel Ferreira Simoes 
Nov 19 2004
next sibling parent reply Ant <Ant_member pathlink.com> writes:
In article <cnli8b$mmp$1 digitaldaemon.com>, Miguel Ferreira Simões says...
I have to create an graphical user interface for a project.
What is the best and most updated (dmd 1.06) GUI project thast exists?

Is undig still working with the current compile version? Shall I go with 
undig or is it
an "deprecated" project?

As far as I know DUI needs gtk+ libs, what installer version for windows 
should i try?

Thanks,
Any installer should be OK. Next DUI release (today or tomorrow) uses 2.4.10 (any 2.4.x should work). remember that to compile programs you need to generate the import libs with implib from DM. for ancient instructions go to http://dui.sourceforge.net/duiWindows.html I'll release a full windows installer for DUI plus GTK+ and import libs and every thing that's required to compile and run DUI programs tonight or tomorrow. I will do it even if not perfect. The installer will be low quality but if installation is sucessfull all should work from there - specially if the default options are used. That should at least make DUI compatible with dmd 0.106. The installer include the windows theme that will make Gtk programs look and feel like native windows programs (2000 and XP supported), including font and font size and background color, but that theme not perfect yet. there is no special strategy to deploy DUI programs - the executable should work on any system with Gtk+. I'll release the linux version the day after. (I don't see necessary to have an installer for linux) to help you on the decision here are the major issues with DUI on windows: - ComboBox is not fully functional (can't set the current value programitically) - Can't display images on TreeView (and Lists) (but buttons are ok on lists) - doesn't support Drag and Drop yet - doesn't support multithreads (This is true for D threads and Gtk threads, the thread will start but sooner or later will segfault somewhere) I never had a bad feedback from people that are able to use DUI. Ant PS So if buttons are ok on lists then should be able to show an image with an Image Widget! Trees and List are the same Widget, I guess it can be done just can't use the CellRendererPixbuf. I'll try that.
Nov 19 2004
parent "Miguel Ferreira Simões" <Kobold netcabo.pt> writes:
Thanks!

I will forget undig... and I will wait for your DUI + installer. 
Nov 19 2004
prev sibling parent J C Calvarese <jcc7 cox.net> writes:
In article <cnli8b$mmp$1 digitaldaemon.com>, Miguel Ferreira Simões says...
I have to create an graphical user interface for a project.
What is the best and most updated (dmd 1.06) GUI project thast exists?
Since you didn't mention an OS (and you posted using Microsoft Outlook Express), I'll assume your target platform is Windows. DUI is the only option for Linux as far as I know. I don't think D has "one GUI to rule them all" yet, but I like DFC a lot: http://www.dprogramming.com/dfl.php Also, I know Stewart is still working on his SDWF project, but I guess you'll need to revert to DMD 0.105 to use the latest version: http://smjg.port5.com/pr/d/sdwf/ One thing to watch for is that not every GUI library has the same control. I think DFL and SDWF both offer the most common controls, but I'm not sure if they have all of the fancier controls (e.g. treeview, listview, sliders, owner-drawn controls, etc.). You'll probably want to check that they have the all of the controls that you need before you get too far. I guess we could use this page to wiki-ize more of this info: http://www.prowiki.org/wiki4d/wiki.cgi?AvailableGuiLibraries
Is undig still working with the current compile version? Shall I go with 
undig or is it
an "deprecated" project?
Undig isn't working right now. It has some runtime error that prevent the samples from running. I wouldn't advice waiting for it to be fixed. :(
As far as I know DUI needs gtk+ libs, what installer version for windows 
should i try?
I'll let Ant answer that one.
Thanks,

-- 
Miguel Ferreira Simoes 
jcc7
Nov 19 2004