Gtk.CellAreaContext.prototype.get_area

function get_area():Gtk.CellArea {
    // Gjs wrapper for gtk_cell_area_context_get_area()
}

Fetches the Gtk.CellArea this context was created by.

This is generally unneeded by layouting widgets; however, it is important for the context implementation itself to fetch information about the area it is being used for.

For instance at Gtk.CellAreaContextClass.allocate() time it's important to know details about any cell spacing that the Gtk.CellArea is configured with in order to compute a proper allocation.

Since 3.0

Returns

the Gtk.CellArea this context was created by.