Re: GTK+ at the UX Hackfest



On Tue, 2010-03-02 at 13:06 +0100, Filippo Argiolas wrote:
> On Mon, Mar 1, 2010 at 3:57 PM, Bastien Nocera <hadess hadess net> wrote:
> > Heya,
> Hey,
> 
> > Widgets
> > -------
> >
> > Having often used widgets in GTK+ means that we reduce differences in
> > appearance and behaviour between applications and make applications
> > easier to maintain.
> >
> > If the APIs are carefully thought of, usability and design changes can
> > be made without touching the applications.
> >
> > A couple of widgets were mentioned:
> > - a sidebar widget (which I never followed-up on):
> > https://bugzilla.gnome.org/show_bug.cgi?id=307044
> > - a breadcrumb navigation widget (which could be used in nautilus, the
> > file chooser and yelp, for example)
> > No bugs filed, Cody will be working on filing a bug, and start
> > discussions about the API soon
> > - Segmented bar? It's used in Rhythmbox, Banshee, the Ubuntu installer
> > and could probably be used in others
> > There's a C version in Rhythmbox now:
> > https://bugzilla.gnome.org/show_bug.cgi?id=558576
> > - Others?
> 
> In Cheese we'd like to have something that I'd call ButtonGroup,
> ToggleButtonGroup or RadioButtonGroup, something like a breadcrumb
> (see e.g. screenshots at http://audidude.com/?p=27) but without the
> breadcrumb logic. Maybe the breadcrumb could be a subclass of
> this/these widget/widgets.

Breadcrumb is probably more complicated than any of those, to be fair.

> We would use it in the toolbar in the "mode selector"
> (gnome.org/~fargiolas/togglegroup.png), currently we use three toggle
> buttons related to three radio actions but it would be great to style
> them as a single widget.
> Anyone else would like a widget like this?

Seems to me that this widget would be a sub-class of a RadioButton. It's
a toggle button that's part of a RadioButtonGroup.

My guess is that you could probably get this widget added to GTK+, as
long as you give a formal explanation as to why you're not using a radio
button for this.

Cheers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]