Python EasyGUI – Continue Cancel Box Last Updated : 10 Apr, 2023 Comments Improve Suggest changes Like Article Like Report Continue Cancel Box : It is used to display a window having a two option continue or cancel in EasyGUI, it can be used where there is a need to display two option continue or cancel for example when we want to confirm the option if continue is pressed application will move forward else it will get terminated, below is how the continue cancel box looks like In order to do this we will use msgbox method Syntax : ccbox(message, title, choices) Argument : It takes 3 arguments, first string i.e message/information to be displayed, second string i.e title of the window and third is list having exactly two values which is two option for continue and cancel Return : It returns True if continue is pressed else False Example : In this we will create a continue cancel box, when any button is pressed it will show the specific message on the screen, below is the implementation Python3 # importing easygui module from easygui import * # message / information to be displayed on the screen message = "You want to learn more about EasyGUI ?" # title of the window title = "GfG - EasyGUI" # creating a continue cancel box output = ccbox(message, title) # if user pressed continue if output: # message / information to be displayed on the screen message = "Go to GeeksforGeeks to learn more about EasyGUI" # title of the window title = "GfG - EasyGUI" # creating a message box msg = msgbox(message, title) # if user pressed cancel else: # message / information to be displayed on the screen message = "Ok No Problem" # title of the window title = "GfG - EasyGUI" # creating a message box msg = msgbox(message, title) Output : Another Example : In this we will create a continue cancel box with new text for the cancel and continue button, when any button is pressed it will show the specific message on the screen, below is the implementation Python3 # importing easygui module from easygui import * # message / information to be displayed on the screen message = "You want to learn more about EasyGUI ?" # title of the window title = "GfG - EasyGUI" # button names choices = ["Let's Go", "End This !"] # creating a continue cancel box output = ccbox(message, title, choices) # if user pressed continue if output: # message / information to be displayed on the screen message = "Go to GeeksforGeeks to learn more about EasyGUI" # title of the window title = "GfG - EasyGUI" # creating a message box msg = msgbox(message, title) # if user pressed cancel else: # message / information to be displayed on the screen message = "Ok No Problem" # title of the window title = "GfG - EasyGUI" # creating a message box msg = msgbox(message, title) Output : Comment More infoAdvertise with us Next Article Python EasyGUI – Continue Cancel Box R rakshitarora Follow Improve Article Tags : Python Python-gui Python-EasyGUI Practice Tags : python Similar Reads Python EasyGUI â Multi Choice Box Multi Choice Box : It is used to display a window having a multiple options i.e items in EasyGUI, it can be used where there is a need to select multiple item among a group of items, it consist of title, message to be displayed, group of items and buttons i.e "Cancel", "Select All", "Clear All", "Ok 2 min read Python EasyGUI â Boolean Box Boolean Box : It is used to display a window having a multiple options i.e buttons in EasyGUI, it can be used where there is a need to get if the first selection option as it returns 1 for button having index 0 and for other button it returns 0, it is slightly different from index box, below is how 3 min read Python EasyGUI â Enter Box Enter Box : It is used to get the input from the user, input can be any keyboard input, it takes input in form of string. It displays the title, message to be displayed, place to enter a text and a pair of "Ok", "Cancel" button which is used confirm the input. Also we can set some default text to th 2 min read Python EasyGUI â Yes No Box Yes No Box : It is used to display a window having a two option yes or no in EasyGUI, it can be used where there is a need to get the answer of the question in form of yes or no, it displays two option yes or no for example when we want to ask user whether he is above 18 or not we will use yes no bo 3 min read Python EasyGUI - Message Box Message Box : It is used to display a window having a message or information in EasyGUI, it can be used where there is a need to display some message or some important information, it contains message and a "Ok" button which when pressed closes the message, below is how the message box looks like 2 min read Python EasyGUI â Integer Box Integer Box : It is used to get the integer input from the user, input should be integer input not string which happens in enter box. It displays the title, message to be displayed, place to enter a integer input and a pair of "Ok", "Cancel" button which is used confirm the input. We can set some de 3 min read EasyGUI â Code Box Code Box : It is used to show and get the text to/from the user which is in form of code i.e not in word-wrap form, text can be edited using any keyboard input, it takes input in form of string. It displays the title, message to be displayed, place to alter the given text and a pair of "Ok", "Cancel 2 min read wxPython - Hide Radio Box from the frame In this article we are going to learn how can we hide the whole Radio Box widget present inside a frame. In order to do that we will be using Hide() function. Hide() function requires no parameters. Hide() function only hides the Radio Box widget while not remove from the window. Also, the value of 2 min read Python EasyGUI â Showing Image in a Button Box In this article we will see how we can add or show image in the button box. Button box is used to display a window having multiple buttons in EasyGUI, it can be used where there is condition to select one among lot of buttons for example buttons in lift at a time user can opt only one option, below 3 min read wxPython - Hide Radio Button In this article we are going to learn about that, how can we hide a radio button present on frame. We can hide a radio button using Hide() function. Hide() function takes no argument and hide the radio button window from the frame. Hide() is different from Drop() as it just hides the radio button an 1 min read Like