I did some testing of the code and also found that getting scroll bars
to appear was not so easy. The only way that I could get them to appear
was to modify the code with a container layout of:
layout2-viewport-scrolled window-window2.
Here is the section of the code that I altered.
*
From: damien.cali...@cea.fr
To: gtk-app-devel-list@gnome.org
Subject: Re: Scrolling a Cairo drawing-area or Gtk layout
Hello,
Le 21/07/2015, Roger Matthews roger.matth...@hotmail.com a écrit :
which results from a simple straight line equation, and*/ /* that
extends beyond the bounds
Hello,
Le 21/07/2015, Roger Matthews roger.matth...@hotmail.com a écrit :
which results from a simple straight line equation, and*/ /* that
extends beyond the bounds of the window.
Reading your code quickly, it seems to me that, you're drawing indeed
the line outside the drawing area, *but* the
/*Hello, if there is anybody willing to help with this problem I would be very
appreciative and thanks in advance. Here is some code and my problem is this: */
/*I create two windows, one with spinbuttons for parameter entry, and the other
shows a cairo line which results from a simple straight