Results 1 to 2 of 2
iam fairly new to gtk but i really want to dig in deep. iam trying to create image viewer in gtk. now i have a scrolledwindow with gtkimage in it ...
- 02-02-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 1
gtk help! scrolledwindow refresh problem
iam fairly new to gtk but i really want to dig in deep. iam trying to create image viewer in gtk. now i have a scrolledwindow with gtkimage in it as viewport. the problem is that when i zoom in or out the image should resize... now i have written the code for it but how do i refresh the change in scrolledwindow? as how to refresh it with change in gtkimage size.... like in java there is a repaint() function..
plz help
- 02-02-2009 #2
Try this web site:
and look up gtk_widget_set_app_paintable and expose_event
GNOME Library
Welcome to the forums


Reply With Quote