From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] [PATCH] add device selector widget
Date: Wed, 25 Jul 2007 10:04:31 +0200 [thread overview]
Message-ID: <1185350671.7111.108.camel@violet> (raw)
In-Reply-To: <1185294455.3641.141.camel@cookie.hadess.net>
Hi Bastien,
> It's a first draft of the device selector widget, which I'd like to use
> in the applet for gnome-vfs obexftp browsing, and in the wizard. Tadas
> can probably use it for the obex sending program as well.
>
> The test program shows how to use it. The API is dead simple.
>
> I also want to add a "Search" button, to restart a discovery, and combo
> boxes at the top of it to filter the type/class of device (known,
> recently used, recently discovered, and printer/phone/etc.).
>
> Big patch, but not really any other way to do it...
I really do like it and it is a good idea. However we need to change
this a little bit. What we need is multiple things:
BluetoothAdapterChooserWidget
This widget should make it possible to choose an adapter. It can be
either a combo box or a tree view depending on some property.
BluetoothAdapterChooserDialog
Uses the BluetoothAdapterChooserWidget and creates a dialog around.
BluetoothDeviceChooserWidget
Will present devices in range. Has a scan button and other possible
things to tweak it. And actually we should include maybe a widget to
choose the adapter if multiple are available and a property says that is
what we want.
BluetoothDeviceChooserDialog
Use the BluetoothDeviceWidget in a dialog and make it useful for simple
applications.
Mainly all of these four should be modeled along with the GtkFileChooser
stuff and work kinda similar.
Also having some kind of BluetoothDeviceButton that launches a dialog if
needed would be nice.
To shorten the widget names. We might better use _not_ the "Chooser"
word since it looks like Gtk compat stuff because the other name was
already taken by an older widget.
So BluetoothDeviceButton, BluetoothDeviceSelection and
BluetoothDeviceSelectionDialog might be appropriate. What do you think?
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2007-07-25 8:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-24 16:27 [Bluez-devel] [PATCH] add device selector widget Bastien Nocera
2007-07-25 8:04 ` Marcel Holtmann [this message]
2007-07-25 8:14 ` Bastien Nocera
2007-07-25 8:26 ` Marcel Holtmann
2007-07-25 9:37 ` Bastien Nocera
2007-07-25 10:34 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1185350671.7111.108.camel@violet \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox