Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to disable table popup text field on Linux/GTK?
How to disable table popup text field on Linux/GTK? [message #467801] Tue, 07 February 2006 01:14 Go to next message
Eclipse UserFriend
Originally posted by: peter.butler.141.com

Is it possible to disable the small text box that shows when typing when
the focus is on a table on Linux/GTK?

We have built a Point-Of-Sale application on SWT 2.1.3 on Fedora Core 2
and are migrating to Ubuntu 5.10.

One of the main screens of our application contains a TableViewer
component with a list of products in it. We have used
Display.addFilter() to add an event filter to capture all keystrokes
from the user to identify stock codes, command keys, etc. On Fedora
this works perfectly. On Ubuntu after typing one or two characters a
small text box pops up near the bottom of the table and captures all
subsequent keyboard input. This completely screws up our application
because the text box consumes all of the text events from then on.

I've tried this with the SWT table viewer snippet and the same thing
happens. It seems to happen regardless of whether I use SWT 2.1.3 or 3.1.0.

I have taken a screen capture with the snippet to illustrate what I
mean, it's at: http://www.pricom.co.nz/table_text_popup.jpg The text
popup is at the bottom of the table with "hhhh" (the text that I have
typed).

Any help with getting rid of this "feature" would be greatly appreciated.

Cheers

Peter Butler
Re: How to disable table popup text field on Linux/GTK? [message #467816 is a reply to message #467801] Tue, 07 February 2006 10:36 Go to previous message
Eclipse UserFriend
Originally posted by: peter.butler.141.com

I am slightly further along with this. I found out from the GTK mailing
list that I need to call gtk_tree_view_set_enable_search() in order to
disable this behaviour. However this function does not appear to be
exposed by the SWT API (I can't find it in the OS class in either 2.1.3
or 3.1.0). Any suggestions as to how I can call this?

Cheers

Peter

Peter Butler wrote:
> Is it possible to disable the small text box that shows when typing when
> the focus is on a table on Linux/GTK?
>
> We have built a Point-Of-Sale application on SWT 2.1.3 on Fedora Core 2
> and are migrating to Ubuntu 5.10.
>
> One of the main screens of our application contains a TableViewer
> component with a list of products in it. We have used
> Display.addFilter() to add an event filter to capture all keystrokes
> from the user to identify stock codes, command keys, etc. On Fedora
> this works perfectly. On Ubuntu after typing one or two characters a
> small text box pops up near the bottom of the table and captures all
> subsequent keyboard input. This completely screws up our application
> because the text box consumes all of the text events from then on.
>
> I've tried this with the SWT table viewer snippet and the same thing
> happens. It seems to happen regardless of whether I use SWT 2.1.3 or
> 3.1.0.
>
> I have taken a screen capture with the snippet to illustrate what I
> mean, it's at: http://www.pricom.co.nz/table_text_popup.jpg The text
> popup is at the bottom of the table with "hhhh" (the text that I have
> typed).
>
> Any help with getting rid of this "feature" would be greatly appreciated.
>
> Cheers
>
> Peter Butler
>
Previous Topic:How to refresh Eclipse RCP Application Workbench Views
Next Topic:JFace Wizard question...
Goto Forum:
  


Current Time: Sun Aug 18 02:59:25 GMT 2019

Powered by FUDForum. Page generated in 0.01631 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top