Gtk.WidgetPath.prototype.iter_list_classes

function iter_list_classes(pos:Number):[String] {
    // Gjs wrapper for gtk_widget_path_iter_list_classes()
}

Returns a list with all the class names defined for the widget at position pos in the hierarchy defined in path.

Since 3.0

pos

position to query, -1 for the path head

Returns

The list of classes, This is a list of strings, the GLib.SList contents are owned by GTK+, but you should use GLib.free to free the list itself.