Lines Matching defs:window
2 * Generic window implementation
11 #include <gtkmm/window.h>
17 #include "window.h"
35 Gtk::Window *window = new Gtk::Window(Gtk::WINDOW_TOPLEVEL);
36 window->set_title (title);
37 window->set_resizable (resizeable);
38 window->signal_key_press_event().connect(sigc::ptr_fun(&on_window_key_press));
40 return window;
50 GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
51 gtk_window_set_title ((GtkWindow *) window, title);
52 gtk_window_set_resizable ((GtkWindow *) window, resizeable);
53 g_signal_connect_after ((GObject *) window, "key_press_event", (GCallback) sp_window_key_press, NULL);
55 return window;