Class: Gtk::Widget

Inherits:
Object
  • Object
show all
Defined in:
lib/rabbit/gtk.rb

Instance Method Summary collapse

Instance Method Details

#drag_dest_set(flags, targets, actions) ⇒ Object



136
137
138
# File 'lib/rabbit/gtk.rb', line 136

def drag_dest_set(flags, targets, actions)
  Gtk::Drag.dest_set(self, flags, targets, actions)
end

#shape_combine_region(cairo_region) ⇒ Object



142
143
144
145
# File 'lib/rabbit/gtk.rb', line 142

def shape_combine_region(cairo_region)
  gdk_region = cairo_region_to_gdk_region(cairo_region)
  window.shape_combine_region(gdk_region, 0, 0)
end