python - Only one Class possible for GUI programming -
i'm new gui-programming , using tkinter python.
in past "non-gui" programs consisted out of few classes if examples gui appears 1 class used. functions included in 1 class. normal way or possible write gui class "calls" functions other classes?
as @ seems concept of object oriented programming dissapears implementing gui in oop manner
it possible use multiple classes in gui apps.
example can have 1 class defines , layouts gui elements (like buttons, text fields, scrollbars etc.) , second class subclass adding functionality on top of it.
Comments
Post a Comment