Gui::SelectionGatePython Class Reference

A wrapper around a Python class that implements the SelectionGate interface. More...

#include <SelectionFilter.h>

Public Member Functions

bool allow (App::Document *, App::DocumentObject *, const char *)
 
 SelectionGatePython (const Py::Object &obj)
 Constructor. More...
 
virtual ~SelectionGatePython ()
 
- Public Member Functions inherited from Gui::SelectionGate
virtual bool allow (App::Document *, App::DocumentObject *, const char *)=0
 
virtual ~SelectionGate ()
 

Additional Inherited Members

- Public Attributes inherited from Gui::SelectionGate
std::string notAllowedReason
 notAllowedReason is a string that sets the message to be displayed in statusbar for cluing the user on why is the selection not allowed. More...
 

Detailed Description

A wrapper around a Python class that implements the SelectionGate interface.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ SelectionGatePython()

SelectionGatePython::SelectionGatePython ( const Py::Object &  obj)

Constructor.

◆ ~SelectionGatePython()

SelectionGatePython::~SelectionGatePython ( )
virtual

Member Function Documentation

◆ allow()

bool SelectionGatePython::allow ( App::Document doc,
App::DocumentObject obj,
const char *  sub 
)
virtual

Implements Gui::SelectionGate.


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