Changing pixmaps


I am new to programming using gtk and have this problem. I have a window
with just one pixmap(first.xpm) and one button. When the button is clicked
I want the pixmap  to change to second.xpm. How do i implement this.

I read the gtk tutorial but couldn't find a way to do this.


Sukanta Kumar Hazra
" Testing, what is that? If it compiles it is good, 
  if it boots its perfect " ....... Linus Torvalds

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