Re: I cannnot update progressbar..



The command:
 gtk-config --version

should give you the version.

You can use:

   while(gtk_events_pending())
     gtk_main_iteration();

on older versions of GTK.

-tony


On 16-Jan-2001 Naoko Shimakawa wrote:
> Hi, Trog.
> 
> Trog <trog gtk org> wrote:
> 
>> 
>> On 16-Jan-2001 Naoko Shimakawa wrote:
>> > 
>> > When I wrote
>> >     while (g_main_iteration(FALSE));
>> > it makes compile error.
>> 
>> Whats the error?
> 
> It's :
> ----------
>     /usr/include/gtk/gtkmain.h:88: too many arguments to function
> `gint
>     gtk_main_iteration ()'
> ----------
> 
> so I used :
>     while (g_main_iteration()); 
> but.
> 
>> 
>> > 
>> > When I wrote
>> >     while (g_main_iteration());
>> > it doesn't make compile error.
>> > But Progress bar didn't update.
>> > 
>> > My Gtk version is wrong?
>> > 
>> 
>> What version are you using?
> 
> I'm sorry I don't know how to see the version.
> Please teach me how to know gtk version.
> Near the libgtk.a, libgtk-1.2.so.0.5.3 is.
> Is this the version?
> 
> and gcc version is :
> --------------
>     Reading specs from
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
>     gcc version 2.96 20000731 (Red Hat Linux 7.0)
> --------------
> OS is Red Hat Linux 7.0J.
> I don't update gtk librarys. 
> 
> 
> ----------------------------------
> Naoko Shimakawa
> simakawa ssd sony co jp
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list

---
E-Mail: trog gtk org
BASIC, n.:
	A programming language.  Related to certain social diseases in
	that those who have it will not admit it in polite company.

Go Bezerk! http://www.gtk.org/~trog




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]