From 05668dfad7cf59be41c312421b224391a6abd26b Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 11 Oct 2007 19:04:40 +0000 Subject: fixed alert doku --- (limited to 'sugar/graphics') diff --git a/sugar/graphics/alert.py b/sugar/graphics/alert.py index 2fd54f8..960cbef 100644 --- a/sugar/graphics/alert.py +++ b/sugar/graphics/alert.py @@ -12,8 +12,10 @@ class Alert(gtk.EventBox, gobject.GObject): Alerts are used inside the activity window instead of being a separate popup window. They do not hide canvas content. You can - use add_alert(widget, position) and remove_alert(widget) inside - your activity to add and remove the alert. + use add_alert(widget) and remove_alert(widget) inside your activity + to add and remove the alert. You can set the position (bottom=-1, + top=0,1) for alerts global for the window by changing alert_position, + default is bottom. Properties: 'title': the title of the alert, -- cgit v0.9.1