Searched refs:progress_bar (Results 1 – 1 of 1) sorted by relevance
/curl/docs/examples/ |
H A D | smooth-gtk-thread.c | 122 void *create_thread(void *progress_bar) in create_thread() argument 147 g_source_remove(GPOINTER_TO_INT(g_object_get_data(G_OBJECT(progress_bar), in create_thread() 151 gtk_widget_destroy(progress_bar); in create_thread() 169 GtkWidget *top_window, *outside_frame, *inside_frame, *progress_bar; in main() local 196 progress_bar = gtk_progress_bar_new(); in main() 197 gtk_progress_bar_pulse(GTK_PROGRESS_BAR (progress_bar)); in main() 199 gint pulse_ref = g_timeout_add(300, pulse_bar, progress_bar); in main() 200 g_object_set_data(G_OBJECT(progress_bar), "pulse_id", in main() 202 gtk_container_add(GTK_CONTAINER(inside_frame), progress_bar); in main() 210 if(!g_thread_create(&create_thread, progress_bar, FALSE, NULL) != 0) in main()
|
Completed in 6 milliseconds