File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ def show_widget(self, name):
320320
321321 See Also:
322322 :meth:`BaseNode.add_custom_widget`,
323- :meth:`BaseNode.show_widget `,
323+ :meth:`BaseNode.hide_widget `,
324324 :meth:`BaseNode.get_widget`
325325 """
326326 # TODO: implement this logic to the undo stack.
Original file line number Diff line number Diff line change @@ -193,6 +193,10 @@ Here's an example to embed a custom widget where we subclass the
193193 node_widget = NodeWidgetWrapper(self .view)
194194 self .add_custom_widget(node_widget, tab = ' Custom' )
195195
196+ To hide/show the embedded widget on a :class: `NodeGraphQt.BaseNode ` checkout the
197+ :meth: `NodeGraphQt.BaseNode.hide_widget ` and :meth: `NodeGraphQt.BaseNode.show_widget `
198+ functions.
199+
196200
197201Connecting Nodes
198202****************
You can’t perform that action at this time.
0 commit comments