| gnome-bluetooth Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
#include <bluetooth-plugin.h>
BluetoothChooserButton;
GtkWidget * bluetooth_chooser_button_new (void);
gboolean bluetooth_chooser_button_available (BluetoothChooserButton *button);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----BluetoothChooserButton
BluetoothChooserButton implements AtkImplementorIface, GtkBuildable, GtkExtendedLayout and GtkActivatable.
A button used to select Bluetooth devices which will pop-up a BluetoothChooser widget inside a dialogue when clicked.
GtkWidget * bluetooth_chooser_button_new (void);
Returns a new BluetoothChooserButton widget.
Returns : |
a BluetoothChooserButton widget. |
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.
|
"device" property"device" gchar* : Read / Write
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. |