Alexander Seifert commited on
Commit
4c13f39
1 Parent(s): f259527

improve docs

Browse files
Files changed (1) hide show
  1. src/subpages/page.py +4 -1
src/subpages/page.py CHANGED
@@ -29,10 +29,13 @@ class Context:
29
 
30
 
31
  class Page:
32
- """Base class for all pages."""
33
 
34
  name: str
 
 
35
  icon: str
 
36
 
37
  def _get_widget_defaults(self):
38
  """This function holds the default settings for all widgets contained on this page.
29
 
30
 
31
  class Page:
32
+ """This class encapsulates the logic for a single page of the application."""
33
 
34
  name: str
35
+ """The page's name that will be used in the sidebar menu."""
36
+
37
  icon: str
38
+ """The page's icon that will be used in the sidebar menu."""
39
 
40
  def _get_widget_defaults(self):
41
  """This function holds the default settings for all widgets contained on this page.