Dionatan Diego Posted February 10, 2014 at 01:09 AM Report #544601 Posted February 10, 2014 at 01:09 AM Eai galera, tudo bem? Preciso desenvolver um app auxiliar, que eu possa indicar alguns aplicativos de terceros para download, se alguém puder me ajudar, ficarei muito grato, desde já agradeço !!!
mundo Posted February 10, 2014 at 09:25 AM Report #544612 Posted February 10, 2014 at 09:25 AM O que já fizes-te? Onde estão concretamente as tuas dúvidas?
Dionatan Diego Posted February 10, 2014 at 12:15 PM Author Report #544629 Posted February 10, 2014 at 12:15 PM (edited) from tkinter import * app = Tk() app.title("D1 tech") app.geometry('300x200+400+200') #big/bash $ 'Sudo / etc / init.d / dbus restart' def negrito(): negrito = '33[1m' return negrito b1 = Button(app, text = "Faq", width = 15) b1.pack(side = "left", padx = 10, pady = 10) b2 = Button(app, text = "APP adicionais!", width = 15) b2.pack(side = "right", padx = 10, pady = 10) app.Mainloop() Se puder me ajudar ficarei grato! Edited February 10, 2014 at 04:16 PM by thoga31 Tags code + GeSHi
thoga31 Posted February 10, 2014 at 04:17 PM Report #544661 Posted February 10, 2014 at 04:17 PM Onde estão concretamente as tuas dúvidas? Knowledge is free!
Dionatan Diego Posted February 11, 2014 at 12:42 AM Author Report #544776 Posted February 11, 2014 at 12:42 AM Eu queria fazer esse aplicativo indicar site, o problema e que não consigo colocar link nos botões...!
mundo Posted February 11, 2014 at 11:02 AM Report #544816 Posted February 11, 2014 at 11:02 AM Podes fazer algo do genero: frame = Frame(app) frame.pack() url = "www.blabla.com" def OpenUrl(): webbrowser.open_new(url) button = Button(frame, text="Faq", command=lambda aurl=url:OpenUrl(aurl)) button.pack(side = "left", padx = 10, pady = 10) 1 Report
Dionatan Diego Posted February 11, 2014 at 12:51 PM Author Report #544833 Posted February 11, 2014 at 12:51 PM Valeuuu...!!!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now