Python GUI Programming Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

Layout Management

In this chapter, we will lay out our GUI using Python 3.6 and above. We will cover the following recipes:

  • Arranging several labels within a label frame widget
  • Using padding to add space around widgets
  • How widgets dynamically expand the GUI
  • Aligning the GUI widgets by embedding frames within frames
  • Creating menu bars
  • Creating tabbed widgets
  • Using the grid layout manager