Re: Update progressbar without gtk_timeout_add
- From: Owen Taylor <otaylor redhat com>
- To: hihihi <hihihi casema net>
- Cc: "gtk-list redhat com" <gtk-list redhat com>
- Subject: Re: Update progressbar without gtk_timeout_add
- Date: 27 Oct 1999 10:13:05 -0400
hihihi <hihihi@casema.net> writes:
> Is it possible to update a progressbar without using a gtk_timeout_add
> ??
>
> I want to update a progressbar when a spinbutton is changed.
>
> gtk_signal_connect(GTKOBJECT(adj),"value_changed",
> GTK_SIGNAL_FUNC(bar_da1),(gpointer) spinbutton_da1);
>
> And in bar_da1 i have :
>
> adj=GTK_PROGRESS(data)->adjustment;
> gtk_progress_set_value(GTK_PROGRESS(data),new_val);
>
> But the progressbar does not work...
FAQ question 5.11. (On www.gtk.org or in the GTK+ distribution)
Hope this helps,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]