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

int gp_widget_get_label ( CameraWidget widget,
const char **  label 
)

Retrieves the label of the CameraWidget.

Parameters:
widget a CameraWidget
label 
Returns:
a gphoto2 error code.

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

References CHECK_NULL, GP_OK, and _CameraWidget::label.

{
      CHECK_NULL (widget && label);

      *label = widget->label;
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index