Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CLabel's don't do mnemonics?
CLabel's don't do mnemonics? [message #445240] Fri, 29 October 2004 14:01 Go to next message
Eddie Galvez is currently offline Eddie GalvezFriend
Messages: 103
Registered: July 2009
Senior Member
I can't believe it - CLabel's don't do mnemonics?

What would be the best way to do this?

And while on the topic of CLabel's, it would be nice if GAP was modifiable
by the API.

- Eddie
Re: CLabel's don't do mnemonics? [message #445243 is a reply to message #445240] Fri, 29 October 2004 14:24 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=49722
https://bugs.eclipse.org/bugs/show_bug.cgi?id=72872

Why are you using a CLabel? If all you want is a label with text and an
image, just create two labels, one with text and one with an image. Labels
support mnemonics and you would be able to adjust the spacing as desired.

"Eddie Galvez" <eddie@_nospam_grassybrook.com> wrote in message
news:cltibp$lc9$1@eclipse.org...
>I can't believe it - CLabel's don't do mnemonics?
>
> What would be the best way to do this?
>
> And while on the topic of CLabel's, it would be nice if GAP was modifiable
> by the API.
>
> - Eddie
>
Re: CLabel's don't do mnemonics? [message #445246 is a reply to message #445243] Fri, 29 October 2004 14:39 Go to previous message
Eddie Galvez is currently offline Eddie GalvezFriend
Messages: 103
Registered: July 2009
Senior Member
Hehe, I indeed just found your entries in the bug list, indirectly since
somehow my mnemonics now appear to be broken (they are in a view, in a
CTabFolder) so I was looking for info about that.

Indeed, I just resorted to two labels. Just feels a bit... contrived, I
guess.

By the way, where can I read more about exactly how the mnemonics are
connected to items? Is there no way to programatically assign the mnemonic
to a specific control, just in case the "next widget" algorithm doesn't work
properly? (or the layout on the UI isn't quite what is expected) ?

Thanks,
- Eddie


"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:cltjqb$ocp$1@eclipse.org...
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=49722
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=72872
>
> Why are you using a CLabel? If all you want is a label with text and an
> image, just create two labels, one with text and one with an image. Labels
> support mnemonics and you would be able to adjust the spacing as desired.
>
> "Eddie Galvez" <eddie@_nospam_grassybrook.com> wrote in message
> news:cltibp$lc9$1@eclipse.org...
>>I can't believe it - CLabel's don't do mnemonics?
>>
>> What would be the best way to do this?
>>
>> And while on the topic of CLabel's, it would be nice if GAP was
>> modifiable by the API.
>>
>> - Eddie
>>
>
>
Previous Topic:TableViewer
Next Topic:Label mnemonics if Control's following are Composites
Goto Forum:
  


Current Time: Thu Apr 25 09:39:58 GMT 2024

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

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

Back to the top