Home / Lua Scripts Libraries API Manual / dtutils.file / executable_path_widget
< create_unique_filename
file_copy >

# executable_path_widget

## 🔗NAME

executable_path_widget

## 🔗SYNOPSIS

create a widget to get executable path preferences

## 🔗USAGE

    local df = require "lib/dtutils.file"
    local widget = df.executable_path_widget(executables)

executables - table - a table of strings that are executable names

## 🔗DESCRIPTION

executable_path_widget takes a table of executable names and builds a set of file selector widgets to get the path to the executable. The resulting widgets are wrapped in a box widget and returned.

## 🔗RETURN VALUE

widget - widget - a widget containing a file selector widget for each executable.

< create_unique_filename
file_copy >