[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: GtkButton doesn't always react on mouse clicks
From:       Billy Biggs <vektor () dumbterm ! net>
Date:       2005-11-03 3:05:41
Message-ID: 20051103030541.GH25276 () dumbterm ! net
[Download RAW message or body]

Brian J. Tarricone (bjt23@cornell.edu):

> On 11/2/2005 12:07 PM, Nickolai Dobrynin wrote:
> > Anybody please could tell me how to make the button that was just
> > re-activated receive the click signals without first having to move the
> > mouse away and then move it back on? (I am using gtk v. 2.4.11). Evidently,
> > the button fails to recognize that the mouse is over it at the time it
> > becomes sensitive again.
> 
> I've seen this problem before with gtk 2.8.x as well.  Seems like a
> semi-obscure gtk bug.

  http://bugzilla.gnome.org/show_bug.cgi?id=56070

  A workaround is to hide/show the widget.

  gtk_widget_set_sensitive (button, TRUE);
  gtk_widget_hide (button);
  gtk_widget_show (button);

  Although depending on the situation this workaround might not work so
well for you.

  -Billy

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic