#!/usr/bin/env python

import gobject

class Account(gobject.GObject):

    name = gobject.property(type=str)
    online = gobject.property(type=bool, default=False)


a = Account()
a.name = 'marchino'
a.online = True

print 'account `%s` is %s' % (a.name, 'online' if a.online else 'offline')
