Gtk.Box.prototype.set_child_packing

function set_child_packing(child:Gtk.Widget, expand:Boolean, fill:Boolean, padding:Number, pack_type:Gtk.PackType):void {
    // Gjs wrapper for gtk_box_set_child_packing()
}

Sets the way child is packed into box.

child

the Gtk.Widget of the child to set

expand

the new value of the #GtkBox:expand child property

fill

the new value of the #GtkBox:fill child property

padding

the new value of the #GtkBox:padding child property

pack_type

the new value of the #GtkBox:pack-type child property