In this article we are going to learn about AddSeparator() method in wx.ToolBar class of wxPython. AddSeparator() is a very simple function it creates a vertical separation line b/w two tools or two RadioTool groups. Notice that the separator uses the look appropriate for the current platform so it can be a vertical line (MSW, some versions of GTK) or just an empty space or something else.
Syntax : wx.ToolBar.AddSeparator(self)
Parameters : No parameters in AddSeparator() function
Return Type : wx.ToolBarToolBase
Code Example:
Output :
👁 Image