Re: gtk_drawing_area: what am i missing?



On Tue, May 05, 1998 at 07:37:31PM -0400, Owen Taylor wrote:
> Andy Kahn <kahn@zk3.dec.com> writes:
> 
> > adding this line after creating the widget didn't have any
> > visible effect (i still get a blank window).  any other ideas?
> > --andy
> 
> Draw your text string inside the window? ;-)
> 
>                                         Owen
> 
> >	gdk_draw_string (widget->window, font, widget->style->black_gc,
> >		350, 110, "test a;slk jf;lakshdjf ;lj ;lj ;;lakjsd fl;kj");
> 
> [...]
> 
> >	gtk_drawing_area_size (GTK_DRAWING_AREA (widget), 350, 110);


whoops.. good eye.  gotta hate those brainfarts that come late
in the day. :)
--andy



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