| Top |
| GtkWidget * | unicapgtk_device_selection_new () |
| gint | unicapgtk_device_selection_rescan () |
| gboolean | unicapgtk_device_selection_set_device () |
| void | unicapgtk_device_selection_set_label_fmt () |
GObject
╰── GInitiallyUnowned
╰── GtkObject
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkComboBox
╰── UnicapgtkDeviceSelection
UnicapgtkDeviceSelection implements AtkImplementorIface, GtkBuildable, GtkCellLayout and GtkCellEditable.
GtkWidget *
unicapgtk_device_selection_new (gboolean include_rescan_entry);
Creates a new UnicapgtkDeviceSelection
gint
unicapgtk_device_selection_rescan (UnicapgtkDeviceSelection *combo);
Tiggers rescan of available video capture devices and updates the combo box.
gboolean unicapgtk_device_selection_set_device (UnicapgtkDeviceSelection *combo,unicap_device_t *device);
Sets the combo box to the given device.
void unicapgtk_device_selection_set_label_fmt (UnicapgtkDeviceSelection *combo,const gchar *fmt);
Sets the format string for the device labels. The following special sequences are currently supported:
%i: Identifier
%v: Vendor Name
%m: Model Name
%s: Model Id, hexadecimal with lowercase letters
%S: Model Id, hexadecimal with uppercase letters
%p: Vendor Id, hexadecimal with lowercase letters
%P: Vendor Id, hexadecimal with uppercase letters
“unicapgtk-device-selection-changed” signalvoid user_function (UnicapgtkDeviceSelection *unicapgtkdeviceselection, gchar *arg1, gpointer user_data)
Flags: Action