Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can't expand tree item by using right arrow key on Linux. Working as expected?
| |
Re: Can't expand tree item by using right arrow key on Linux. Working as expected? [message #443049 is a reply to message #443044] |
Fri, 17 September 2004 17:11 |
Eclipse User Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Grant,
Thanks for your reply! But I found that on Windows, both '+' and right
arrow key can expand tree node. So you mean on Linux, it was limited to
'+' only?
Thanks again!
Grant Gayed wrote:
> In gtk trees you use + and - to expand and collapse tree nodes with
> children.
> Grant
> "J.L" <jli1@us.ibm.com> wrote in message news:cid5th$tpt$1@eclipse.org...
> > Hello,
> >
> > We have a TreeViewer with a tree in it. On Windows XP operation system,
> > using right arrow key can expand the tree item if it has children, and
> > left arrow key can collapse it. But on Linux OS, it doesn't work. Is this
> > working as expected, or it is a defect?
> >
> > Thanks,
> >
> > J.L
> >
|
|
|
Re: Can't expand tree item by using right arrow key on Linux. Working as expected? [message #443050 is a reply to message #443049] |
Fri, 17 September 2004 17:19 |
Grant Gayed Messages: 2150 Registered: July 2009 |
Senior Member |
|
|
Yes. We just wrap the native widgets, so if the native win32 tree has
multiple expand/collapse keys, then this will be reflected in the swt tree
on win32 for free. Similarly, if you run gtk-demo on linux you'll see that
only +/- are used for expanding/collapsing items in native gtk trees, so the
swt tree on gtk has (by inheritance) this same behaviour.
Grant
"J.L" <jli1@us.ibm.com> wrote in message news:cif5rd$t71$1@eclipse.org...
> Grant,
>
> Thanks for your reply! But I found that on Windows, both '+' and right
> arrow key can expand tree node. So you mean on Linux, it was limited to
> '+' only?
>
> Thanks again!
>
>
> Grant Gayed wrote:
>
> > In gtk trees you use + and - to expand and collapse tree nodes with
> > children.
>
> > Grant
>
> > "J.L" <jli1@us.ibm.com> wrote in message
news:cid5th$tpt$1@eclipse.org...
> > > Hello,
> > >
> > > We have a TreeViewer with a tree in it. On Windows XP operation
system,
> > > using right arrow key can expand the tree item if it has children, and
> > > left arrow key can collapse it. But on Linux OS, it doesn't work. Is
this
> > > working as expected, or it is a defect?
> > >
> > > Thanks,
> > >
> > > J.L
> > >
>
>
|
|
|
Goto Forum:
Current Time: Thu Apr 25 06:03:51 GMT 2024
Powered by FUDForum. Page generated in 0.03070 seconds
|