summaryrefslogtreecommitdiffstats
path: root/ibus/attribute.py
diff options
context:
space:
mode:
authorHuang Peng <shawn.p.huang@gmail.com>2008-06-22 21:59:56 +0800
committerHuang Peng <shawn.p.huang@gmail.com>2008-06-22 21:59:56 +0800
commite2da599389bef2878ae83b4b1a318926fe97edf9 (patch)
treeff97a695965592fe7ed1bc384e0ddc85412e2911 /ibus/attribute.py
parentac95983afa62e6960bdf674bbe9d393e67a6fded (diff)
downloadibus-e2da599389bef2878ae83b4b1a318926fe97edf9.tar.gz
ibus-e2da599389bef2878ae83b4b1a318926fe97edf9.tar.xz
ibus-e2da599389bef2878ae83b4b1a318926fe97edf9.zip
Add __all__ in ibus source files to limit the exported objects.
Diffstat (limited to 'ibus/attribute.py')
-rw-r--r--ibus/attribute.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/ibus/attribute.py b/ibus/attribute.py
index 2b8ba0c..fad9abe 100644
--- a/ibus/attribute.py
+++ b/ibus/attribute.py
@@ -19,6 +19,20 @@
# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
+__all__ = (
+ "ATTR_TYPE_UNDERLINE",
+ "ATTR_TYPE_FOREGROUND",
+ "ATTR_TYPE_BACKGROUND",
+ "Attribute",
+ "AttributeUnderline",
+ "AttributeForeground",
+ "AttributeBackground",
+ "AttrList",
+ "attribute_from_dbus_value",
+ "attr_list_from_dbus_value",
+ "ARGB", "RGB"
+ )
+
import dbus
ATTR_TYPE_UNDERLINE = 1