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



147
148
149
# File 'lib/rabbit/gtk.rb', line 147

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

#shape_combine_region(cairo_region) ⇒ Object



153
154
155
156
# File 'lib/rabbit/gtk.rb', line 153

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