Re: Scrolling a Cairo drawing-area or Gtk layout

2015-07-27 Thread Jim Charlton
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. *

RE: Scrolling a Cairo drawing-area or Gtk layout

2015-07-27 Thread Roger Matthews
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

Re: Scrolling a Cairo drawing-area or Gtk layout

2015-07-27 Thread Damien Caliste
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

Scrolling a Cairo drawing-area or Gtk layout

2015-07-25 Thread Roger Matthews
/*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