Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

static void set_event_location ( SPDesktop desktop,
GdkEvent *  event 
) [static]

Emits 'position_set' signal on desktop and shows coordinates on status bar.

Definition at line 989 of file event-context.cpp.

References SPDesktop::set_coordinate_status().

    if (event->type != GDK_MOTION_NOTIFY) {

    Geom::Point const button_w(event->button.x, event->button.y);
    Geom::Point const button_dt(desktop->w2d(button_w));

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index