Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Indeterminate Progress Bars

a) Add a style bit to ProgressBar indicating that the ProgressBar will be rendered indeterminate (SWT.INDETERMINATE perhaps), and if this bit is set, calls to ProgressBar.setMaximum, ProgressBar.setMinimum, and ProgressBar.setSelection have no visible effect

Yes! +1

And will this bit be a 'hint' that can be ignored if the platform provides no support for it?
Or will SWT provide emulation on these platforms?

b) Consider ProgressBar.setSelection (-1) to place the ProgressBar into indeterminate rendering mode, where calls to ProgressBar.setMaximum and ProgressBar.setMinimum have no visible effect.


No.

--andre


Back to the top