OSDN Git Service

Modified timeline status format
[gwit/gwit.git] / objects.py
1 #!/usr/bin/env python
2 #-*- coding: utf-8 -*-
3
4 class GtkObjects:
5     def __init__(self, objs):
6         for i in objs:
7             try:
8                 setattr(self, i.name, i)
9             except:
10                 try:
11                     setattr(self, i.get_name(), i)
12                 except:
13                     pass