Re: [gtk-list] draw_line
- From: Eric Harlow <linuxgeek yahoo com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] draw_line
- Date: Tue, 2 Mar 1999 07:05:41 -0800 (PST)
I have an example that draws a clock (with other examples). Visit
Download the chapter 10 examples.
---Sune Fischer <firstname.lastname@example.org> wrote:
> I need to know how to draw a line between to points, and that funktion
> is I belive
> but nothing happens.
> I have tried to hacke one of the examples that came with gtk, it draws
> a rectangle but uses a function to "realize" the rectangle.
> gdk_draw_rectangle (...)
> gtk_widget_draw (..., &rectangle)
> I don't know what to do to "realize" this:
> gdk_draw_line (pixmap, drawing_area->style->black_gc, 0, 0, 56, 78);
> I hope someone can help me with this problem?
> Thanks a billion everybody,
> Sune Fischer
> DO YOU YAHOO!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> To unsubscribe: mail -s unsubscribe email@example.com <
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
] [Thread Prev