import gtk

def print_clip (clipboard, text, clip_history_model):
	print text


def get_clip ():
	clip = gtk.Clipboard ()
	clip.request_text (print_clip)


def set_clip (text):
	clip = gtk.Clipboard ()
	clip.set_text (text)

get_clip ()
set_clip ("foo")
