MCPcopy Index your code
hub / github.com/geekcomputers/Python / page2_inside

Method page2_inside

encrypter-decrypter-gui.py:185–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

183 # --------------------------------------------------Binding Functions of Page1 End Here
184 # Page2 ------------------>
185 def page2_inside(self):
186 style = ttk.Style()
187 user_text_label = ttk.Label(
188 self.page2_main_label, text="Enter Decrypted Text Here : ", font=("", 14)
189 )
190 user_text_label.grid(row=0, column=0, pady=10)
191 user_entry_box = ttk.Entry(
192 self.page2_main_label, width=35, textvariable=self.user_text2
193 )
194 user_entry_box.grid(row=1, column=0)
195 style.configure(
196 "TButton",
197 foreground="black",
198 background="white",
199 relief="groove",
200 font=("", 12),
201 )
202 encrypt_btn = ttk.Button(
203 self.page2_main_label,
204 text="Decrypt Text",
205 style="TButton",
206 command=self.decrypt_now,
207 )
208 encrypt_btn.grid(row=2, column=0, pady=15)
209 # ---------- Page1 Button Binding Function ----------
210
211 def decrypt_now(self):
212 user_text = self.user_text2.get()

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected