Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Features/GTK3/Porting
(view source)
Revision as of 10:14, 14 November 2011
11 bytes removed
,
10:14, 14 November 2011
m
→Going from Drawable to Cairo
Line 206:
Line 206:
self.canvas.queue_draw_area(x, y, w, h)
self.canvas.queue_draw_area(x, y, w, h)
−
# Handle the expose
-
event
by drawing
+
# Handle the expose event
def do_expose_event(self, event):
def do_expose_event(self, event):
# Create the cairo context
# Create the cairo context
Walter
Bureaucrats
,
Administrators
10,533
edits