ImageView

The ImageView is a View subclass that represents Cocoa’s NSImageView.

class ImageView(parent, name[, alignment=const.NSImageAlignCenter])
Parameters:
name

String. The name of the image that will be loaded on initialization. That image is loaded with [self setImage:[NSImage imageNamed:<name>]].

alignment

Cocoa constant. Image alignment within the view. Equivalent to [self imageAlignment]. Use with NSImageAlignment constants.

Previous topic

ProgressIndicator

Next topic

TabView

This Page