Example #1
0
// SetEvents is a wrapper around gtk_widget_set_events().
func (v *Widget) SetEvents(events int) {
	C.gtk_widget_set_events(v.native(), C.gint(events))
}
Example #2
0
func (self *Widget) SetEvents(events gdk3.GdkEventMask) {
	C.gtk_widget_set_events(self.object, C.gint(events))
}
Example #3
0
func gtk_widget_set_events(p GtkWidget, m int) {
	C.gtk_widget_set_events(Arg(p), C.int(m))
}