Lines Matching refs:app

79   GtkWidget *app = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(fileselection), "app"));  in openOK()  local
80 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK()
90 GtkWidget *area = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(app), "area")); in openOK()
97 gtk_window_set_title(GTK_WINDOW(app), title); in openOK()
111 GtkWidget *app = GTK_WIDGET(data); in openfile() local
119 gtk_object_set_data(GTK_OBJECT(fileselection), "app", app); in openfile()
143 GtkWidget *app = newSample("Sample.txt"); in newapp() local
145 gtk_widget_show_all(app); in newapp()
150 GtkWidget *app = GTK_WIDGET(data); in closeapp() local
152 closeSample(app); in closeapp()
228 GtkWidget *app; in newSample() local
238 app = gnome_app_new("gnomeLayout", title); in newSample()
240 gtk_object_set_data(GTK_OBJECT(app), "context", context); in newSample()
242 gtk_window_set_default_size(GTK_WINDOW(app), 600 - 24, 400); in newSample()
244 gnome_app_create_menus_with_data(GNOME_APP(app), mainMenu, app); in newSample()
246 gtk_signal_connect(GTK_OBJECT(app), "delete_event", in newSample()
250 gtk_object_set_data(GTK_OBJECT(app), "area", area); in newSample()
260 gnome_app_set_contents(GNOME_APP(app), area); in newSample()
272 appList = g_slist_prepend(appList, app); in newSample()
276 return app; in newSample()
279 void closeSample(GtkWidget *app) in closeSample() argument
281 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in closeSample()
289 appList = g_slist_remove(appList, app); in closeSample()
291 gtk_widget_destroy(app); in closeSample()
302 GtkWidget *app; in main() local
327 app = newSample(args[i]); in main()
329 gtk_widget_show_all(app); in main()