Scrolling a drawing area
- Date: Sat, 10 May 2008 16:19:25 -0400
- From: "Ariel Martinez" <ama0021@xxxxxxxxxxxxxxx>
- Subject: Scrolling a drawing area
I am using gtk_scrolled_window_add_with_viewport() to get scrolling capabilities for a drawing area. In my program, I am drawing to a backing pixmap which I in turn draw onto the drawing area with an expose event handler. The problem I am having is that even though the pixmap is larger than the drawing area, the drawing area does not scroll. If however, I use gtk_set_size_request() on the drawing area to increase its dimensions, the drawing area scrolls. Any suggestions on what I could be doing wrong? Thanks.
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list
- Follow-Ups:
- Re: Scrolling a drawing area
- From: Diego Rivera
- Re: Scrolling a drawing area
- Prev by Date: Re: Setting an image as background in a GtkVbox
- Next by Date: Re: Scrolling a drawing area
- Previous by thread: Global hotkey
- Next by thread: Re: Scrolling a drawing area
- Index(es):