Gtk.PaperSize.prototype.to_key_file

function to_key_file(key_file:GLib.KeyFile, group_name:String):void {
    // Gjs wrapper for gtk_paper_size_to_key_file()
}

This function adds the paper size from size to key_file.

Since 2.12

key_file

the GLib.KeyFile to save the paper size to

group_name

the group to add the settings to in key_file