AL_USDMaya  0.16.6
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AL::maya::CommandGuiListGen Class Reference

A method used by the generated command GUI code to retrieve a list of items from C++. More...

#include <CommandGuiHelper.h>

Inheritance diagram for AL::maya::CommandGuiListGen:

Public Member Functions

 AL_MAYA_DECLARE_COMMAND ()
 

Static Public Member Functions

static int32_t registerListFunc (GenerateListFn generateListFunc, const MString &menuName)
 Internal method. Registers a custom list function with this command so that MEL can request a custom C++ command to generate a list of items, which are then displayed within a MEL GUI. More...
 

Detailed Description

A method used by the generated command GUI code to retrieve a list of items from C++.

Member Function Documentation

static int32_t AL::maya::CommandGuiListGen::registerListFunc ( GenerateListFn  generateListFunc,
const MString &  menuName 
)
static

Internal method. Registers a custom list function with this command so that MEL can request a custom C++ command to generate a list of items, which are then displayed within a MEL GUI.

Parameters
generateListFunca C++ function that can take an optional user specified 'context', and return a list of items to display within the GUI.
menuNamethe GUI control to which the menu items will be appended.
Returns
the unique ID for this generator

The documentation for this class was generated from the following file: