class mrpt::gui::CDisplayWindowGUI::SubWindow

#include <mrpt/gui/CDisplayWindowGUI.h>

class SubWindow: public nanogui::Window
{
public:
    //
fields

    CDisplayWindowGUI& m_parentGui;
    const int m_subWindowIndex = 0;

    // construction

    SubWindow(
        CDisplayWindowGUI& parentGui,
        int myIndex,
        Widget* parent,
        const std::string& title
        );

    //
methods

    bool focusEvent(bool focused);
};

Methods

bool focusEvent(bool focused)

Handle a focus change event (default implementation: record the focus status, but do nothing)