BluetoothChooserButton

BluetoothChooserButton — a Bluetooth chooser button

Stability Level

Stable, unless otherwise indicated

Synopsis

#include <bluetooth-chooser-button.h>

struct              BluetoothChooserButtonClass;
gboolean            bluetooth_chooser_button_available  (BluetoothChooserButton *button);
GtkWidget *         bluetooth_chooser_button_new        (void);

Description

A button used to select Bluetooth devices which will pop-up a BluetoothChooser widget inside a dialogue when clicked.

Details

struct BluetoothChooserButtonClass

struct BluetoothChooserButtonClass {
  GtkButtonClass parent_class;

  void (*chooser_created) (BluetoothChooserButton *self, GtkWidget *chooser);
};


bluetooth_chooser_button_available ()

gboolean            bluetooth_chooser_button_available  (BluetoothChooserButton *button);

Returns whether there is a powered Bluetooth adapter.

button :

a BluetoothChooserButton

Returns :

TRUE if there is a powered Bluetooth adapter available, and the button should be sensitive.

bluetooth_chooser_button_new ()

GtkWidget *         bluetooth_chooser_button_new        (void);

Returns a new BluetoothChooserButton widget.

Returns :

a BluetoothChooserButton widget.