Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2002:
[Freeciv-Dev] Re: Nation Selection Dialog (Resubmit) [Patch] (PR#2057)
Home

[Freeciv-Dev] Re: Nation Selection Dialog (Resubmit) [Patch] (PR#2057)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel L Speyer <dspeyer@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Nation Selection Dialog (Resubmit) [Patch] (PR#2057)
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 14 Sep 2002 21:52:05 -0500

On Sat, Sep 14, 2002 at 10:14:15PM -0400, Daniel L Speyer wrote:
> On Sat, 14 Sep 2002, Mike Kaufman wrote:
> [snip]
> > > > o it'd be really nice if you could highlight the toggle button when a
> > > >   nation is selected from the drop down box.
> > > 
> > > AFAICT, this is already there
> > 
> > no, but I played around, and it is not easy (I don't mean depressing the
> > toggle button, I mean putting a border around the entire button (with
> > flag) or changing it's background color), I'll let Vasco deal with this.
> > 
> 
> Hmm, I see what you mean.  The real problem is that standard gtk
> checkboxes aren't really the visually appropriate design here.  Just for
> an experiment, I've coded an alternative, using button reliefs.  It's the
> sort of thing that most GUI-texts say never to do, and I'm tending to
> reject it, but here it is anyway (the code for it still needs cleaning up
> -- I'll only bother if this idea is worth progressing with).
> 
> Screenshot at http://dspeyer.student.umd.edu/nationDialog-myradio.png
> 

how about using gtk_toggle_button_new() like this:

http://www.freeciv.org/~kauf/natdlg-toggle_button.png

that way, it's not reverse reliefed.

-mike


[Prev in Thread] Current Thread [Next in Thread]