summaryrefslogtreecommitdiffstats
path: root/ibus/object.py
blob: af6a0fee83b9fae5bad5bf616817ebf94a9cc669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gobject

class Object (gobject.GObject):
	__gsignals__ = {
		'destroy' : (
			gobject.SIGNAL_RUN_FIRST, 
			gobject.TYPE_NONE,
			())
	}

	def destroy (self):
		self.emit ("destroy")

gobject.type_register (Object)