/inkscape/src/helper/ |
H A D | window.cpp | 2 * Generic window implementation 11 #include <gtkmm/window.h> 17 #include "window.h" 35 Gtk::Window *window = new Gtk::Window(Gtk::WINDOW_TOPLEVEL); local 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); local 51 gtk_window_set_title ((GtkWindow *) window, titl [all...] |
/inkscape/src/ |
H A D | svg-view.cpp | 108 GdkWindow *window = gtk_widget_get_window (GTK_WIDGET(SP_CANVAS_ITEM(_drawing)->canvas)); local 109 gdk_window_set_cursor(window, cursor); 119 GdkWindow *window = gtk_widget_get_window (GTK_WIDGET(SP_CANVAS_ITEM(_drawing)->canvas)); local 120 gdk_window_set_cursor(window, NULL);
|
H A D | inkview.cpp | 79 GtkWidget *window; member in struct:SPSlideShow 128 gtk_window_unfullscreen (GTK_WINDOW(ss->window)); 131 gtk_window_fullscreen (GTK_WINDOW(ss->window)); 158 gtk_window_set_title(GTK_WINDOW(ss->window), ss->doc->getName()); 314 ss.window = w; 346 gtk_window_set_transient_for(GTK_WINDOW(ctrlwin), GTK_WINDOW(ss->window)); 433 gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(ss->window)), waiting); 455 gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(ss->window)), NULL);
|
H A D | desktop-events.cpp | 96 GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(dtw->canvas)); local 102 gdk_window_get_device_position(window, device, &wx, &wy, NULL); 103 gdk_window_get_geometry(window, NULL /*x*/, NULL /*y*/, &width, &height); 105 gdk_window_get_pointer(window, &wx, &wy, NULL); 106 gdk_window_get_geometry(window, NULL /*x*/, NULL /*y*/, &width, &height, NULL/*depth*/);
|
H A D | ege-color-prof-tracker.cpp | 419 GdkWindow* window = gtk_widget_get_window (widget); local 421 gint monitorNum = gdk_screen_get_monitor_at_window(screen, window); 498 Status stat = XGetWindowAttributes( native->xproperty.display, native->xproperty.window, &tmp ); 566 g_warning("Problem reading profile from root window"); 593 /* Look for any profiles attached to this root window */
|
/inkscape/src/ui/dialog/ |
H A D | aboutbox.cpp | 59 static AboutBox *window=NULL; member in namespace:Inkscape::UI::Dialog 64 if (!window) 65 window = new AboutBox(); 66 window->show(); 72 if (window) 73 window->hide(); 147 // allow window to shrink 443 * put it at the top of the window, add some space between 750 "(kernel, window system, and so on) of the specific operating system\n"
|
H A D | svg-fonts-dialog.cpp | 73 Glib::RefPtr<Gdk::Window> window = get_window(); local 74 Cairo::RefPtr<Cairo::Context> cr = window->create_cairo_context();
|
/inkscape/src/ui/tools/ |
H A D | dropper-tool.cpp | 192 GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas())); local 193 gdk_window_set_cursor(window, cursor_dropper_stroke); 316 GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas())); local 317 gdk_window_set_cursor(window, cursor_dropper_stroke); 355 GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas())); local 356 gdk_window_set_cursor(window, cursor_dropper_stroke); 370 GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas())); local 371 gdk_window_set_cursor(window, cursor_dropper_fill);
|
H A D | select-tool.cpp | 298 GdkWindow* window = gtk_widget_get_window (GTK_WIDGET (desktop->getCanvas())); local 303 gdk_window_set_cursor(window, CursorSelectDragging); 343 GdkWindow* window = gtk_widget_get_window (GTK_WIDGET (desktop->getCanvas())); local 345 gdk_window_set_cursor(window, CursorSelectMouseover); 351 GdkWindow* window = gtk_widget_get_window (GTK_WIDGET (desktop->getCanvas())); local 353 gdk_window_set_cursor(window, this->cursor); 561 GdkWindow* window = gtk_widget_get_window (GTK_WIDGET (desktop->getCanvas())); local 563 gdk_window_set_cursor(window, CursorSelectDragging); 654 GdkWindow* window; local 690 window 927 GdkWindow* window = gtk_widget_get_window (GTK_WIDGET (desktop->getCanvas())); local [all...] |
/inkscape/src/libgdl/ |
H A D | gdl-dock-item-grip.c | 285 GdkWindow *window = NULL; local 294 window = gtk_widget_get_parent_window (iconify_button); 297 g_assert (GDK_IS_WINDOW (window)); 298 gdk_window_get_pointer (window, &x, &y, &modifiers); 300 event->crossing.window = g_object_ref (window); 302 event->crossing.subwindow = g_object_ref (window); 441 /* Need to ref widget->window, because parent unrealize unrefs it */ 445 /* Unset the background so as to make the colour match the parent window */
|
H A D | gdl-dock-master.c | 464 GdkWindow *window; local 481 window = gdk_window_at_pointer (&win_x, &win_y); 482 if (window) { 484 /* ok, now get the widget who owns that window and see if we can 486 gdk_window_get_user_data (window, (gpointer) &widget); 612 GdkWindow *window; local 627 window = gdk_get_default_root_window (); 635 window, &values, GDK_GC_FUNCTION | GDK_GC_SUBWINDOW); 659 gdk_draw_rectangle (window, master->_priv->root_xor_gc, 0, 665 gdk_draw_rectangle (window, maste [all...] |
H A D | gdl-dock.c | 117 GtkWidget *window; member in struct:_GdlDockPrivate 177 _("Whether the dock is floating in its own window"), 314 /* create floating window for this dock */ 315 dock->_priv->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); 316 g_object_set_data (G_OBJECT (dock->_priv->window), "dock", dock); 319 gtk_window_set_position (GTK_WINDOW (dock->_priv->window), 321 gtk_window_set_default_size (GTK_WINDOW (dock->_priv->window), 324 gtk_window_set_type_hint (GTK_WINDOW (dock->_priv->window), 327 gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dock->_priv->window), 331 gtk_window_move (GTK_WINDOW (dock->_priv->window), 1327 GdkWindow *window; local [all...] |
H A D | gdl-dock-item.c | 986 GdkWindow *window; local 997 /* widget window */ 1013 window = gdk_window_new (gtk_widget_get_parent_window (widget), 1015 gtk_widget_set_window (widget, window); 1016 gdk_window_set_user_data (window, widget); 1019 gtk_style_set_background (gtk_widget_get_style (widget), window, local 1021 gdk_window_set_back_pixmap (window, NULL, TRUE); 1024 gtk_widget_set_parent_window (item->child, window); 1027 gtk_widget_set_parent_window (item->_priv->grip, window); 1034 GdkWindow *window; local 1044 window, local [all...] |
/inkscape/src/ui/widget/ |
H A D | color-slider.cpp | 398 Glib::RefPtr<Gdk::Window> window = get_window(); local 407 gtk_paint_shadow(style->gobj(), window->gobj(), gtk_widget_get_state(gobj()), GTK_SHADOW_IN, NULL, gobj(), 497 gtk_paint_shadow(style->gobj(), window->gobj(), gtk_widget_get_state(gobj()), GTK_SHADOW_IN, NULL, gobj(),
|
H A D | gimpspinscale.c | 444 cr = gdk_cairo_create (event->window); 448 w = gdk_window_get_width (event->window); 462 event->window == gtk_entry_get_text_window (GTK_ENTRY (widget))) 543 window_width = gdk_window_get_width (event->window); 544 window_height = gdk_window_get_height (event->window); 628 GdkWindow *window, 651 for (w = window; w && w != widget_window; w = gdk_window_get_parent (w)) 671 GdkWindow *window, 679 if (gtk_widget_get_translation_to_window (widget, window, &tx, &ty)) 854 gimp_spin_scale_event_to_widget_coords (widget, event->window, 627 gtk_widget_get_translation_to_window(GtkWidget *widget, GdkWindow *window, int *x, int *y) argument 670 gimp_spin_scale_event_to_widget_coords(GtkWidget *widget, GdkWindow *window, gdouble event_x, gdouble event_y, gint *widget_x, gint *widget_y) argument [all...] |
H A D | preferences-widget.cpp | 450 Glib::RefPtr<Gdk::Window> window = get_window(); local 452 int w = window->get_width();
|
H A D | gimpcolorwheel.c | 86 GdkWindow *window; member in struct:__anon137 254 gdk_window_show (priv->window); 263 gdk_window_hide (priv->window); 303 priv->window = gdk_window_new (parent_window, &attr, attr_mask); 304 gdk_window_set_user_data (priv->window, wheel); 317 gdk_window_set_user_data (priv->window, NULL); 318 gdk_window_destroy (priv->window); 319 priv->window = NULL; 396 gdk_window_move_resize (priv->window, 693 priv->window, [all...] |
/inkscape/src/widgets/ |
H A D | eek-preview.cpp | 228 GdkWindow* window = gtk_widget_get_window(widget); local 229 cairo_t* cr = gdk_cairo_create(window); 288 GdkWindow *window = gtk_widget_get_window(widget); local 291 window, 389 window, 419 window, 449 window, 479 window, 506 window, 529 window, [all...] |
H A D | desktop-widget.h | 15 #include <gtkmm/window.h> 74 Gtk::Window *window; member in struct:SPDesktopWidget 76 // The root vbox of the window layout. 131 { return _dtw->window; } 159 if(_dtw->window != NULL) 160 delete _dtw->window; 161 _dtw->window = NULL;
|
H A D | ruler.cpp | 848 GdkWindow *window, 871 for (w = window; 895 GdkWindow *window, 903 if (gtk_widget_get_translation_to_window (widget, window, &tx, &ty)) 925 sp_ruler_event_to_widget_coords (widget, mevent->window, 847 gtk_widget_get_translation_to_window(GtkWidget *widget, GdkWindow *window, int *x, int *y) argument 894 sp_ruler_event_to_widget_coords(GtkWidget *widget, GdkWindow *window, gdouble event_x, gdouble event_y, gint *widget_x, gint *widget_y) argument
|
H A D | desktop-widget.cpp | 259 GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(canvas)); local 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")); local 1066 GdkWindow *window = gtk_widget_get_window(gtk_widget_get_toplevel(GTK_WIDGET(dtw))); local 1197 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1261 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1376 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1388 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1399 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1417 Gtk::Window *window = static_cast<Gtk::Window*>(g_object_get_data(G_OBJECT(this), "window")); local 1447 GtkWindow *window = GTK_WINDOW( gtk_widget_get_toplevel( GTK_WIDGET(this) ) ); local 2100 GdkWindow *window = gtk_widget_get_window(GTK_WIDGET(dtw->zoom_status)); local [all...] |
/inkscape/share/extensions/ |
H A D | jessyInk.js | 16 window.onload = jessyInkInit; 224 var hashObj = new LocationHash(window.location.hash); 812 window.setTimeout("effect(" + dir + ")", timeDiff); 816 window.location.hash = (activeSlide + 1) + '_' + activeEffect; 898 window.location.hash = (activeSlide + 1) + '_0'; 947 e = window.event; 968 e = window.event; 1068 evnt = window.event; 1094 if (window.addEventListener) 1096 window [all...] |
/inkscape/cxxtest/cxxtest/ |
H A D | Win32Gui.h | 9 // -keep Don't close the window at the end 10 // -title TITLE Set the window caption 13 // window if it's in focus. 323 static LRESULT CALLBACK windowProcedure( HWND window, UINT message, WPARAM wParam, LPARAM lParam ) argument 326 setUp( window, (LPCREATESTRUCT)lParam ); 328 Win32Gui *that = (Win32Gui *)GetWindowLong( window, GWL_USERDATA ); 329 return that->handle( window, message, wParam, lParam ); 332 static void setUp( HWND window, LPCREATESTRUCT create ) argument 334 SetWindowLong( window, GWL_USERDATA, (LONG)create->lpCreateParams ); 337 LRESULT handle( HWND window, UIN argument [all...] |
/inkscape/src/util/ |
H A D | ziptool.cpp | 874 std::vector<unsigned char> window; member in class:Deflater 929 window.clear(); 1304 unsigned int windowSize = window.size(); 1305 //### Compress as much of the window as possible 1309 //plus the 3 bytes after it in the window 1312 unsigned char ch = window[i]; 1359 fputc(window[windowPos+i], stdout); 1362 fputc(window[windowPos-bestMatchDist+i], stdout); 1398 if (windowPos > window.size()) 1399 windowPos = window [all...] |
/inkscape/src/display/ |
H A D | sp-canvas.cpp | 1082 GdkWindow *window = gdk_window_new (gtk_widget_get_parent_window (widget), &attributes, attributes_mask); local 1083 gtk_widget_set_window (widget, window); 1084 gdk_window_set_user_data (window, widget); 1098 gtk_widget_set_style (widget, gtk_style_attach (style, window)); 1265 // (e.g. if the pointer leaves the window). So this is a hack that 1331 _pick_event.crossing.window = event->motion.window; 1440 // dispatch normally regardless of the event's window if an item 1443 event->window != getWindow(canvas)) 1523 if (event->window ! [all...] |