[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]
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
|
|