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

Method page1_inside

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

Source from the content-addressed store, hash-verified

143 self.page2_inside()
144
145 def page1_inside(self):
146 style = ttk.Style()
147 user_text_label = ttk.Label(
148 self.page1_main_label, text="Enter Your Text Here : ", font=("", 14)
149 )
150 user_text_label.grid(row=0, column=0, pady=10)
151 user_entry_box = ttk.Entry(
152 self.page1_main_label, width=35, textvariable=self.user_text
153 )
154 user_entry_box.grid(row=1, column=0)
155 style.configure(
156 "TButton",
157 foreground="black",
158 background="white",
159 relief="groove",
160 font=("", 12),
161 )
162 encrypt_btn = ttk.Button(
163 self.page1_main_label,
164 text="Encrypt Text",
165 style="TButton",
166 command=self.encrypt_now,
167 )
168 encrypt_btn.grid(row=2, column=0, pady=15)
169
170 # ---------- Page1 Button Binding Function ----------
171

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected