LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Creating an x windows dialog box (https://www.linuxquestions.org/questions/programming-9/creating-an-x-windows-dialog-box-97984/)

antken 09-28-2003 05:27 PM

Creating an x windows dialog box
 
hi,

i am trying to create a dialog box in xwindows, i have no experience of this what so ever and basically i am starting out.

is there a guide/how-to availible on creating a window in X?

thanks
ant

Mara 09-28-2003 05:45 PM

You can't make a dialog box with 'pure' X. It is possible, but it's rather a hard thing. There are libraries allowing to make it really easy, plus programs allowing you to draw your dialog boxes (the program writes the code for you). I recommend QT Designer for QT and glade for GTK. They're included in Mandrake, but you may not have them installed.

antken 09-28-2003 08:26 PM

thanks,

the QT and gtk thing are kind of what i meant, sorry i did not make my question clear.

i never new there was an 'X' language though !

thanks i will look into the qt and GTK ones. i have found jumping straght in is the best way to learn things ( at least for me anyway :) ), do you have any examples of QT or GTK?

i presume that QT and GTK are like a shell script and require an interpreter?

thanks

antken

speter 09-28-2003 10:49 PM

You'll probably want to look into documentation as well. The online QT docs are quite good, plus there is Dahlheimer's book from O'Reilly. For GTK, I liked Pennington's book from New Riders (both of which seem to be out of stock at Bookpool, but you can find them somewhere).

Steve

acid_kewpie 09-29-2003 02:40 AM

QT (yuck) and GTK (mmmmmm) are not languages, they are libraries which are used via a number of conventional programming lanuages, C, perl, c++, python etc....

Mara 09-29-2003 01:48 PM

Quote:

Originally posted by antken

thanks i will look into the qt and GTK ones. i have found jumping straght in is the best way to learn things ( at least for me anyway :) ), do you have any examples of QT or GTK?

Examples (and more things) should be in their 'devel' packages. But I recommend to try examples from manuals/documentation, first. They're smaller and easier to understand.


All times are GMT -5. The time now is 02:39 AM.