how to make easy graphic with gcc in my Ubuntu 9.10
I have made a little easy c program where i can se my leds on the parallelport ./p 0 no leds
./p 8 led 4 lighting ./p 64 led 7 lighting How can i make a window around my program?? Kindly ole hasselbalch oz6oh as radioamateur olehasselbalch@gmail.com www.olehasselbalch.dk homepage |
welcome to LQ!!
first, I recommend that you remove your e-mail address from your post---you are simply inviting a spam attack. the standard toolkits for graphics programming are qt and gtk. Within these environments, there are utilities such as dialog and zenity for making simple interactive dialogs. |
May be tcl / tk can do a simple GUI ?
Like this "clock" : http://wiki.tcl.tk/12282 ( Google .. show 4 leds tcl-tk .. http://wiki.tcl.tk/_/welcome ) ..... |
I think GTK+ can be a choice for that purpose. You can edit a window in a program called "Glade". Glade creates an xml file for your interface and you can import that structure by one function call. After that you can get/set variables in your structure and you can fill-in callback functions.
|
ok thanks. i will try glade
oz6oh= ole oz6oh is my amateurcall in denmark |
All times are GMT -5. The time now is 09:08 AM. |