Python Forum
webbrowser not working in screen management in kivy
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
webbrowser not working in screen management in kivy
#1
import webbrowser
def any_Function(instance)
webbrowser.open('https://www.python.org')
<Mainwindow>:
name: "main"
GridLayout:
cols:1
spacing: '3pt'
padding:'5pt'
Button:
text: "Click Here"
font_size: '12pt'
color: 1, 0, 0, 1
bold: True
size_hint: None, None
pos_hint: {'center_x': 1.9}
width: 340
height: 15
on_press:
app.root.current = any_Function()
root.manager.transition.direction = "left"
My Problem is im unable to link a function in screenmanagement. How do i access.
My requirement is "in screen if we click a label weblink should display"
Please help me in python kivy
Reply
#2
Where is the kivy code ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python - control a webbrowser ARGMER 1 3,385 Oct-26-2018, 06:20 PM
Last Post: metulburr
  Django not saving model in management command F2Andy 1 3,225 Jun-02-2018, 03:17 PM
Last Post: F2Andy
  Project on Shift management system ab_1986 3 5,313 Nov-30-2017, 02:57 PM
Last Post: ab_1986
  webbrowser ian 3 6,905 Aug-28-2017, 01:21 AM
Last Post: metulburr
  Selenium webbrowser send entern and escape key pythongeekme 0 4,041 Jul-20-2017, 08:31 PM
Last Post: pythongeekme

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020