9 #ifndef __HOM_Desktop_h__
10 #define __HOM_Desktop_h__
39 virtual std::vector<HOM_ElemPtr<HOM_Pane> >
panes() = 0;
41 virtual std::vector<HOM_ElemPtr<HOM_PaneTab> >
paneTabs() = 0;
43 virtual std::vector<HOM_ElemPtr<HOM_PaneTab> > currentPaneTabs() = 0;
45 virtual std::vector<HOM_ElemPtr<HOM_PaneTab> > floatingPaneTabs() = 0;
52 virtual HOM_Pane *findPane(
int pane_id) = 0;
57 SWIGOUT(%newobject createFloatingPaneTab;)
58 SWIGOUT(%kwargs createFloatingPaneTab;)
61 const std::vector<int> &
position = std::vector<int>(),
62 const std::vector<int> &
size = std::vector<int>(),
63 const char *python_panel_interface=
nullptr,
64 bool immediate=
false) = 0;
67 SWIGOUT(%newobject createFloatingPane;)
70 const std::vector<int> &
position = std::vector<int>(),
71 const std::vector<int> &
size = std::vector<int>())
72 {
return createFloatingPaneTab(pane_tab_type,
position,
size); }
74 virtual std::vector<HOM_ElemPtr<HOM_FloatingPanel> > floatingPanels() = 0;
76 SWIGOUT(%newobject createFloatingPanel;)
77 SWIGOUT(%kwargs createFloatingPanel;)
79 const std::vector<int> &
position = std::vector<int>(),
80 const std::vector<int> &
size = std::vector<int>(),
81 const char *python_panel_interface=
nullptr,
82 bool immediate=
false) = 0;
84 SWIGOUT(%newobject paneUnderCursor;)
85 virtual HOM_Pane *paneUnderCursor() = 0;
86 SWIGOUT(%newobject paneTabUnderCursor;)
95 SWIGOUT(%newobject displaySideHelp;)
96 virtual HOM_PaneTab *displaySideHelp(
bool show =
true) = 0;
98 virtual void displayHelpPath(
const char *help_path) = 0;
99 virtual void displayHelpPyPanel(
const char *interface_name) = 0;
101 virtual void setAsCurrent() = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
#define HOM_CONSTRUCT_OBJECT(pointer)
virtual HOM_PaneTab * paneTabOfType(HOM_EnumValue &type, int index=0)=0
GLuint const GLchar * name
virtual HOM_PaneTab * findPaneTab(const char *name)=0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
SIM_API const UT_StringHolder position
virtual std::vector< HOM_ElemPtr< HOM_Pane > > panes()=0
HOM_Desktop(const HOM_Desktop &)
HOM_PaneTab * createFloatingPane(HOM_EnumValue &pane_tab_type, const std::vector< int > &position=std::vector< int >(), const std::vector< int > &size=std::vector< int >())
virtual std::vector< HOM_ElemPtr< HOM_PaneTab > > paneTabs()=0