Re: gtk_drawing_area: what am i missing?




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);





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