Lines Matching refs:fileselection
86 GtkFileSelection *fileselection = GTK_FILE_SELECTION(data);
87 GtkWidget *app = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(fileselection), "app"));
89 gchar *fileName = g_strdup(gtk_file_selection_get_filename(fileselection));
92 gtk_widget_destroy(GTK_WIDGET(fileselection));
120 GtkWidget *fileselection;
124 fileselection =
127 gtk_object_set_data(GTK_OBJECT(fileselection), "app", app);
130 GTK_FILE_SELECTION(fileselection)->ok_button;
133 GTK_FILE_SELECTION(fileselection)->cancel_button;
135 gtk_signal_connect(GTK_OBJECT(fileselection), "destroy",
139 GTK_SIGNAL_FUNC(openOK), fileselection);
142 GTK_SIGNAL_FUNC(gtk_widget_destroy), GTK_OBJECT(fileselection));
144 gtk_window_set_modal(GTK_WINDOW(fileselection), TRUE);
145 gtk_widget_show(fileselection);