[gtkada] Set_Back_Pixmap
Emmanuel Briot
briot at ACT-Europe.FR
Mon Aug 27 11:10:26 CEST 2001
Chris Sparks writes:
> Has anyone tried to set the background pixmap of a window more than once? I can
> set it the first time, however, if I want to try and set it to something else,
> later on, it doesn't change from the original.
>
> An application I am developing is trying to show a pixmap on a button, In its
> quiescent (sp?) state it shows the pixmap one way and when a user presses the
> button it changes to a reverse video representation (another pixmap).
Would Gtk.Style.Set_Bg_Pixmap do the job for you ? Since these are for specific
states, you can specify the two pixmaps for the states:
State_Normal
State_Active (I believe, maybe it is State_Selected)
Emmanuel
More information about the gtkada
mailing list