Talkback for article: 295, May2003

GUI Programming with GTK

Back to: http://cgi.linuxfocus.org/English/May2003/article295.shtml

From: Billy [ date: 2003-05-10 ]
That course is very interesting. There is just an error in the last source code. Two "{" are missing. But congratulation for that course !
From: Stephane Wirtel <stephane.wirtel(at)belgacom.net> [ date: 2003-07-08 ]
Why do you talk about Gtk1.x ?

Don't forget the new version, GTK+-2.x ;-)


Thanks for your article


From: Anand S Bisen [ date: 2003-07-21 ]
Nice article i just hope it goes to the end :) ... I am really looking forwrd to the future articles.


From: Gicel Cordoba Pech <gicel_pink_floyd(at)hotmail.com> [ date: 2003-10-09 ]
compilo un programa en gtk me dice que no encuentra las librerias.

le pongo lo siguiente para ver si esta instalado gtk-config --cflags --libs
y sale
bash: gtk
y supuesta mente ya esta instalado todo gtk.
es en linux suse 8.1
por favor ayuda.
From: Peter <vitali(at)dolfijn.nl> [ date: 2003-10-14 ]
Thank you for this introduction to GTK progamming.


I tried all example code. With a few I ran into problems. In examples with the GTK_main_quit() I received the following run time errrors "file gtkmain.c: line 582(gtk_main_quit): assertion `main_loops != NULL` failed"

Do yo know the cause of this error?
From: Özcan Güngör <ozcangungor (at) netscape.net> [ date: 2004-01-27 ]
Hello,
as i am doing my militaryservice at thw moment, i dont have much time to answer all questions in detail.

Gicel, i dont understand you language.Could you wirte in English or German?

Peter, change the function name "close" in line 3 and 20 as "destroy"...Sorry for the mistake.

Thank you for participating :)
From: darshana <darshanath(at)yahoo.com> [ date: 2004-01-29 ]
how display the folders ina tree and how can i open pic on them
From: Omer <omerdas(at)hotmail.com> [ date: 2004-01-30 ]
I have tried to run all sorts of gtk program but nothing compiles. I have gtk+-1.2 installed and gtk-config tells me the rite libraries are installed but whenever i run a program the file: gtk/gtk.h is not found. Wat am i doing wrong?

From: Özcan Güngör <ozcangungor (at) netscape.net> [ date: 2004-03-11 ]
darshana,
aren't you going too fast! I can't explain it here. Wait for the related article or read the related documents ;)

Omer,
can you check if gtk/gtk.h is under any of the directories that are given by "gtk-config --cflags" ?
From: rednuht <roamingREMOVESPAM(at)jumpstation.co.uk> [ date: 2004-03-16 ]
to set the window position explicitly in pixels use

gtk_widget_set_uposition(window,sx,sy);


From: Ganesh Bollapragada <technoganesha(at)yahoo.com> [ date: 2004-06-10 ]
Hi Özcan Güngör,

Good article ... !! great job...

Thankyou,
Ganesh
From: Lewis Soricci <ledgards(at)hotmail.com> [ date: 2004-06-16 ]
Great article. I am a new GTK programmer (or on the way to be) and this help me a lot to start a good path of learning.
If you can write a GNOME-DB article would be nice too.

Regards!
From: mike <hg_boy(at)fc18.com> [ date: 2004-08-12 ]
explained so clearly !
great !
it's really good for beginners like me ;
From: santosh <pawaskarsantosh78(at)rediffmail.com> [ date: 2004-09-04 ]
help us to devlope project on gtk+
From: shan <allgarbage(at)tom.com> [ date: 2004-11-03 ]
Really great article.
I think the way gtk deal with event handling is much the same as java .
Right?
From: ajay <ajaylegha(at)yahoo.com> [ date: 2005-03-31 ]
that site provide good knowlege.
From: nethaji [ date: 2005-08-19 ]
a good starting point to learn gtk
From: Lucas <mindmaster(at)gmail.com> [ date: 2005-11-08 ]
Hello everybody !. I'm writing to you because you may have some experience in developing apps in GTK. At the moment I'm writing a program to show active computers over a network, so I decided to build a GUI that show every 2 seconds all the active machines...HERE comes the BIG trouble :

I fetch the info of each computer and then I call :

gtk_clist_append (GTK_CLIST (data->list), register);

to add the info to a list. As I have to fetch continously all the computers I repeat this procedure is repeated "n" times. The qustion is :
What instruction should be called to AUTOMATICALLY refresh the list ?

I have already tried the gtk_clist_thaw function but works only if I move the mouse inside the window app or if the window get some other event.

I also tried gtk_main_iteration_do (FALSE) and this works great but after a while it crashes magically. I'M DESPERATE I really need somehow to update the screen automatically...I would really appretiate some help. I must also say that I couldn't find any information about this, so if you know somewhere to read please let me know.

Greetings, Lucas.
From: nguefeu barthelemy <nguefeubarthelemy(at)yahoo.fr> [ date: 2006-10-16 ]


je voudrai apprendre à programmer les intefaces utilisateurs en C sous Linux

19 talkbacks




Due to the increased amount of web spam we have deciced to removed the talkback posting possibility. You can read old talkbacks but you can no longer post new ones.

Back to http://cgi.linuxfocus.org/English/May2003/article295.shtml

Please contact webmaster(at)linuxfocus.org if you have any questions with regards to this talkback

lftalkback version 3.10