Module: GirFFIGtk::WidgetOverrides

Defined in:
lib/gir_ffi-gtk/widget.rb

Overview

Overrides for GtkWidget methods

Instance Method Summary collapse

Instance Method Details

#add_events(events) ⇒ Object



6
7
8
# File 'lib/gir_ffi-gtk/widget.rb', line 6

def add_events(events)
  super(Gdk::EventMask.to_int events)
end

#get_eventsObject



10
11
12
# File 'lib/gir_ffi-gtk/widget.rb', line 10

def get_events
  Gdk::EventMask.from_native super
end

#set_events(events) ⇒ Object



14
15
16
# File 'lib/gir_ffi-gtk/widget.rb', line 14

def set_events(events)
  super(Gdk::EventMask.to_int events)
end