Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Button with image & text - Is it possible??
Button with image & text - Is it possible?? [message #444642] Mon, 18 October 2004 17:42 Go to next message
Andrea is currently offline AndreaFriend
Messages: 27
Registered: July 2009
Junior Member
Hi, I need to develop a button with image and text. Is it possible using
SWT?

Best regards,


Andréa
Re: Button with image & text - Is it possible?? [message #444644 is a reply to message #444642] Mon, 18 October 2004 20:35 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Use a toolbar with a tool item.

"Andrea" <andrea@inatel.br> wrote in message
news:cl0vav$642$1@eclipse.org...
> Hi, I need to develop a button with image and text. Is it possible using
> SWT?
>
> Best regards,
>
>
> Andr
Re: Button with image & text - Is it possible?? [message #444657 is a reply to message #444644] Tue, 19 October 2004 17:39 Go to previous message
Eclipse UserFriend
Originally posted by: v.j.b

or, you could create an image, render text on that, and set that on the
button (don't forget to dispose GC).

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:cl1947$poh$1@eclipse.org...
> Use a toolbar with a tool item.
>
> "Andrea" <andrea@inatel.br> wrote in message
> news:cl0vav$642$1@eclipse.org...
> > Hi, I need to develop a button with image and text. Is it possible using
> > SWT?
> >
> > Best regards,
> >
> >
> > Andr
Previous Topic:possible bug in TableItem.getBackground(index)
Next Topic:Remove Ok / Cancel in Dialog
Goto Forum:
  


Current Time: Sat Oct 31 14:01:36 GMT 2020

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

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

Back to the top