Logo Search packages:      
Sourcecode: libgphoto2 version File versions  Download package

int gp_widget_changed ( CameraWidget widget )

Tells if the widget has been changed.

Parameters:
widgeta CameraWidget
Returns:
a gphoto2 error code or changed flag.

Returns 1 if the state of the CameraWidget has been changed or 0 if not. In addition, it resets the changed flag to 0.

Definition at line 859 of file gphoto2-widget.c.

{
        int val;

      CHECK_NULL (widget);

        val = widget->changed;
        widget->changed = 0;

        return (val);
}

Generated by  Doxygen 1.6.0   Back to index