Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Purpose of Display.setAppName
Purpose of Display.setAppName [message #447368] Mon, 13 December 2004 16:02 Go to next message
Eclipse UserFriend
The doc for setAppName is somewhat vague. It seems that it was added to associate SWT apps with X resources. On Carbon it sets the
process name, presumably to appear somewhere in a process list, on Windows and Photon it does nothing. The implementations that I've
seen only work when called prior to creating the display. Calling setAppName has no effect on previously created displays.
Is there a definition of what the "application name" is and when this API should be used?

Knut
Re: Purpose of Display.setAppName [message #447648 is a reply to message #447368] Wed, 15 December 2004 17:00 Go to previous message
Eclipse UserFriend
There's one in the book, "SWT: The Standard Widget Toolkit - Part 1". It
works as you describe. The spec is vague on purpose.

"Knut Radloff" <knut_radloff@us.ibm.com> wrote in message
news:cpl017$l4j$1@www.eclipse.org...
> The doc for setAppName is somewhat vague. It seems that it was added to
associate SWT apps with X resources. On Carbon it sets the
> process name, presumably to appear somewhere in a process list, on Windows
and Photon it does nothing. The implementations that I've
> seen only work when called prior to creating the display. Calling
setAppName has no effect on previously created displays.
> Is there a definition of what the "application name" is and when this API
should be used?
>
> Knut
>
>
Previous Topic:UnsatisfiedLinkError
Next Topic:forcing repaint on a control
Goto Forum:
  


Current Time: Fri Jul 18 01:57:30 EDT 2025

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

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

Back to the top