GPENCIL_PIE_tools_more(Menu)¶
base classes — bpy_struct
, Menu
-
class
bpy.types.
GPENCIL_PIE_tools_more
(Menu)¶ -
draw
(context)¶
-
draw_preset
(context)¶ Define these on the subclass: - preset_operator (string) - preset_subdir (string)
Optionally: - preset_extensions (set of strings) - preset_operator_defaults (dict of keyword args)
Populate a menu from a list of paths.
Parameters: - searchpaths (sequence of strings.) – Paths to scan.
- operator (string) – The operator id to use with each file.
- prop_filepath (string) – Optional operator filepath property (defaults to “filepath”).
- props_default (dict) – Properties to assign to each operator.
- filter_ext (Callable that takes a string and returns a bool.) –
Optional callback that takes the file extensions.
Returning false excludes the file from the list.
- display_name (Callable that takes a string and returns a string.) – Optional callback that takes the full path, returns the name to display.
-
Inherited Properties
Inherited Functions