On Sun, May 22, 2016 at 10:57:54AM -0400, eric middelkoop wrote:
> When calling gp_widget_get_value() I noticed that when I only create the
> widget once and reuse it, the call will always return the same value, even
> if I change my camera settings (Nikon D800).
> It seems that if the widget is created new for every call to
> gp_widget_get_value(), I get an actual value.
> Is this intended behaviour or a bug? Seems like a waste of resource to
> recreate the widget every time.
camera_get_config* returns a static snapshot of the configuration tree/widgets.
So if you want to have the current changes, you need to query the widget / tree