[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [CRM114spam]: expose event following button press/release event
- From: Tony Wang <wangtao adi gmail com>
- To: "Dr. David Alan Gilbert" <gilbertd treblig org>
- Cc: gtk-devel-list <gtk-devel-list gnome org>, gtk-app-devel-list gnome org, gtk-list gnome org
- Subject: Re: [CRM114spam]: expose event following button press/release event
- Date: Tue, 19 May 2009 09:28:21 +0800
The whole UI redraw itself, so the whole UI flickers.
Tony
On Mon, May 18, 2009 at 8:12 PM, Dr. David Alan Gilbert <
gilbertd treblig org> wrote:
> * Tony Wang (wangtao adi gmail com) wrote:
> > Hi Guys,
> > Why there is always one expose-event after
> > the button-press-event(and button-release-event)? that means my app
> redraw
> > itself twice for one button event, which made the app UI flickers, any
> clues
> > for settling the problem?
>
> Because the button is highlighted when you press it and returned to normal
> when you release. Is it just the button that's getting the redraw
> or something else?
> (You can also get a redraw for the highlight box indicating who has
> the focus)
>
> Dave
> --
> -----Open up your eyes, open up your mind, open up your code -------
> / Dr. David Alan Gilbert | Running GNU/Linux on Alpha,68K| Happy \
> \ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
> \ _________________________|_____ http://www.treblig.org |_______/
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]