Re: icon visible



Monserrat Seisdedos Nuņez <mseisdedos cirsa com> writes:
> I have a toolbar with both icons, and label in each button, if i press no
> sensitive button i get two different situations:
> 	a) gtk stock icons, like clear, cut, paste....., works ok: both icon
> an label get insensitive, 
> 	b) buttons with my own icons, the lagel gets insensitive but icons
> remains sensitive.
> Any body knows why????
> 

(Assuming GTK 1.3.6)

You have to use GtkIconSet if you want the insensitive effect. 
Register your icons with the stock system, the "Main application
window" demo in gtk-demo has an example.

Havoc





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