Re: wipe effect in a widget

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

 



The gtk-demo application is having the wipe style used in "Image" section as progressive load. Alternatively if you want to get your hands dirty...
you can
  1. Load the image into a pixbuf
  2. use a timer to call a draw function
  3. inside the draw function
    1. create a cairo context
    2. use Gdk::Cairo::set_source_pixbuf to select the pixbuf with image as the source of this new cairo context
    3. progressively draw rectangle on the target drawing area

2009/3/4 nishit sharma <sharmafrequent@xxxxxxxxx>
HI All,

Can anybody provide me some sample application in which the wipe effect for a widget is implemented. I m new in this and unable to get the solution for this.

Thanks

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux