Gtk.Misc.prototype.set_padding

function set_padding(xpad:Number, ypad:Number):void {
    // Gjs wrapper for gtk_misc_set_padding()
}

Sets the amount of space to add around the widget.

xpad

the amount of space to add on the left and right of the widget, in pixels.

ypad

the amount of space to add on the top and bottom of the widget, in pixels.