---
title: "init(image:pullDownMenu:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nspopupbutton/init(image:pulldownmenu:)"
---

# init(image:pullDownMenu:)

Creates a standard pull-down button with a title, optional image, and menu.

## Declaration

```swift
@backDeployed(before: macOS 15.0)
@MainActor @preconcurrency convenience init(image: NSImage, pullDownMenu: NSMenu)
```

## Parameters

- `image`: The icon that is displayed on the button.
- `pullDownMenu`: The pull-down menu to present when interacting with the button.

## Return Value

Return Value An initialized pull-down button object.

## Discussion

Discussion Pull-down buttons created using this method have the usesItemFromMenu property set to false.
