Class: Gtk::OffscreenWindow
- Inherits:
-
Object
- Object
- Gtk::OffscreenWindow
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#new ⇒ Gtk::Widget
Creates a toplevel container widget that is used to retrieve snapshots of widgets without showing them on the screen.
-
#pixbuf ⇒ GdkPixbuf::Pixbuf
Retrieves a snapshot of the contained widget in the form of a Gdk::Pixbuf.
-
#surface ⇒ cairo::Surface
Retrieves a snapshot of the contained widget in the form of a #cairo_surface_t.
Instance Method Details
#new ⇒ Gtk::Widget
Creates a toplevel container widget that is used to retrieve snapshots of widgets without showing them on the screen.
#pixbuf ⇒ GdkPixbuf::Pixbuf
Retrieves a snapshot of the contained widget in the form of a Gdk::Pixbuf. This is a new pixbuf with a reference count of 1, and the application should unreference it once it is no longer needed.
#surface ⇒ cairo::Surface
Retrieves a snapshot of the contained widget in the form of a #cairo_surface_t. If you need to keep this around over window resizes then you should add a reference to it.