[Glade-users] faking a zoom in operation



Daniel Isenegger wrote:

Hi
a newbie question (i'm new to glade as well as gnome programming):
i'm started to design an interface with glade for an application where 
you can zoom in an image (i use gnome widgets)
-cut-

Hi, i think you can use  gdk_pixbuf_scale_simple( )
http://www.gtk.org/api/2.6/gdk-pixbuf/gdk-pixbuf-scaling.html#gdk-pixbuf-scale

then, if you have to fill a gtkimage widget you can use gtk_image_set_ 
from_pixbuf ( )
http://www.gtk.org/api/2.6/gtk/GtkImage.html

i don't know if this suggestions can help you, because i'm also a newbie ;-)
bye
Fox
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Invia SMS animati, classici, SMS pronti, divertenti, e tanti altri, clicca e divertiti!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2851&d=16-3




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