gdk/gdk.go
func EventButtonNewFromEvent(event *Event) *EventButton {
	ee := (*C.GdkEvent)(unsafe.Pointer(event.native()))
	ev := Event{ee}
	return &EventButton{&ev}
}
func EventButtonNewFromEvent(event *Event) *EventButton {
	ee := (*C.GdkEvent)(unsafe.Pointer(event.native()))
	ev := Event{ee}
	return &EventButton{&ev}
}
func EventButtonNewFromEvent ( event * Event ) * EventButton { ee := ( * C . GdkEvent ) ( unsafe . Pointer ( event . native ( ) ) ) ev := Event { ee } return & EventButton { & ev } }
// EventButtonNewFromEvent returns an EventButton from an Event.
//
// Using widget.Connect() for a key related signal such as
// "button-press-event" results in a *Event being passed as
// the callback's second argument. The argument is actually a
// *EventButton. EventButtonNewFromEvent provides a means of creating
// an EventKey from the Event.
EventButtonNewFromEvent returns an EventButton from an Event . Using widget . Connect () for a key related signal such as button - press - event results in a * Event being passed as the callback s second argument . The argument is actually a * EventButton . EventButtonNewFromEvent provides a means of creating an EventKey from the Event .