| gnome-bluetooth Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <bluetooth-chooser-button.h> struct BluetoothChooserButtonClass; gboolean bluetooth_chooser_button_available (BluetoothChooserButton *button); GtkWidget * bluetooth_chooser_button_new (void);
A button used to select Bluetooth devices which will pop-up a BluetoothChooser widget inside a dialogue when clicked.
struct BluetoothChooserButtonClass {
GtkButtonClass parent_class;
void (*chooser_created) (BluetoothChooserButton *self, GtkWidget *chooser);
};
gboolean bluetooth_chooser_button_available (BluetoothChooserButton *button);
Returns whether there is a powered Bluetooth adapter.
|
a BluetoothChooserButton |
Returns : |
TRUE if there is a powered Bluetooth adapter available, and the button should be sensitive. |
GtkWidget * bluetooth_chooser_button_new (void);
Returns a new BluetoothChooserButton widget.
Returns : |
a BluetoothChooserButton widget. |