Hello neeohw,
you don't have to feel sorry, we're always happy to help
There are different ways to set the duration of a popup window.
First via xml-Files:
- You can set it directly inside the dialog file where you define the popupwindow
as an attribute like this:
Code: |
<popupwindow name="popup" duration="5" />
|
- Or more generally in your theme.xml:
Code: |
<class
name = "my_popupwindow"
type = "popupwindow"
duration = "5"
/>
|
and then use it inside the dialog file:
Code: |
<popupwindow name="popup" class="my_popupwindow" />
|
.
Another possibility is to use the API to set it dynamically inside your C++ code:
Code: |
this->popupwindow->setDuration(5);
|
Remember that setting it to
0 disables automatic hiding of the window. Values greater than
0 are meant in seconds.
Best regards,
Matthias
P.S.: You may also use our new mailing list at
http://ml.diskohq.com/cgi-bin/mailman/listinfo/disko-devel for questions.