HandleAndPrintPyError("CurvePlot::SetCurrentPlotSet(): unexpected error!");
}
+ void CurvePlot::SetLegendVisible(PlotID plot_set_id, bool visible)
+ {
+ PyLockWrapper lock;
+ PyObject * cont = GetInstance()->_impl->_controller;
+
+ PyObjWrapper ret(
+ PyObject_CallMethod(cont, (char *)"SetLegendVisible", (char *)"ii", plot_set_id, visible ? 1 : 0));
+ HandleAndPrintPyError("CurvePlot::SetLegendVisible(): unexpected error!");
+ }
+
bool CurvePlot::IsValidPlotSetID(PlotID plot_set_id)
{
PyLockWrapper lock;
static void ToggleCurveBrowser(bool with_curve_browser);
+ static void SetLegendVisible(PlotID plot_set_id, bool visible=true);
+
static bool IsValidPlotSetID(PlotID plot_set_id=-1);
static int GetSalomeViewID(PlotID plot_set_id);