[gnome-bluetooth] Questions?

Bastien Nocera hadess at hadess.net
Thu Apr 16 20:05:47 CEST 2009


On Thu, 2009-04-16 at 23:23 +0530, Ratnadeep Debnath wrote:
> Thanks for replying.
> I am going through the gnome-bluetooth source code. I am trying to
> find the function which is responsible for listing the available
> bluetooth devices ( searching for active devices and showing paired
> devices). I wonder if it is in the file bluetooth-choser.c. Like when
> trying to send files or browse device, the functions are called from
> the main.c files in the /wizard/ and /send-to/ folders of the
> gnome-bluetooth src directory. But I am new to gtk and so I am
> learning it. A little help in this regard will be highly appreciated.

We use BlueZ's D-Bus interface. Most of the code lies in
common/bluetooth-client.c.

I'm not sure what you're trying to do, but the BluetoothChooser widget
is probably what you want to use, and there's API documentation
available in devhelp when you install gnome-bluetooth.

Cheers



More information about the gnome-bluetooth mailing list