Back to Seed Clases







Class Gtk.OffscreenWindow

Import line: Gtk =;
GIR File: Gtk-3.0.gir
C documentation: GtkOffscreenWindow
Class : OffscreenWindow
Implements: Atk.ImplementorIface, Gtk.Buildable
Extends: Gtk.Window
GtkOffscreenWindow is strictly intended to be used for obtaining
snapshots of widgets that are not part of a normal widget hierarchy.
Since GtkOffscreenWindow is a toplevel widget you cannot obtain
snapshots of a full window with it since you cannot pack a toplevel
widget in another toplevel.
The idea is to take a widget and manually set the state of it,
add it to a GtkOffscreenWindow and then retrieve the snapshot
as a cairo_surface_t or GdkPixbuf.
GtkOffscreenWindow derives from GtkWindow only as an implementation
detail. Applications should not use any API specific to GtkWindow
to operate on this object. It should be treated as a GtkBin that
has no parent widget.
When contained offscreen widgets are redrawn, GtkOffscreenWindow
will emit a GtkWidget::damage-event signal.
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties- Nowhere other than here
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:13:25 GMT+0800 (HKT)