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

int gp_widget_set_info ( CameraWidget widget,
const char *  info 
)

Sets the information about the widget.

Parameters:
widget a CameraWidget
info Information about above widget
Returns:
a gphoto2 error code.

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

References CHECK_NULL, GP_OK, and _CameraWidget::info.

{
      CHECK_NULL (widget && info);

      strcpy (widget->info, info);
      return (GP_OK);
}


Generated by  Doxygen 1.6.0   Back to index