Back to Seed Clases

Gtk


Classes

Interfaces

Structs

Unions

Enums

Class Gtk.Layout

Import line: Gtk = imports.gi.Gtk;
GIR File: Gtk-3.0.gir
C documentation: GtkLayout
Class : Layout
Implements: Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
Extends: Gtk.Container
GtkLayout is similar to GtkDrawingArea in that it's a "blank slate"
and doesn't do anything but paint a blank background by default. It's
different in that it supports scrolling natively (you can add it to a
GtkScrolledWindow), and it can contain child widgets, since it's a
GtkContainer. However if you're just going to draw, a GtkDrawingArea
is a better choice since it has lower overhead.
When handling expose events on a GtkLayout, you must draw to
GTK_LAYOUT (layout)->bin_window, rather than to
GTK_WIDGET (layout)->window, as you would for a drawing
area.
Properties
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:10 GMT+0800 (HKT)