# popup_make_pane

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L413
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-popup-c-popup_make_pane/

```c
static void popup_make_pane(struct popup_data *pd, enum layout_type type)
```

## Parameters

- `pd` (`struct popup_data *`)
- `type` (`enum layout_type`)

## Called by

- [`popup_menu_done`](/en/tmux/latest/reference/c-function-popup-c-popup_menu_done/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L491)

## Calls

- [`checkshell`](/en/tmux/latest/reference/c-function-checkshell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L445)
- [`job_transfer`](/en/tmux/latest/reference/c-function-job_transfer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L433)
- [`layout_assign_pane`](/en/tmux/latest/reference/c-function-layout_assign_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L430)
- [`layout_split_pane`](/en/tmux/latest/reference/c-function-layout_split_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L425)
- [`options_get_number`](/en/tmux/latest/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L428)
- [`options_get_string`](/en/tmux/latest/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L444)
- [`screen_free`](/en/tmux/latest/reference/c-function-screen_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L439)
- [`screen_init`](/en/tmux/latest/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L442)
- [`screen_resize`](/en/tmux/latest/reference/c-function-screen_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L441)
- [`screen_set_title`](/en/tmux/latest/reference/c-function-screen_set_title/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L438)
- [`window_add_pane`](/en/tmux/latest/reference/c-function-window_add_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L429)
- [`window_pane_set_event`](/en/tmux/latest/reference/c-function-window_pane_set_event/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L449)
- [`window_set_active_pane`](/en/tmux/latest/reference/c-function-window_set_active_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L450)
- [`window_unzoom`](/en/tmux/latest/reference/c-function-window_unzoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L423)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L447)

## Referenced declarations

- [`_PATH_BSHELL`](/en/tmux/latest/reference/c-define-compat-h-_path_bshell/) (constant)
- [`window.active`](/en/tmux/latest/reference/c-struct-window-active/) (attribute)
- [`window_pane.base`](/en/tmux/latest/reference/c-struct-window_pane-base/) (attribute)
- [`popup_data.c`](/en/tmux/latest/reference/c-struct-popup_data-c/) (attribute)
- [`popup_data.close`](/en/tmux/latest/reference/c-struct-popup_data-close/) (attribute)
- [`session.curw`](/en/tmux/latest/reference/c-struct-session-curw/) (attribute)
- [`popup_data.job`](/en/tmux/latest/reference/c-struct-popup_data-job/) (attribute)
- [`layout_type`](/en/tmux/latest/reference/c-enum-layout_type/) (enum)
- [`session.options`](/en/tmux/latest/reference/c-struct-session-options/) (attribute)
- [`PANE_CHANGED`](/en/tmux/latest/reference/c-define-tmux-h-pane_changed/) (constant)
- [`job.pid`](/en/tmux/latest/reference/c-struct-job-pid/) (attribute)
- [`popup_data`](/en/tmux/latest/reference/c-struct-popup_data/) (struct)
- [`popup_data.s`](/en/tmux/latest/reference/c-struct-popup_data-s/) (attribute)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`window_pane.shell`](/en/tmux/latest/reference/c-struct-window_pane-shell/) (attribute)
- [`screen.title`](/en/tmux/latest/reference/c-struct-screen-title/) (attribute)
- [`window_pane.window`](/en/tmux/latest/reference/c-struct-window_pane-window/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
