unchanged but adjust the projection
mapping as in glOrtho(). To zoom in, you decrease the size of the x and
y bounds of the viewing volume according to your scale factor.
On Wed, 2006-02-22 at 19:28 +0100, Philippe CHAUVAT wrote:
A little bit out of the list themas... but I wrote some program
Hello the list,
I wrote a program (Win32, VC++, Gtk2.8.10rc1, GLADE) which is describe
like the following tree:
- Window
- Vbox
- ScrolledWindow
- Viewport
- DrawingArea with GL support (gtk_widget_set_gl_capability
func) = named D.A.
- button
- and other things
I
Hello Yeti,
IIUC you are looking for size-allocate; size-request is
emitted when widget is asked for preferred size, but
size-allocate when it's told the actual allocation.
When I follow those steps:
- maximize the window: size_request and size_allocate are both called
- then reduce the
Axel Simon a écrit :
On Thu, 2006-02-09 at 15:14 +0100, Philippe CHAUVAT wrote:
Hello Yeti,
IIUC you are looking for size-allocate; size-request is
emitted when widget is asked for preferred size, but
size-allocate when it's told the actual allocation.
When I follow those steps:
- maximize