@@ -118,7 +118,7 @@ def func(name):
118118elif EXAMPLE == "CLOCK" :
119119 menu = make_menu (pygame_menu .themes .THEME_DARK , "Clock" )
120120
121- clock = menu .add .clock (font_size = 25 , font_name = pygame_menu .font .FONT_DIGITAL )
121+ menu .add .clock (font_size = 25 , font_name = pygame_menu .font .FONT_DIGITAL )
122122
123123elif EXAMPLE == "COLORINPUT" :
124124 menu = make_menu (pygame_menu .themes .THEME_DARK , "Color Entry" )
@@ -145,13 +145,13 @@ def func(name):
145145elif EXAMPLE == "DROPSELECT" :
146146 menu = make_menu (pygame_menu .themes .THEME_DEFAULT , "Drop Select" )
147147
148- selector_epic = menu .add .dropselect (
148+ menu .add .dropselect (
149149 title = "Is pygame-menu epic?" ,
150150 items = [("Yes" , 0 ), ("Absolutely Yes" , 1 )],
151151 font_size = 16 ,
152152 selection_option_font_size = 20 ,
153153 )
154- selector_sum = menu .add .dropselect (
154+ menu .add .dropselect (
155155 title = "What is the value of π?" ,
156156 items = [
157157 ("3 (Engineer)" , 0 ),
@@ -164,7 +164,7 @@ def func(name):
164164 selection_option_padding = (0 , 5 ),
165165 selection_option_font_size = 20 ,
166166 )
167- selector_country = menu .add .dropselect (
167+ menu .add .dropselect (
168168 title = "Pick a country" ,
169169 items = [
170170 ("Argentina" , "ar" ),
@@ -196,7 +196,7 @@ def func(name):
196196 )
197197 menu .add .vertical_margin (75 )
198198
199- selector = menu .add .dropselect_multiple (
199+ menu .add .dropselect_multiple (
200200 title = "Pick 3 colors" ,
201201 items = [
202202 ("Black" , (0 , 0 , 0 )),
@@ -382,7 +382,7 @@ def open_link(*args) -> None:
382382 onchange = change_background_color , # User changes value with left/right keys
383383 )
384384 selector .add_self_to_kwargs () # Callbacks will receive widget as parameter
385- selector2 = menu .add .selector (
385+ menu .add .selector (
386386 title = "New color:" , items = items , style = pygame_menu .widgets .SELECTOR_STYLE_FANCY
387387 )
388388
0 commit comments