|  |  |  | libunicapgtk Reference Manual |  | 
|---|---|---|---|---|
                    UnicapgtkDeviceProperty;
GType               unicapgtk_device_property_get_type  (void);
GtkWidget*          unicapgtk_device_property_new       (unicap_property_t *property_spec);
GtkWidget*          unicapgtk_device_property_new_by_handle
                                                        (unicap_handle_t handle,
                                                         unicap_property_t *property_spec);
gboolean            unicapgtk_device_property_set       (UnicapgtkDeviceProperty *ugtk,
                                                         unicap_property_t *property);
GtkWidget*          unicapgtk_device_property_get_label (UnicapgtkDeviceProperty *ugtk);
void                unicapgtk_device_property_set_label (UnicapgtkDeviceProperty *ugtk,
                                                         GtkWidget *label);
void                unicapgtk_device_property_redraw    (UnicapgtkDeviceProperty *ugtk);
void                unicapgtk_device_property_update    (UnicapgtkDeviceProperty *ugtk);
void                unicapgtk_device_property_redraw_sensitivity
                                                        (UnicapgtkDeviceProperty *ugtk);
void                unicapgtk_device_property_update_sensitivity
                                                        (UnicapgtkDeviceProperty *ugtk);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----UnicapgtkDeviceProperty
GtkWidget* unicapgtk_device_property_new (unicap_property_t *property_spec);
Creates a new UnicapgtkDeviceProperty widget.
| 
 | specification of the property which should be controlled by this widget. This could be acquired by unicap_enumerate_properties. | 
| Returns : | 
GtkWidget* unicapgtk_device_property_new_by_handle (unicap_handle_t handle, unicap_property_t *property_spec);
Creates a new UnicapgtkDeviceProperty widget and sets the handle.
If a handle is set on the widget, the widget will control the device directly, ie. if the user changes a value, the widget will call unicap_set_property(...) to change the value on the device.
| 
 | unicap handle of the device | 
| 
 | specification of the property which should be controlled by this widget. This could be acquired by unicap_enumerate_properties. | 
| Returns : | a new UnicapgtkDeviceProperty | 
gboolean unicapgtk_device_property_set (UnicapgtkDeviceProperty *ugtk, unicap_property_t *property);
| 
 | a UnicapgtkDeviceProperty | 
| 
 | the property to set. Must have the same identifier as used on creation of the widget. | 
| Returns : | TRUE if the change was successful | 
GtkWidget* unicapgtk_device_property_get_label (UnicapgtkDeviceProperty *ugtk);
| 
 | a UnicapgtkDeviceProperty | 
| Returns : | the label widget | 
void unicapgtk_device_property_set_label (UnicapgtkDeviceProperty *ugtk, GtkWidget *label);
| 
 | a UnicapgtkDeviceProperty | 
| 
 | the new label widget | 
void unicapgtk_device_property_redraw (UnicapgtkDeviceProperty *ugtk);
Updates the widgets to reflect the current property state
| 
 | a UnicapgtkDeviceProperty | 
void unicapgtk_device_property_update (UnicapgtkDeviceProperty *ugtk);
Reads the current property state from the device and updates the widget
| 
 | a UnicapgtkDeviceProperty | 
void                unicapgtk_device_property_redraw_sensitivity
                                                        (UnicapgtkDeviceProperty *ugtk);
Updates the widgets sensitivity state according to the auto/manual flags
| 
 | a UnicapgtkDeviceProperty | 
void                unicapgtk_device_property_update_sensitivity
                                                        (UnicapgtkDeviceProperty *ugtk);
Reads the current property state from the device and updates the widgets sensitivity
| 
 | a UnicapgtkDeviceProperty | 
"unicapgtk-device-property-changed" signalvoid user_function (UnicapgtkDeviceProperty *unicapgtkdeviceproperty, gpointer arg1, gpointer user_data) : Run First / Action
| 
 | the object which received the signal. | 
| 
 | |
| 
 | user data set when the signal handler was connected. |