Home | History | Annotate | Download | only in examples

Lines Matching defs:progress_bar

130 void *create_thread(void *progress_bar)
156 g_source_remove(GPOINTER_TO_INT(g_object_get_data(G_OBJECT(progress_bar),
160 gtk_widget_destroy(progress_bar);
178 GtkWidget *top_window, *outside_frame, *inside_frame, *progress_bar;
205 progress_bar = gtk_progress_bar_new();
206 gtk_progress_bar_pulse (GTK_PROGRESS_BAR (progress_bar));
208 gint pulse_ref = g_timeout_add (300, pulse_bar, progress_bar);
209 g_object_set_data(G_OBJECT(progress_bar), "pulse_id",
211 gtk_container_add(GTK_CONTAINER(inside_frame), progress_bar);
219 if (!g_thread_create(&create_thread, progress_bar, FALSE, NULL) != 0)