Method GTK2.DrawingArea()->draw_point()
- Method draw_point
GTK2.DrawingArea
draw_point(GTK2.GdkGC
gc
,int
x
,int
y
)- Description
img_begin w = GTK2.DrawingArea()->set_size_request(10,10); delay: g = GDK2.GC(w)->set_foreground( GDK2.Color(255,0,0) ); delay: for(int x = 0; x<10; x++) w->draw_point(g, x, x); img_end