Top |
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkButton ╰── BluetoothChooserButton
Implemented Interfaces
BluetoothChooserButton implements AtkImplementorIface, GtkBuildable, GtkActionable and GtkActivatable.
Description
A button used to select Bluetooth devices which will pop-up a BluetoothChooser widget inside a dialogue when clicked.
Functions
bluetooth_chooser_button_available ()
gboolean
bluetooth_chooser_button_available (BluetoothChooserButton *button
);
Returns whether there is a powered Bluetooth adapter.
bluetooth_chooser_button_new ()
GtkWidget *
bluetooth_chooser_button_new (void
);
Returns a new BluetoothChooserButton widget.
Property Details
The “device”
property
“device” gchar *
The Bluetooth address of the selected device or NULL
.
Flags: Read / Write / Construct
Default value: NULL
The “is-available”
property
“is-available” gboolean
TRUE
if there is a powered Bluetooth adapter available.
See also: bluetooth_chooser_button_available()
Flags: Read
Default value: TRUE
Signal Details
The “chooser-created”
signal
void 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.
Parameters
self |
a BluetoothChooserButton widget |
|
chooser |
a BluetoothChooser widget |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last