Hello, Use the following functions: GtkWidget *gtk_drawing_area_new ( void ) void gtk_drawing_area_size ( GtkDrawingArea *darea, gint width, gint height )
Description of the Prototypes: darea: The Drawing Area whose size you are setting width, height : The desired size of the area in pixels Use it this way: GtkWidget *draw_area; draw_area=gtk_drawing_area_new(void); gtk_drawing_area_size(GtkDrawingArea(draw_area), 50, 50); /*Use your own width and height*/ Then set draw_area as some other widget's child as you normally do. Hope this helps Arko On Tue, 2003-03-25 at 12:36, payal kundu wrote: > > how to use GTK drawing area, give a detailed > description............... > > > __________________________________________________ > Do you Yahoo!? > Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > http://platinum.yahoo.com > > -- > To unsubscribe, send mail to [EMAIL PROTECTED] with the body > "unsubscribe ilug-cal" and an empty subject line. > FAQ: http://www.ilug-cal.org/node.php?id=3 -- To unsubscribe, send mail to [EMAIL PROTECTED] with the body "unsubscribe ilug-cal" and an empty subject line. FAQ: http://www.ilug-cal.org/node.php?id=3
