how to display a image with the size of parent widget
- From: "杨宇" <shahezzferry gmail com>
- To: gtk-app-devel-list gnome org
- Subject: how to display a image with the size of parent widget
- Date: Fri, 26 Jan 2007 10:21:58 +0800
I design a program which is used for image display.(using glade 2)
In this program ,i use a notebook widget,the relation between notebook and
other widgets are as fallow:
notebook
------>page1
---->image
----->page2
i want to display the image in the whole window of page1,with a viewport
modifying the view of the image .
i use create_pixmap function of glade2 to creaste pixmap.
it's better if you have the code of this function ,thank you!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]