RE: [gtkmm] ScrolledWindow doesn't scroll a DrawingArea



If you don't find a solution then add the simple test case to bugzilla and
maybe someone will investigate it more fully.

Murray Cumming
murrayc usa net
www.murrayc.com 

> -----Original Message-----
> From: Nik A. Melchior [mailto:nam1 cse wustl edu] 
> Sent: Donnerstag, 24. Juli 2003 21:27
> To: Paul Davis
> Cc: gtkmm-list gnome org
> Subject: Re: [gtkmm] ScrolledWindow doesn't scroll a DrawingArea 
> 
> 
> On Thu, 24 Jul 2003, Paul Davis wrote:
> 
> > >I've found a far simpler example of a broken 
> ScrolledWindow displaying a
> > >DrawingArea.  This is (as much as I know how) directly 
> converted from a
> > >straight C example that *does* work.  I can post the C 
> code if anyone is
> > >interested in comparing, but the unintended behavior 
> should be pretty
> > >obvious from running this.  I hope I'm simply missing an 
> event handler or
> > >something.
> > 
> > i suggest you try add_with_viewport() instead of add(). 
> add() does not
> > work unless the child widget has its own builtin scrolling 
> abilities,
> > which a drawing area does not.
> > 
> 
> I should mention that I am using gtkmm2.0.  
> add_with_viewport() does not
> exist in this version.  However, the documentation states 
> that a viewport
> will be added if you attempt to add() something that does not support
> scrolling.
> 
> --Nik Melchior
> 
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]