view bin/gtk_dnd_demo.py @ 1097:f7618f29bb89

rewrite CurveSet. remove sliders support from curvecalc. curve edits now write quickly to the graph. Ignore-this: d0338e3a21636d992958594e878962e
author Drew Perttula <drewp@bigasterisk.com>
date Mon, 09 Jun 2014 03:05:32 +0000
parents 339e99981fd4
children a38955ba6f40
line wrap: on
line source

#!bin/python
import run_local
import gtk
import sys
sys.path.append(".")
from rdflib import URIRef
from light9.editchoicegtk import EditChoice, Local
from light9.observable import Observable
from light9.rdfdb.syncedgraph import SyncedGraph

win = gtk.Window()

graph = SyncedGraph("gtkdnddemo")

r1 = URIRef("http://example.com/interestingThing")
v = Observable(r1)
win.add(EditChoice(graph, v))
win.show_all()
gtk.main()