LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-28-2003, 05:27 PM   #1
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Rep: Reputation: 30
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
 
Old 09-28-2003, 05:45 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
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.
 
Old 09-28-2003, 08:26 PM   #3
antken
Member
 
Registered: Nov 2000
Location: england
Distribution: latest Mandrake
Posts: 368

Original Poster
Rep: Reputation: 30
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
 
Old 09-28-2003, 10:49 PM   #4
speter
Member
 
Registered: Sep 2003
Location: Edison, NJ
Distribution: Fedora, Mac OS X
Posts: 313

Rep: Reputation: 30
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
 
Old 09-29-2003, 02:40 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
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....
 
Old 09-29-2003, 01:48 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dialog box help!!!!!!!! HopelessLinuxNewbie Fedora 1 08-24-2005 11:48 AM
problem transfering result of search to a dialog box JoannesX Programming 3 02-07-2005 05:59 AM
how to enable acpi in suse 9 using Klaptop dialog box biotek1 Linux - Software 2 01-25-2004 11:56 PM
Dialog box scripting.... r_jensen11 Programming 2 01-25-2004 06:40 PM
How to get Open-With dialog box back again? AskMe Linux - Newbie 2 10-25-2003 11:13 AM


All times are GMT -5. The time now is 11:52 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration