LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   GUI programming (https://www.linuxquestions.org/questions/programming-9/gui-programming-95760/)

unixbrain 09-23-2003 01:05 AM

GUI programming
 
How to code GUIs, such as Windows, buttons, etc, apart from using Windows API?

Xiangbuilder 09-23-2003 01:22 AM

What about GTK, or QT?

UltimaGuy 09-23-2003 01:54 AM

If you want to do it using c, try GTK+, and for C++ , there is Qt.

coolman0stress 09-23-2003 05:29 PM

Or Java with Swing.
Perl and Python with Tk.

greg108 09-23-2003 07:47 PM

Or C++ with Gtkmm

unixbrain 09-24-2003 01:05 AM

This came across my mind yesterday. How to create buttons from scratch. You know, we have been using codes from the library, and the buttons that result are square, grey and kind of boring. I want to be able to create the buttons of different style (shape, color, etc). Not just the buttons, but also everything else like the widgets, windows, etc. Is that possible? How?

UltimaGuy 09-24-2003 06:01 AM

Well for this you have to create codings based on X11, i think. You have to design every bit of GUI for yourself, and I think that is a large amount of work. Why don't you just take a widget and customize it, using Qt or swings?

joki 09-24-2003 03:48 PM

creating own new-shaped buttons is the easiest way of customizing controls. making new listboxes et cetera is more difficult than creating a new type of QPushbutton

but i think QT has the advantage, that controls are much more customizable than buttons in MFC, so try out the possibilities and "don't waste your few time for reinventing the wheel" ;)

acid_kewpie 09-24-2003 05:41 PM

afaik gtk2 is fully skinable... just look at gkrellm etc...

nkarakos 09-24-2003 09:04 PM

I think that what unixbrain needs is to do is to think about themes, artwork, icons and the artistic view of GUI.

german 09-28-2003 03:10 AM

Swing components can be customized easily as well.


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