draw line in gtk



Hi,
I drawn line using gdk_draw_line (draw->window,draw->style->fg_gc[GTK_WIDGET_STATE(draw)],23,20,23,450); on drawing area widget. But, it comes once and vanishes. When i called gtk_timeout_add() function it is contineous. Can somebody tell me, how i can draw a line without using gtk_timeout_add().

thanks,
\Utpal



============================================================================================================================

The contents of this e-mail are confidential to the ordinary user of the e-mail address to which it was addressed and may also be privileged. If you are not the addressee of this e-mail you should not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please notify us by telephone or e-mail the sender by replying to this message, and then delete this e-mail and other copies of it from your computer system. Thank you.






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