On Fri, Feb 25, 2000 at 03:56:10PM +0200, Moshe Zadka wrote:
> > > This maybe slightly off-topic, since it's more about UI design then about
> > > PyGTK specifically, but the alternative I'm considering is to make
> > > it into a dialog which replaces an entry field. Is that considered all
> > > right? I'm squimish, because it might clobber someone's carefully crafted
> > > text, but I *have* to allow inputting both via the file dialog and the
> > > entry field.
> > What do you mean by "replaces an entry field" ? Remove the field
> > from the GUI and insert the Dialog instead of it ? That doesn't
> > work: A Dialog is always a "toplevel" window (ie. a window
> > which has a window border and which is handled by the window
> > manager).
> I'm sorry, I meant of course "replaces the *contents* of the entry field
> by whatever file selected from the dialog".
No, that's alright: The user selected to the Dialog to replace the field.
You should try to start with the value from the field (copy it into the
dialog when you create it), so the user can type in part of the path
and select the rest with the dialog and/or he can continue where he
was (and need not first have to select the last position before he can
commence to the new one).
--
Dipl. Inf. (FH) Aaron "Optimizer" Digulla
"(to) optimize: Make a program faster by
improving the algorithms rather than by
buying a faster machine."
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]