VICE svn2rss single commit view

34454 by compyx

Date:
Mon, 12 Feb 2018 15:39:46 +0100

Commit-Message:
Gtk3: Start work a on sensible API for base widgets

Since not all base widgets use the same function names for the same functionality, I've decided to do implement a 'shared' API for the widgets. The idea is to use the following names:

new() to create a new instance
set() to set a new value for the widget and its resource
get() to retrieve the resource's current value
reset() to revert a resource to the value it had when the widget instance was created
sync() to synchronize the widget with its resource value (useful when code other than the widget's code modifies the resource)
factory() to reset widget and resource to the resource's factory value


Changed Files: