| Top |
| gboolean | bluetooth_chooser_button_available () |
| GtkWidget * | bluetooth_chooser_button_new () |
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.
gboolean
bluetooth_chooser_button_available (BluetoothChooserButton *button);
Returns whether there is a powered Bluetooth adapter.
GtkWidget *
bluetooth_chooser_button_new (void);
Returns a new BluetoothChooserButton widget.
“device” property “device” char *
The Bluetooth address of the selected device or NULL.
Owner: BluetoothChooserButton
Flags: Read / Write / Construct
Default value: NULL
“is-available” property“is-available” gboolean
TRUE if there is a powered Bluetooth adapter available.
See also: bluetooth_chooser_button_available()
Owner: BluetoothChooserButton
Flags: Read
Default value: TRUE
“chooser-created” signalvoid user_function (BluetoothChooserButton *self, GObject *chooser, gpointer user_data)
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.
self |
a BluetoothChooserButton widget |
|
chooser |
a BluetoothChooser widget |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last