wlt: toolkit: add helpers to create/manage selections
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 7 Oct 2012 13:08:03 +0000 (15:08 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 7 Oct 2012 13:08:03 +0000 (15:08 +0200)
commit166dcc5a099fd870e9b876fda8fb152c2cdd3c4c
treebcc9c70fe97de74c5f2c029e80a834d4b1ae4560
parent3ecd09ddd30e2139b437d10ba7ad66daeb4ba89e
wlt: toolkit: add helpers to create/manage selections

Two new helpers which are needed to implement copy-support. They create
data-sources and set the current selection-source. This allows widgets to
copy data for others to paste.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/wlt_toolkit.c
src/wlt_toolkit.h