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

int gp_widget_get_name ( CameraWidget widget,
const char **  name 

Gets the name of the widget.

widget a CameraWidget
name Name of above widget
a gphoto2 error code.

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

References CHECK_NULL, GP_OK, and _CameraWidget::name.

      CHECK_NULL (widget && name);

      *name = widget->name;
      return (GP_OK);

Generated by  Doxygen 1.6.0   Back to index