qgui.third_party.collapsing_frame module

Author: Israel Dryer Modified: 2021-04-23 Adapted for ttkbootstrap from: http://www.leo-backup.com/screenshots.shtml

class qgui.third_party.collapsing_frame.CollapsingFrame(*args, **kwargs)

基类:tkinter.ttk.Frame

A collapsible frame widget that opens and closes with a button click.

add(child, title='', style='primary.TButton', **kwargs)

Add a child to the collapsible frame

参数
  • child (ttk.Frame) – the child frame to add to the widget

  • title (str) – the title appearing on the collapsible section header

  • style (str) – the ttk style to apply to the collapsible section header