GUI without GTK - Is it possible?


 
Thread Tools Search this Thread
Top Forums Programming GUI without GTK - Is it possible?
# 1  
Old 04-10-2007
GUI without GTK - Is it possible?

Is GUI programming without GTK possible? If so, how? Or what libraries should I #include? Google seems to tell me that GUI programming in C++ is much more popular then in C. I'm assuming because of the Object Orientedness (if that is even a word)?

Before you say things like "Search the forums", I know there have been threads on GUI programming before, but this focuses on without using GTK. Even if I lose features, I don't plan on using GUI programming that much.
# 2  
Old 04-11-2007
Is this page useful?

http://www.geocities.com/SiliconVall...4/guitool.html

I had a taste of Qt some time ago. The main concern is whether you want cross-platform: Qt and GTK+ has pretty high platform independence. I have seen people using FLTK too.
# 3  
Old 04-11-2007
# 4  
Old 04-24-2007
Quote:
Originally Posted by Octal
Is GUI programming without GTK possible? If so, how? Or what libraries should I #include? Google seems to tell me that GUI programming in C++ is much more popular then in C. I'm assuming because of the Object Orientedness (if that is even a word)?

Before you say things like "Search the forums", I know there have been threads on GUI programming before, but this focuses on without using GTK. Even if I lose features, I don't plan on using GUI programming that much.
You can use "curses.h" to create some level of GUI. Not sure if thats what you meant.
# 5  
Old 04-25-2007
Quote:
Originally Posted by Deal_NoDeal
You can use "curses.h" to create some level of GUI. Not sure if thats what you meant.
curses.h is pretty cool; not exactly what I was looking for, but cool.
# 6  
Old 04-25-2007
[QUOTE=Octal]Is GUI programming without GTK possible? If so, how?[QUOTE]

#include <X11/Intrinsics.h>

and use the Widgets. Smilie

GUI on Unix is normally done with X11, this is a layered architecture with Xlib at the bottem, which gives you a raw C api to the protocol, then Intrinisics which give you Widgets which are basically object orientated constructs supporting windowing on X11. Start with 'man XtCreateWidget'.

If you want a comparison using Xlib and Intrinsics is comparable to using the Win32 API without MFC.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Python gui or C++ gui or java gui?

python gui or c++ gui or java gui? and when to use etch one? (1 Reply)
Discussion started by: kaja
1 Replies

2. Fedora

GTK Themes

Hi, So, I have a GTK based GUI app. I used GTKdevel-2.24 to develop and compile it on two different distros of linux: Fedora 14 and Linaro (tablet). All of my code was the same for each but compiled on each platform separately (32bit and ARM). Both distros run the application. On Fedora 14... (0 Replies)
Discussion started by: fedora18
0 Replies

3. UNIX for Dummies Questions & Answers

Gtk-WARNING **:

Hi all, I want to run a 32 bit program on a 64 bit linux machine. Installing the program was no issue but when I try to run it I get Warnings that look like this: Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk" Gtk-WARNING **: Unable to locate theme engine in... (3 Replies)
Discussion started by: friend
3 Replies

4. Programming

curses.h not found , gtk/gtk.h not found

i have downloaded <libncurses5-dev_5.7+20101128-1_i386.deb> and <ndk++-0.0.1alpha4.tar.bz2> which contains the header files curses.h and gtk/gtk.h .. i have also included them using .. #include "/home/ball/Desktop/Sudoku/project/libncurses5-dev_5.7+20101128-1_i386/usr/include/curses.h" ... (2 Replies)
Discussion started by: upvan111
2 Replies

5. Shell Programming and Scripting

Running a GUI without GUI

I was wondering if it is possible to run a GUI window (say Firefox) without actually showing up the window on the desktop but still make it do its own regular stuff (like maybe do something via the command line). Sorry if its a dumb question. Thanks (3 Replies)
Discussion started by: Legend986
3 Replies

6. UNIX for Dummies Questions & Answers

If a is windows gui ( client), b is a unix gui ( Server for a) and c is a shell scrip

Hello all, 1) I want to have a GUI application that will call Unix shell scripts, 2) that GUI application should be able to reside on windows ( if possible) and then call Unix shell script either directly or through a server residing on unix. That is for example. If a is windows gui (... (1 Reply)
Discussion started by: hchivukula
1 Replies

7. Linux

GTK+ hates me

I am very new to the linux environment. I have been interested in it for years but have just recently had the courage to pop that install disk into my PC. Because of it's ease of installation, I installed Mandrake 9.1 and I'm running KDE3.1 for my GUI. Right now I'm trying to conquer the world... (5 Replies)
Discussion started by: n0data
5 Replies

8. UNIX for Dummies Questions & Answers

how to start my gtk+

hi, i am a total dummy of unix. i am not used to the unix convention and practice. currently i am trying to install and use the solaris GUI based ftp program called gtk+ (gtk+-1.2.10-sol8-sparc-local.gz). i downloaded it and installed it successfully on my Sun Solaris sparc version 8. ... (4 Replies)
Discussion started by: champion
4 Replies

9. UNIX for Dummies Questions & Answers

Installing GTK to develop Perl GUI's

Hi! What do I need to do to install GTK so I can use Perl GUI's in UNIX? I want to install it in my account. I am not a sys admin or anything. Thanks in advance, P. (1 Reply)
Discussion started by: pmcg
1 Replies
Login or Register to Ask a Question