Gtk.Socket.new

function new():Gtk.Widget {
    // Gjs wrapper for gtk_socket_new()
}

Create a new empty Gtk.Socket.

Returns

the new Gtk.Socket.