This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我正在尝试处理绘图区域小部件的 x 事件,以便用户可以平移并在其上绘图。调用按下事件和释放事件处理程序,但不调用运动通知事件。我添加Gdk::POINTER_MOTION_MASK并覆盖了on_motion_notify_event(GdkEventButton *event)处理程序,但它没有被调用。难道我做错了什么?