[maemo-developers] gtk.ToggleButton won't hold state

From: Tony Maro tonymaro at gmail.com
Date: Tue Aug 14 18:31:49 EEST 2007
> On 8/14/07, Tony Maro <tonymaro at gmail.com> wrote:
> >
> > I'v dumped a gtk.togglebutton on a window, but 99% of the time when you
> > click it, it pops right back up.  Happens with both finger and stylus.
> >
> > I've connected no events to it, and I'm not programmatically doing
> > anything to the button.
> >
> > Is this a "feature" of the touchscreen, or am I assuming the wrong
> > action here?
> >

I just had one of those "Oh crap, I should have kept my mouth shut"
moments.  It's the theme.  It _looks_ untoggled because it still has focus -
looking closer shows the text in the button shifted down and left.  Once it
loses focus, it draws in a dark color.

Ugh.  Move along, there's nothing to see here.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070814/56aa7668/attachment.htm 
More information about the maemo-developers mailing list