mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
99 lines
2.9 KiB
Python
99 lines
2.9 KiB
Python
# Stubs for webbrowser (Python 3.4)
|
|
#
|
|
# NOTE: This dynamically typed stub was automatically generated by stubgen.
|
|
|
|
from typing import Any
|
|
|
|
class Error(Exception): ...
|
|
|
|
def register(name, klass, instance=..., update_tryorder=...): ...
|
|
def get(using=...): ...
|
|
def open(url, new=..., autoraise=...): ...
|
|
def open_new(url): ...
|
|
def open_new_tab(url): ...
|
|
|
|
class BaseBrowser:
|
|
args = ... # type: Any
|
|
name = ... # type: Any
|
|
basename = ... # type: Any
|
|
def __init__(self, name=...) -> None: ...
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
def open_new(self, url): ...
|
|
def open_new_tab(self, url): ...
|
|
|
|
class GenericBrowser(BaseBrowser):
|
|
name = ... # type: Any
|
|
args = ... # type: Any
|
|
basename = ... # type: Any
|
|
def __init__(self, name) -> None: ...
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class BackgroundBrowser(GenericBrowser):
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class UnixBrowser(BaseBrowser):
|
|
raise_opts = ... # type: Any
|
|
background = ... # type: Any
|
|
redirect_stdout = ... # type: Any
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
remote_action_newtab = ... # type: Any
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class Mozilla(UnixBrowser):
|
|
raise_opts = ... # type: Any
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
remote_action_newtab = ... # type: Any
|
|
background = ... # type: Any
|
|
|
|
class Galeon(UnixBrowser):
|
|
raise_opts = ... # type: Any
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
background = ... # type: Any
|
|
|
|
class Chrome(UnixBrowser):
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
remote_action_newtab = ... # type: Any
|
|
background = ... # type: Any
|
|
|
|
class Opera(UnixBrowser):
|
|
raise_opts = ... # type: Any
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
remote_action_newtab = ... # type: Any
|
|
background = ... # type: Any
|
|
|
|
class Elinks(UnixBrowser):
|
|
remote_args = ... # type: Any
|
|
remote_action = ... # type: Any
|
|
remote_action_newwin = ... # type: Any
|
|
remote_action_newtab = ... # type: Any
|
|
background = ... # type: Any
|
|
redirect_stdout = ... # type: Any
|
|
|
|
class Konqueror(BaseBrowser):
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class Grail(BaseBrowser):
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class WindowsDefault(BaseBrowser):
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class MacOSX(BaseBrowser):
|
|
name = ... # type: Any
|
|
def __init__(self, name) -> None: ...
|
|
def open(self, url, new=..., autoraise=...): ...
|
|
|
|
class MacOSXOSAScript(BaseBrowser):
|
|
def __init__(self, name) -> None: ...
|
|
def open(self, url, new=..., autoraise=...): ...
|