Lines Matching refs:app
85 GtkWidget *app = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(fileselection), "app")); in openOK() local
86 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in openOK()
96 GtkWidget *area = GTK_WIDGET(gtk_object_get_data(GTK_OBJECT(app), "area")); in openOK()
103 gtk_window_set_title(GTK_WINDOW(app), title); in openOK()
117 GtkWidget *app = GTK_WIDGET(data); in openfile() local
125 gtk_object_set_data(GTK_OBJECT(fileselection), "app", app); in openfile()
149 GtkWidget *app = newSample("Sample.txt"); in newapp() local
151 gtk_widget_show_all(app); in newapp()
156 GtkWidget *app = GTK_WIDGET(data); in closeapp() local
158 closeSample(app); in closeapp()
234 GtkWidget *app; in newSample() local
244 app = gnome_app_new("gnomeLayout", title); in newSample()
246 gtk_object_set_data(GTK_OBJECT(app), "context", context); in newSample()
248 gtk_window_set_default_size(GTK_WINDOW(app), 600 - 24, 400); in newSample()
250 gnome_app_create_menus_with_data(GNOME_APP(app), mainMenu, app); in newSample()
252 gtk_signal_connect(GTK_OBJECT(app), "delete_event", in newSample()
256 gtk_object_set_data(GTK_OBJECT(app), "area", area); in newSample()
266 gnome_app_set_contents(GNOME_APP(app), area); in newSample()
278 appList = g_slist_prepend(appList, app); in newSample()
282 return app; in newSample()
285 void closeSample(GtkWidget *app) in closeSample() argument
287 Context *context = (Context *) gtk_object_get_data(GTK_OBJECT(app), "context"); in closeSample()
295 appList = g_slist_remove(appList, app); in closeSample()
297 gtk_widget_destroy(app); in closeSample()
308 GtkWidget *app; in main() local
333 app = newSample(args[i]); in main()
335 gtk_widget_show_all(app); in main()