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

int gp_widget_set_name ( CameraWidget widget,
const char *  name 
)

Sets the name of the widget.

Parameters:
widget a CameraWidget
name Name of above widget
Returns:
a gphoto2 error code.

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

References CHECK_NULL, GP_OK, and _CameraWidget::name.

{
      CHECK_NULL (widget && name);

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


Generated by  Doxygen 1.6.0   Back to index