Package: gtk
Accessor gtk-widget-events
Lambda Listgtk-widget-events (object) SyntaxArgumentsDetails Accessor of the events slot of the gtk-widget
class. The gtk-widget-events slot access function gets the event mask for the widget. The (setf gtk-widget-events) slot access function sets the event mask. The event mask is a bitfield containing flags from the gdk-event-mask flags. These are the events that the widget will receive. Keep in mind that different widgets have different default event masks, and by changing the event mask you may disrupt the functionality of a widget, so be careful. This function must be called while a widget is unrealized. Consider the gtk-widget-add-events function for widgets that are already realized, or if you want to preserve the existing event mask. This function cannot be used with widgets that have no window. To get events on those widgets, place them inside a gtk-event-box widget and receive events on the event box. Note | See also |
2021-9-15