GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Sat Aug 23, 2014 1:23 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: HI HOW TO CLEAR THE SCREEN AFTER DRAWING A LINE
PostPosted: Mon Dec 31, 2007 8:19 am 
Offline

Joined: Thu Dec 27, 2007 12:06 pm
Posts: 2
HI HOW TO CLEAR THE SCREEN AFTER DRAWING A LINE USING GDK_DRAW_LINE ????


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 04, 2008 12:45 am 
Offline
Never Seen the Sunlight

Joined: Wed Sep 21, 2005 3:07 am
Posts: 384
Location: Fairfax, Virginia
That function is used on a GdkDrawable object, which according to the documentation is "an opaque structure representing an object that can be drawn onto. This can be a GdkPixmap, a GdkBitmap, or a GdkWindow."

Therefore, use gdk_window_clear() or gdk_window_clear_area().

_________________
Andrew Krause

Foundations of GTK+ Development: Buy now for only $31.49!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group