This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Scripting: set size and position for folderview (javascript)

Tags: None
(comma "," separated)
User avatar
Schoelje
Registered Member
Posts
32
Karma
0
OS
After I add a folderview:
Code: Select all
folderview = desktop.addWidget("folderview")
folderview.writeConfig("url", "desktop:/")

How can I position the folderview 10 pixels from the right side of the screen and resize it to 300x150 pixels?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
For the size - see http://techbase.kde.org/KDE_System_Admi ... Object_API
In particular - the 'geometry' attribute.

I do not know if you can configure it's position.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]