Esempio n. 1
0
   def Nick_Name(self):
      self.first=Toplevel(bg=b)
      self.first.geometry('280x290+400+185')
      Label(self.first,bg=w, text= "Group Name ID\n Enter one ID").pack()

      self.theMaster.second=Toplevel(bg =b)
      self.theMaster.second.geometry('160x290+230+185')
      Label(self.theMaster.second,bg=w, text= "Group Name Id's").pack()

      scrollbar = Scrollbar(self.theMaster)
      scrollbar.pack(side=RIGHT, fill=Y)    

      self.theMaster.Name_id = Text(self.theMaster.second, wrap=NONE, yscrollcommand=scrollbar.set, bg = g)
      self.theMaster.Name_id.pack()

      scrollbar.config(command=self.theMaster.Name_id.yview)

      ids= group_list.list_ID('nick')
      for lists in ids:
         self.theMaster.Name_id.insert(END, lists +'\n')
         

      self.look= Entry(self.first)
      self.look.pack()
      self.look.focus()
      self.look.delete(0, END)
      
      self.b1 = Button(self.first,bg=w, text = "FIND", width = 15, command = self.Find)
      self.b1.pack(padx=15, pady=15)    

      self.lists = Text(self.first, bg = g)
      self.lists.pack()
Esempio n. 2
0
   def E_Mail(self):
      self.first=Toplevel(bg=b)
      self.first.geometry('280x290+480+185')
      Label(self.first,bg='white', text= "ID Number").pack()

      self.theMaster.second=Toplevel(bg =b)
      self.theMaster.second.geometry('250x290+220+185')
      Label(self.theMaster.second,bg='white', text= "Group Name Id's").pack()

      scrollbar = Scrollbar(self.theMaster)
      scrollbar.pack(side=RIGHT, fill=Y)    

      self.theMaster.Name_id = Text(self.theMaster.second, wrap=NONE, yscrollcommand=scrollbar.set, bg = g)
      self.theMaster.Name_id.pack()

      scrollbar.config(command=self.theMaster.Name_id.yview)

      ids= group_list.list_ID('E_mail')
      for lists in ids:
         self.theMaster.Name_id.insert(END, lists +'\n')


      self.look= Entry(self.first)
      self.look.pack()
      self.look.focus()
      
      self.b1 = Button(self.first, text = "FIND", width = 15, command = self.Find)
      self.b1.pack(padx=15, pady=15)    

      self.lists = Text(self.first, bg = g)
      self.lists.pack()