var containment = new Activity

containment.addWidget("digital-clock") //obligatory :)

var gwenview = containment.addWidget("icon")
gwenview.writeConfig("Url", "gwenview.desktop")

var digikam = containment.addWidget("icon")
digikam.writeConfig("Url", "digikam.desktop")
