Gdk.ButtonEvent¶ class — extends Event An event related to a button on a pointer device. Methods¶ get_button¶ def get_button(self) -> int Extract the button number from a button event.