Re: pixbuf outermost pixels are white

2013-08-23 Thread Jan Kratochvil
On Fri, 23 Aug 2013 21:15:14 +0200, Søren Sandmann wrote: > You probably want to set the extend mode to CAIRO_EXTEND_PAD by doing > the C++ equivalent of this: > > cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_PAD); > > after setting the pixbuf as the cairo source. It really

Re: pixbuf outermost pixels are white

2013-08-23 Thread Søren Sandmann
Jan Kratochvil writes: > Hi, > > I found somewhere on web how to draw custom data images into a widget using > Pixbuf. It basically works. > > Unfortunately the image always has the outermost source pixels mixed with > white border. I want the whole window to be just blue but it is not: >

Re: Printing GtkTextView contents

2013-08-23 Thread John Coppens
On Tue, 20 Aug 2013 15:25:23 -0700 (PDT) Marco Ricci wrote: > Is there a way by which I can query for the printer and use the results of > the query to send the contents of the GtkTextView? Can someone please point > me to a small example that does what I describe? I program using C on Linux.