static gboolean gtk_map_button_press_cb(GtkWidget *widget, GdkEventButton *event);
static gboolean gtk_map_button_release_cb(GtkWidget *widget, GdkEventButton *event);
static gboolean gtk_map_scroll_event_cb(GtkWidget *widget, GdkEventScroll *event);
+static gboolean gtk_map_motion_notify_cb(GtkWidget *widget, GdkEventMotion *event, gpointer data);
+
/* Signal IDs */
enum {
g_signal_connect(G_OBJECT(map), "button_press_event", G_CALLBACK(gtk_map_button_press_cb), NULL);
g_signal_connect(G_OBJECT(map), "button_release_event",G_CALLBACK(gtk_map_button_release_cb), NULL);
g_signal_connect(G_OBJECT(map), "scroll_event", G_CALLBACK(gtk_map_scroll_event_cb), NULL);
+g_signal_connect(G_OBJECT(map), "motion_notify_event", G_CALLBACK(gtk_map_motion_notify_cb), NULL);
gtk_widget_queue_resize(widget);
}
return FALSE;
}
+static gboolean
+gtk_map_motion_notify_cb(GtkWidget *widget, GdkEventMotion *event, gpointer data)
+{
+
+return FALSE;
+}
+
static gboolean
gtk_map_button_press_cb(GtkWidget *widget, GdkEventButton *event)
{