63
63
gtk_widget_add_events(GTK_WIDGET(m_window), GDK_BUTTON_PRESS_MASK | GDK_LEAVE_NOTIFY_MASK | GDK_STRUCTURE_MASK);
64
64
g_signal_connect_slot(m_window, "enter-notify-event", &Window::on_enter_notify_event, this);
65
65
g_signal_connect_slot(m_window, "leave-notify-event", &Window::on_leave_notify_event, this);
66
g_signal_connect_slot(m_window, "focus-in-event", &Window::on_focus_in_event, this);
67
66
g_signal_connect_slot(m_window, "button-press-event", &Window::on_button_press_event, this);
68
67
g_signal_connect_slot(m_window, "key-press-event", &Window::on_key_press_event, this);
69
68
g_signal_connect_slot(m_window, "key-press-event", &Window::on_key_press_event_after, this, true);