| gnome-bluetooth Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
#include <bluetooth-chooser-button.h>
BluetoothChooserButton;
struct BluetoothChooserButtonClass;
gboolean bluetooth_chooser_button_available (BluetoothChooserButton *button);
GtkWidget * bluetooth_chooser_button_new (void);
GObject
+----GInitiallyUnowned
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----BluetoothChooserButton
BluetoothChooserButton implements AtkImplementorIface, GtkBuildable, GtkActionable and GtkActivatable.
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. |
"device" property "device" gchar* : Read / Write / Construct
The Bluetooth address of the selected device or NULL.
Default value: NULL
"is-available" property "is-available" gboolean : Read
TRUE if there is a powered Bluetooth adapter available.
See also: bluetooth_chooser_button_available()
Default value: TRUE
"chooser-created" signalvoid user_function (BluetoothChooserButton *self,
GObject *chooser,
gpointer user_data) : Run Last
The signal is sent when a popup dialogue is created for the user to select a device. This signal allows you to change the configuration and filtering of the tree from its defaults.
|
a BluetoothChooserButton widget |
|
a BluetoothChooser widget |
|
user data set when the signal handler was connected. |