Gtk.StyleContext.prototype.get_padding

function get_padding(state:Gtk.StateFlags):void {
    // Gjs wrapper for gtk_style_context_get_padding()
}

Gets the padding for a given state as a Gtk.Border. See %GTK_STYLE_PROPERTY_PADDING.

Since 3.0

state

state to retrieve the padding for