Unfortunately popup function does not directly support specifying the window size but you can create a custom popup with the desired size by defining your own window. I created an example for you here is how: github.com/amuza2/100DaysOfCode/blob/main/Day87/testing2.py
I explained that in the next vids you use keys to access any element you want you can go straight to video number 8 which is the first project building a calculator.
how to make the window bigger?
Unfortunately popup function does not directly support specifying the window size but you can create a custom popup with the desired size by defining your own window.
I created an example for you here is how:
github.com/amuza2/100DaysOfCode/blob/main/Day87/testing2.py
@@codingisamazing thks
thanks for the lesson.
You're welcome
I would like to do something like:
if popup == cancel:
(back last page)
elif popup == ok:
close window
I explained that in the next vids
you use keys to access any element you want
you can go straight to video number 8 which is the first project building a calculator.
what is application you use?vscode, isn't right?
it's Sublime text
@@codingisamazing
OK, but how you set the support of PySimpleGUI at SimpleGUI to show autocompletes after import the sg library
@@ikarus2508 +
@@codingisamazing ?
how to add functions to popup yes no?
I think you mean arguments
popup_yes_no(args=*,
title = None,
button_color = None,
background_color = None,
text_color = None,
button_type = 0,
auto_close = False,
auto_close_duration = None,
custom_text = (None, None),
non_blocking = False,
icon = None,
line_width = None,
font = None,
no_titlebar = False,
grab_anywhere = False,
keep_on_top = None,
location = (None, None),
relative_location = (None, None),
any_key_closes = False,
image = None,
modal = True)
The audio is too soft. I turn up full volume and still struggle to hear you.
thank you for your feedback