diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-10-11 19:04:40 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-10-11 19:04:40 (GMT) |
commit | 05668dfad7cf59be41c312421b224391a6abd26b (patch) | |
tree | f4c7bf5f59241b7d7ffac2f0571a5dea1a5e4120 /sugar/graphics | |
parent | ddb400df91672576fe834b5cc0623e8b1df9f630 (diff) |
fixed alert doku
Diffstat (limited to 'sugar/graphics')
-rw-r--r-- | sugar/graphics/alert.py | 6 |
1 files changed, 4 insertions, 2 deletions
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, |