# GormShelfPref documentation

### Authors

Generated by heron

### Contents -

1. Software documentation for the ArrResizer class
2. Software documentation for the GormShelfPref class
3. GormShelfPref types

# Software documentation for the ArrResizer class

## ArrResizer : NSView

> Declared in:
>   GormPrefs/GormShelfPref.h

Description forthcoming.

Instance Variables
Method summary

- -initForController:withPosition:
- -position

### initForController: withPosition:

- (id) initForController: (id)acontroller withPosition: (ArrowPosition)pos;
Description forthcoming.

### position

- (ArrowPosition) position;
Description forthcoming.

## Instance Variables for ArrResizer Class

### arrow

@protected NSImage* arrow;
Description forthcoming.

### controller

@protected id controller;
Description forthcoming.

### position

@protected ArrowPosition position;
Description forthcoming.

# Software documentation for the GormShelfPref class

## GormShelfPref : NSObject

> Declared in:
>   GormPrefs/GormShelfPref.h

Description forthcoming.

Instance Variables
Method summary

- -selectionChanged:
- -setDefaultWidth:
- -setNewWidth:
- -shelfCellsWidth
- -startMouseEvent:onResizer:
- -tile
- -view

### selectionChanged:

- (void) selectionChanged: (NSNotification*)n;
Called when the selection is changed.

### setDefaultWidth:

- (IBAction) setDefaultWidth: (id)sender;
Set the resizer back to the default width.

### setNewWidth:

- (void) setNewWidth: (int)w;
Programmatically set a width.

### shelfCellsWidth

- (int) shelfCellsWidth;
Return the current width.

### startMouseEvent: onResizer:

- (void) startMouseEvent: (NSEvent*)event onResizer: (ArrResizer*)resizer;
Invoked when the resizer widgets are moved.

### tile

- (void) tile;
Sets the frame for the resize arrows.

### view

- (NSView*) view;
The view to display in the prefs panel.

## Instance Variables for GormShelfPref Class

### cellsWidth

@protected int cellsWidth;
Description forthcoming.

### fname

@protected NSString* fname;
Description forthcoming.

### leftResizer

@protected ArrResizer* leftResizer;
Description forthcoming.

### rightResizer

@protected ArrResizer* rightResizer;
Description forthcoming.

# GormShelfPref types

### ArrowPosition

typedef enum ... ArrowPosition;
Description forthcoming.