Sponsored Content
Top Forums Programming Why is subclassing not allowed for many of the SWT Controls? Post 302579197 by majid.merkava on Monday 5th of December 2011 05:24:11 AM
Old 12-05-2011
Why is subclassing not allowed for many of the SWT Controls?

hi guys,

Why is subclassing not allowed for many of the SWT Controls?

But Eclipse itself creates our Shell classes in this way (inheriting from Shell) and then overriding checkSubclass() with empty body. So is it good(safe) that we do this way? I have two shells (Shell_1, Shell_2). Shell_1 is parent of Shell_2. I only want to extend from Shell class for Shell_2 so I can simply add controls on it inside the constructor of Shell_2. Is this wrong way to do?
 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Print Controls for DG Unix

Hi: We are trying to use UNIX Print Controls for our ERP Package. We have currently set up escape codes on some ERP Users for specific reports. However we would like to try to control this using DG Unix functionality that allows different printers to be set up for one physical printer. Example,... (0 Replies)
Discussion started by: baddi
0 Replies

2. UNIX for Dummies Questions & Answers

Solaris 10 Resource Controls

I've always been accustomed to setting certain kernel parameters in the /etc/system file. However, with Solaris 10, they have created the resource control utility to set these values. I've set the value for project.max-shm-memory to 4gb with the following command: prctl -n... (2 Replies)
Discussion started by: here2learn
2 Replies

3. AIX

Motif on AIX and SWT

hi all, I've written a GUI application in Eclipse using SWT. It's running fine on linux(which uses GTK on x86). But when I ran the same application on AIX(which uses Motif on PPC), the GUI part is suffering. :-( The checkboxes are looking very small(like tiny dots on screen!) , spinners are... (4 Replies)
Discussion started by: v_rathor
4 Replies

4. Shell Programming and Scripting

awk with multiple controls

Hi guys, I have a file which is like this 020-10136044 07-11-26 15:31:22 TRXRMP TCMAGT82TCM LHFE1G76006AK3 020-10136044 07-11-26 15:31:25 CIMFSU TCMAGT82TCM RCS LHFE2G6H006AGP 020-10136055 07-11-26 08:43:21 TRXRMP TCMAGT82TCM LHFE2G6H005QV9 020-10136055 07-11-26 15:31:27... (3 Replies)
Discussion started by: sickboy
3 Replies

5. Solaris

What is the Solaris OS deamon which controls Library?

Hi All, What is the Solaris OS deamon which controls the Libraries? Regards, Rakesh. (2 Replies)
Discussion started by: rakesh.413
2 Replies
Shell(3)							  LessTif Manuals							  Shell(3)

NAME
Shell - Shell widget from X Toolkit SYNOPSIS
#include <X11/Shell.h> DESCRIPTION
Shell is a widget which is defined in the X Toolkit. We document its existence here for completeness. Please refer to the X Window System documentation for the real information regarding this widget. X RESOURCES
Name Class Type Default Access -------------------------------------------------------------------------------- XtNx XtCPosition Position NULL CSG XtNy XtCPosition Position NULL CSG XtNdepth XtCDepth Int NULL CSG XtNcolormap XtCColormap Colormap NULL CSG XtNancestorSensitive XtCSensitive Boolean NULL CSG XtNallowShellResize XtCAllowShellResize Boolean NULL CSG XtNgeometry XtCGeometry String (null) CSG XtNcreatePopupChildProc XtCCreatePopupChildProc Function NULL CSG XtNsaveUnder XtCSaveUnder Boolean NULL CSG XtNpopupCallback XtCCallback Callback NULL CSG XtNpopdownCallback XtCCallback Callback NULL CSG XtNoverrideRedirect XtCOverrideRedirect Boolean NULL CSG XtNvisual XtCVisual Visual NULL CSG XtNx XtNy XtNdepth XtNcolormap XtNancestorSensitive XtNallowShellResize XtNgeometry XtNcreatePopupChildProc XtNsaveUnder XtNpopupCallback XtNpopdownCallback XtNoverrideRedirect XtNvisual CLASS HIERARCHY
Object(3) Rect(3) UnNamedObj(3) Core(3) Composite(3) Shell(3) CALLBACKS
CONVENIENCE FUNCTIONS
SEE ALSO
LessTif Project October 1998 Shell(3)
All times are GMT -4. The time now is 02:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy