#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/PopupWindow.hpp>
◆ PopupWindow() [1/2]
| PopupWindow::PopupWindow |
( |
| ) |
|
|
inline |
Referenced by Slic3r::GUI::AMSCountPopupWindow::AMSCountPopupWindow(), Slic3r::GUI::AmsHumidityTipPopup::AmsHumidityTipPopup(), Slic3r::GUI::AmsIntroducePopup::AmsIntroducePopup(), Slic3r::GUI::AmsMapingPopup::AmsMapingPopup(), Slic3r::GUI::AmsMapingTipPopup::AmsMapingTipPopup(), Slic3r::GUI::AmsTutorialPopup::AmsTutorialPopup(), Slic3r::GUI::AutoMixSelectPopup::AutoMixSelectPopup(), Slic3r::GUI::CameraPopup::CameraPopup(), Slic3r::GUI::ColorPickerPopup::ColorPickerPopup(), Slic3r::GUI::FilamentGroupPopup::FilamentGroupPopup(), Slic3r::GUI::FilamentSelectPopup::FilamentSelectPopup(), Slic3r::Search::SearchDialog::SearchDialog(), Slic3r::Search::SearchObjectDialog::SearchObjectDialog(), Slic3r::GUI::SelectMachinePopup::SelectMachinePopup(), Slic3r::GUI::SelectMObjectPopup::SelectMObjectPopup(), and Slic3r::GUI::SliceInfoPopup::SliceInfoPopup().
◆ ~PopupWindow()
| PopupWindow::~PopupWindow |
( |
| ) |
|
37{
38#ifdef __WXGTK__
39 GetTopParent(
this)->Unbind(wxEVT_ACTIVATE, &PopupWindow::topWindowActiavate,
this);
40#endif
41#ifdef __WXMSW__
42 GetTopParent(
this)->Unbind(wxEVT_ACTIVATE, &PopupWindow::topWindowActivate,
this);
43 GetTopParent(
this)->Unbind(wxEVT_ICONIZE, &PopupWindow::topWindowIconize,
this);
44 GetTopParent(
this)->Unbind(wxEVT_SHOW, &PopupWindow::topWindowShow,
this);
45#endif
46}
References GetTopParent().
◆ PopupWindow() [2/2]
| PopupWindow::PopupWindow |
( |
wxWindow * | parent, |
|
|
int | style = wxBORDER_NONE ) |
|
inline |
#define style
Definition WipeTowerDialog.cpp:101
References Create(), and style.
◆ Create()
| bool PopupWindow::Create |
( |
wxWindow * | parent, |
|
|
int | flags = wxBORDER_NONE ) |
22{
23 if (!wxPopupTransientWindow::Create(parent,
style))
24 return false;
25#ifdef __WXGTK__
26 GetTopParent(parent)->Bind(wxEVT_ACTIVATE, &PopupWindow::topWindowActiavate,
this);
27#endif
28#ifdef __WXOSX__
29 if (
style & wxPU_CONTAINS_CONTROLS)
30 for (auto evt : {wxEVT_LEFT_DOWN, wxEVT_LEFT_UP, wxEVT_LEFT_DCLICK, wxEVT_MOTION, wxEVT_MOUSEWHEEL})
31 Bind(evt, &PopupWindow::OnMouseEvent2, this);
32#endif
33 return true;
34}
References GetTopParent(), and style.
Referenced by PopupWindow(), and DropDown::Create().
◆ ShouldDismissOnTopWindowDeactivate()
| virtual bool PopupWindow::ShouldDismissOnTopWindowDeactivate |
( |
| ) |
|
|
inlineprotectedvirtual |
The documentation for this class was generated from the following files:
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/PopupWindow.hpp
- /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Widgets/PopupWindow.cpp