[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-dev] GTK3: prevent table header from getting focus
|
A table or tree is just 1 control (the table and tree) and clicking a
column header just changes the sorting, but the focus never is changed
(I'm not yet sure, but clicking the column header in a unfocused table
or tree also might make the table or tree focused).
I noticed this behavior in SmartSynchronize's keyboard-centric file
manager (<https://www.syntevo.com/smartsynchronize/preview>) because I
could not move the selection up and down with the cursor keys after
having clicked the table column header to just change the sorting.
There simply is no reason to change the focus if the table column header
was clicked by mouse. Since there is no way to focus the table column
header *button* controls from SWT programmatically, it makes no sense to
have them focusable at all (in SWT).
--
Best regards,
Thomas Singer
=============
syntevo GmbH
https://www.syntevo.com
https://www.syntevo.com/blog
On 18/03/2019 15:57, Eric Williams wrote:
On 3/15/19 6:04 AM, Thomas Singer wrote:
Hello,
I've noticed that clicking a table header on CentOS 7.6 (GTK 3.22.30)
will put the focus on this header cell. Setting the environment
variable GTK_DEBUG to "interactive" and then launching our application
reveals that in GTK3 table controls actually are "treeview"s that
consist of "button"s for the table column headers. How to prevent
these "button"s to get the focus?
What is the behaviour like on Mac/Windows?
Eric
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev