Re: How to dim a button



On Tue, 2002-03-26 at 09:36, G Hasse wrote:

Hello!

In my userinterface i have a lot of buttons. Some of them are
togglebuttons. When I select som of the togglebuttons I
want to "dimm" som of the buttons. Is there any prefered or simple
way to do this. As for now I change font and block the
events in the buttons callbacks. This is a cumbersom and
error prune way to do it though.

I'm guessing this is what you mean:

gtk_widget_set_sensitive(button, FALSE);


Göran Hasse

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

-- 
Gustavo João Alves Marques Carneiro
<gjc inescporto pt> <gustavo users sourceforge net>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]