On Sat, 29 May 2010 06:35:24 -
"John Emmas" wrote:
> When you call one of the g_idle_add() functions, you're saying to gtk,
> "don't execute this function now - but delay it until the GUI thread
> has some idle time available and execute it there." By doing that,
> you ensure that GUI element
Thanks a lot guys, I was naive beleiving GTK is absolutely thread-safe!
Tim.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
I'm sure that most new gtk programmers encounter this problem sooner or
leter. I know I did and my solution was essentially the same as Tadej's.
I wish I seen his blog though as it would have saved me a lot of time!
The key to success is to ensure that GUI elements only ever get modified
within
Hi.
> The gtk_progress_bar_set_fraction() is called by a separate thread.
This is probably the main cause of your troubles. Try reading this
blogpost for some info on how to use GTK+ from multiple threads:
http://tadeboro.blogspot.com/2009/06/multi-threaded-gtk-applications.html
(I'm sorry for th
Timofei Istomin wrote:
Hello,
I'm developing an embedded application using GTK+ (2.16.6) on the DirectFB
backend.
I use the gtk_progress_bar_set_fraction() to set the progress value, but it
doesn't affect the visible state of the widget until the touchscreen is
tapped.
Other GUI elements (butto
"jim Pharis" wrote:
> I have an external synchronous library call that takes a while to
> complete. I want to display a progress bar well I'm waiting.
>
> The problem is, even when the progress bar is in the thread in a loop
> calling gtk_progress_bar_pulse, the progress bar still looks like its
On Thu, 2006-03-16 at 10:09 -0500, jim Pharis wrote:
> I have an external synchronous library call that takes a while to
> complete. I want to display a progress bar well I'm waiting.
>
> The problem is, even when the progress bar is in the thread in a loop
> calling gtk_progress_bar_pulse, the pr
On 3/16/06, jim Pharis <[EMAIL PROTECTED]> wrote:
> I have an external synchronous library call that takes a while to
> complete. I want to display a progress bar well I'm waiting.
>
> The problem is, even when the progress bar is in the thread in a loop
> calling gtk_progress_bar_pulse, the progre
> hi
>
> I was wanting to add a progress bar to a function, but
> the problem is that progress bar is only shown after
> the function is over even though the first thing i do
> in the function is to show the progress bar.
>
> So maybe i should give a delay after showing. Is there
> any function whi
hey
Thanks a lot guys, its working fine now.
Thank You
Abhishek Samuel
___
Yahoo! Messenger - want a free and easy way to contact your friends online?
http://uk.messenger.yahoo.com
_
abhi rocks wrote:
>hi
>
>I was wanting to add a progress bar to a function, but
>the problem is that progress bar is only shown after
>the function is over even though the first thing i do
>in the function is to show the progress bar.
>
>
>
You need to give control back to GTK occasionally so i
11 matches
Mail list logo