Logo Search packages:      
Sourcecode: viewpdf.app version File versions  Download package

- (id) initWithFrame: (NSRect)  aFrame
target: (id)  aTarget 

The frame size of the view is calculated automatically during initialization. Thus, the frame's size may be modified to hold all tool views. The frame may be heightened but it is never belittled. You can safley use 0, 0 for the frame's size and rely on the initialization to determine and set the minimum required width.

Definition at line 34 of file DocumentTools.m.

References setTarget:.

                    : (NSRect)aFrame target: (id)aTarget
   self = [super initWithFrame: aFrame];
   if (self)
      [self _createControls];
      [self setTarget: aTarget];

   return self;

Generated by  Doxygen 1.6.0   Back to index