On 21 Apr 2001, Havoc Pennington wrote:

> 
> Hi,
> 
> Drawing to a layout you have to draw to layout->bin_window and offset
> by layout->xoffset and layout->yoffset.

You mean that I should offset the drawing coordinates like this:

gdk_draw_line(GTK_LAYOUT(widget)->bin_window, widget->style->black_gc, xini, yini, 
xfin + layout->xoffset, yfin + layout->yoffset);

> 
> Havoc
> 

Jose.


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to