TkInter

  • Tk interpreter inside python interpreter
  • simple
  • large cost

WxPython

wx.

  • .App() - instance of app - can be parents of user defined gui
  • .Frame()
  • .Show(True)

app.

  • Mainloop() - run

Widgets

  • Widgets containers - contain other widgets
    • .Panel
  • dynamic widgets
    • .Button, TextCtrl, ListBox, RadioBox, CheckBox
  • static widgets - cannot be edited by user
    • StaticBitmap, StaticText, StaticLine
  • others ( wx. Toolbar, .MenuBar, .StatusBar)

EventHandling

  • OnClick(self, event)

Layout Management

Sizer

  • BoxSizer, GridSizer, GridSizer, GridBagSizer, StaticBoxSizer

PyQt

  • From Qt(C++), cross platform
  • pyQt5
    • QtWidgets

PyGTK

  • GTK+ GUI Library
  • Can be used for development in GNOME system
  • bad on Windows

results matching ""

    No results matching ""