Skip to content

Instantly share code, notes, and snippets.

@oKcerG
Created September 28, 2016 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oKcerG/08bb84f59a4d37262a5c486229db3311 to your computer and use it in GitHub Desktop.
Save oKcerG/08bb84f59a4d37262a5c486229db3311 to your computer and use it in GitHub Desktop.
Access a descendant of an Item in QML
function descendant() {
var object = arguments[0];
for (var i = 1; i < arguments.length; ++i)
object = object.children[arguments[i]];
return object;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment