(frame: tk.Frame)
Create and place elements for reddit in the login frame
        :param frame: frame to set up, in this case the login tab
        :return: None
Create and place elements for reddit in the login frame
        :param frame: frame to set up, in this case the login tab
        :return: None
Create and place elements for reddit in the login frame : param frame : frame to set up in this case the login tab : return : None
def build_reddit_login(frame: tk.Frame):
        """
        Create and place elements for reddit in the login frame
        :param frame: frame to set up, in this case the login tab
        :return: None
        """
        # Create elements
        title = tk.Label(frame, text='Reddit')
        title.config(font=('arial', 25))

        username_label = tk.Label(frame, text='Enter Reddit username:')
        username_entry = tk.Entry(frame)

        password_label = tk.Label(frame, text='Enter Reddit password:')
        password_entry = tk.Entry(frame, show="*")

        client_id_label = tk.Label(frame, text='Enter Reddit client ID:')
        client_id_entry = tk.Entry(frame)

        client_secret_label = tk.Label(
            frame, text='Enter Reddit client secret:')
        client_secret_entry = tk.Entry(frame, show="*")

        login_confirm_text = tk.StringVar()
        login_confirm_text.set('Waiting for Login')

        login_confirmed_label = tk.Label(
            frame, textvariable=login_confirm_text)

        login_button = tk.Button(
            frame, text='Login to Reddit',
            command=lambda: reddit.set_reddit_login(
                username_entry.get(),
                password_entry.get(),
                client_id_entry.get(),
                client_secret_entry.get(),
                login_confirm_text,
                reddit_state
            )
        )

        # Place elements
        title.grid(row=0, column=0, columnspan=2, sticky='W')

        username_label.grid(row=1, column=0, sticky='W')
        username_entry.grid(row=1, column=1, sticky='W')

        password_label.grid(row=2, column=0, sticky='W')
        password_entry.grid(row=2, column=1, sticky='W')

        client_id_label.grid(row=3, column=0, sticky='W')
        client_id_entry.grid(row=3, column=1, sticky='W')

        client_secret_label.grid(row=4, column=0, sticky='W')
        client_secret_entry.grid(row=4, column=1, sticky='W')

        login_button.grid(row=5, column=0, sticky='W')
        login_confirmed_label.grid(row=5, column=1, sticky='W')

        reddit.initialize_reddit_user(login_confirm_text, reddit_state)
def build_reddit_login ( frame : tk . Frame ) : # Create elements title = tk . Label ( frame , text = 'Reddit' ) title . config ( font = ( 'arial' , 25 ) ) username_label = tk . Label ( frame , text = 'Enter Reddit username:' ) username_entry = tk . Entry ( frame ) password_label = tk . Label ( frame , text = 'Enter Reddit password:' ) password_entry = tk . Entry ( frame , show = "*" ) client_id_label = tk . Label ( frame , text = 'Enter Reddit client ID:' ) client_id_entry = tk . Entry ( frame ) client_secret_label = tk . Label ( frame , text = 'Enter Reddit client secret:' ) client_secret_entry = tk . Entry ( frame , show = "*" ) login_confirm_text = tk . StringVar ( ) login_confirm_text . set ( 'Waiting for Login' ) login_confirmed_label = tk . Label ( frame , textvariable = login_confirm_text ) login_button = tk . Button ( frame , text = 'Login to Reddit' , command = lambda : reddit . set_reddit_login ( username_entry . get ( ) , password_entry . get ( ) , client_id_entry . get ( ) , client_secret_entry . get ( ) , login_confirm_text , reddit_state ) ) # Place elements title . grid ( row = 0 , column = 0 , columnspan = 2 , sticky = 'W' ) username_label . grid ( row = 1 , column = 0 , sticky = 'W' ) username_entry . grid ( row = 1 , column = 1 , sticky = 'W' ) password_label . grid ( row = 2 , column = 0 , sticky = 'W' ) password_entry . grid ( row = 2 , column = 1 , sticky = 'W' ) client_id_label . grid ( row = 3 , column = 0 , sticky = 'W' ) client_id_entry . grid ( row = 3 , column = 1 , sticky = 'W' ) client_secret_label . grid ( row = 4 , column = 0 , sticky = 'W' ) client_secret_entry . grid ( row = 4 , column = 1 , sticky = 'W' ) login_button . grid ( row = 5 , column = 0 , sticky = 'W' ) login_confirmed_label . grid ( row = 5 , column = 1 , sticky = 'W' ) reddit . initialize_reddit_user ( login_confirm_text , reddit_state )