new module for libxfcegui4 (or libxfce4utils)
edscott wilson garcia
edscott at imp.mx
Thu Oct 2 17:06:22 CEST 2003
Using some code from Eduard (thanks) and other stuff, I've almost
finished a module for extending the tab completion so that it can be
shared by all programs which require such functionality. It has several
advantages over the tab completion available with gtk24, and does not
require gtk24.
Once you type a letter, the tab completion suggested is highlighted in
the entry (as word completion in soffice), and the combo box is expanded
showing you other options (13 maximum) ordered by "hits" (how many times
you have completed using each one). This allows you to hit return
immediately instead of (1-hitting tab, 2-verifying the completion, 3-
hitting return). You can also keep typing and as the entry grows the
combo list keeps changing accordingly (as in the mozilla "location"
entry). Since the combo list changes while you type it is quite easy to
see whether or not tab completion will be successful or not, and to
select an alternate option for the completion.
Also... the autocompletion tasks is not limited to the 10 element long
combo, but to *all* the history generated (and can even be expanded to
use the mime application information or whatever else is desired).
So here's the question: any suggestions as to where to put it? I can
think of both libxfcegui4 and libxfce4util libraries as options. I kind
of favor libxfce4util, but I'll push my suspend button for a while to
gather your valuable opinions.
More information about the Xfce4-dev
mailing list