Re: XDrawLine ?



vivek wrote:

Hi all..
Can I use the XDrawLine () instead of the gdk_draw_line () in an application ?
I tried that, but it (XDrawLine) needs one more
parameter as 'connection'. How can I get it ?

Do you mean *display* parameter to Xlib call ? GDK_DISPLAY(), GDK_DRAWABLE_XDISPLAY() will help in this case.

   Olexiy





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