UI for date specification (was Re: Ping?)
Dave Peticolas
peticola@krondo.com
Fri, 18 Aug 2000 23:06:30 -0700
Robert Graham Merkel writes:
> Dave Peticolas writes:
> > Robert Graham Merkel writes:
> > > (now cc'ing to -devel because technical)
> > > Dave Peticolas writes:
> > > > Robert Graham Merkel writes:
> > > <snip>
> > > > > After that, I'll also build a combination widget that
> > > > > supports both absolute and relative dates.
> > > >
> > > > Sounds good.
> > >
> > > Actually, I've realised I've gone about things the wrong way. Instead
> > > of making another "relative-date" option type, I think I should modify
> > > the existing date option to provide the choice of either absolute
> > > dates, relative dates, or both. Grrrrr. . . but most of the code I
> > > wrote was necessary anyway. What do you think?
> >
> > I think that's a good idea.
>
> How do reckon I should present an option that allows both relative and
> absolute dates? How about we have a radio button next to each of the
> relative-date and the absolute-date selectors, and disable the
> non-selected widget?
Yes, I think that's the best way.
> Oh, and how do you "turn off" a gtk widget?
gtk_widget_set_sensitive()
dave