Jason L. Froebe – Tech tips and How Tos for Fellow Techies

Tips & Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more

How to resize a Gdk.Pixbuf to the size of a Gtk.Image visible area

by Jason L Froebe on January 12, 2010, 2 comments

I wrote a simple image viewer that will load a photo image into a Gtk.Image widget using a Gdk.Pixbuf.  I then added a tool bar with four clickable icons.  Zoom out, zoom in, fit to window and original size. All but the fit to window worked well.  When I pulled the width and height from [...]

Share Button
Facebook login by WP-FB-AutoConnect