2016-03-14, 17:32
I am trying to create a custom dialog in my Super Favourites addon based on the new DialogConfirm.xml dialog
In particular I want to be able set the percent of the progress bar, looking at the xml I see that the progress bar looks like this:
So I was hoping that (in python) I could periodically (say 1 per second) update the System.Progressbar value somehow, and the dialog would update to reflect this?
Is this possible or am I barking up the wrong tree.
In particular I want to be able set the percent of the progress bar, looking at the xml I see that the progress bar looks like this:
Code:
<control type="progress" id="20">
<description>Progressbar</description>
<left>45</left>
<top>252</top>
<width>825</width>
<height>24</height>
<info>System.Progressbar</info>
</control>
So I was hoping that (in python) I could periodically (say 1 per second) update the System.Progressbar value somehow, and the dialog would update to reflect this?
Is this possible or am I barking up the wrong tree.