Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Proposal to replace the 'visible' flag

FWIW:

On Thu, Oct 21, 2010 at 10:17 AM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote:
visibility = NONE      (no widget)
visibility = TO_RENDER (widget created but not shown)
visibility = VISIBLE   (widget made visible)

I've found this be a common idiom in UI controls.

Similarly, updating/refreshing/redrawing a UI control often follows a similar pattern:

* Mark the widget as dirty or otherwise trigger a refresh
* Recalculate where everything has to go now
* Actually move stuff around/repaint

HTH.  :)


Regards,

Dave Orme


Back to the top