Skip to main content



      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 10:01 Go to next message
Eclipse UserFriend
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 10:24 Go to previous messageGo to next message
Eclipse UserFriend
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 10:39 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 08:19:45 EDT 2025

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

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

Back to the top