Lines Matching refs:window

259     GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(canvas));
262 GdkDisplay *display = gdk_window_get_display(window);
265 gdk_window_get_device_position(window, device, &x, &y, NULL);
267 gdk_window_get_pointer(window, &x, &y, NULL);
342 dtw->window = 0;
495 _("Zoom drawing if window size changes"));
856 * Set the title in the desktop-window (if desktop has an own window).
864 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
866 if (window) {
928 window->set_title (name->str);
1066 GdkWindow *window = gtk_widget_get_window(gtk_widget_get_toplevel(GTK_WIDGET(dtw)));
1068 gint monitor = gdk_screen_get_monitor_at_window(screen, window);
1115 dtw->setMessage (Inkscape::NORMAL_MESSAGE, _("Color-managed display is <b>enabled</b> in this window"));
1117 dtw->setMessage (Inkscape::NORMAL_MESSAGE, _("Color-managed display is <b>disabled</b> in this window"));
1197 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1201 if (sp_file_save_document(*window, doc)) {
1261 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1263 if (sp_file_save_dialog(*window, doc, Inkscape::Extension::FILE_SAVE_METHOD_INKSCAPE_SVG)) {
1282 /* Save window geometry to prefs for use as a default.
1376 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1378 if (window)
1380 window->get_size (w, h);
1381 window->get_position (x, y);
1388 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1390 if (window)
1392 window->move (gint(round(p[Geom::X])), gint(round(p[Geom::Y])));
1399 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1401 if (window)
1403 window->set_default_size (w, h);
1404 window->resize (w, h);
1411 * the document window. The document window must be restored by rightclicking
1417 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window"));
1418 if (window)
1420 GtkWindow *w = GTK_WINDOW(window->gobj());
1426 * however that this breaks "click to raise" policy of a window
1431 // without this, a transient window not always emerges on top
1447 GtkWindow *window = GTK_WINDOW( gtk_widget_get_toplevel( GTK_WIDGET(this) ) );
1448 if (window)
1451 window,
1465 Gtk::MessageDialog dialog (*window, text, false, Gtk::MESSAGE_WARNING, Gtk::BUTTONS_OK_CANCEL);
1543 * Hide whatever the user does not want to see in the window
1556 pref_root = "/window/";
1883 /* we make the desktop window with focus active, signal is connected in interface.c */
2100 GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(dtw->zoom_status));
2105 if (window)
2106 gdk_window_process_updates(window, TRUE);
2118 prefs->setBool(dtw->desktop->is_fullscreen() ? "/fullscreen/rulers/state" : "/window/rulers/state", false);
2123 prefs->setBool(dtw->desktop->is_fullscreen() ? "/fullscreen/rulers/state" : "/window/rulers/state", true);
2135 prefs->setBool(dtw->desktop->is_fullscreen() ? "/fullscreen/scrollbars/state" : "/window/scrollbars/state", false);
2140 prefs->setBool(dtw->desktop->is_fullscreen() ? "/fullscreen/scrollbars/state" : "/window/scrollbars/state", true);
2176 prefs->setBool(is_fullscreen ? "/fullscreen/menu/state" : "/window/menu/state", false);
2179 prefs->setBool(is_fullscreen ? "/fullscreen/menu/state" : "/window/menu/state", true);