Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
webbrowser.WindowsDefault Class Reference
Inheritance diagram for webbrowser.WindowsDefault:
Inheritance graph
[legend]
Collaboration diagram for webbrowser.WindowsDefault:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def open
def open_new
def open_new_tab

Public Attributes

 name
 basename
_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Public Attributes

list args = ['%s']

Detailed Description

Definition at line 504 of file webbrowser.py.


Member Function Documentation

def webbrowser.WindowsDefault.open (   self,
  url,
  new = 0,
  autoraise = True 
)

Reimplemented from webbrowser.BaseBrowser.

Definition at line 505 of file webbrowser.py.

00505 
00506         def open(self, url, new=0, autoraise=True):
00507             try:
00508                 os.startfile(url)
00509             except WindowsError:
00510                 # [Error 22] No application is associated with the specified
00511                 # file for this operation: '<URL>'
00512                 return False
00513             else:
00514                 return True
00515 
    _tryorder = []

Here is the call graph for this function:

def webbrowser.BaseBrowser.open_new (   self,
  url 
) [inherited]

Definition at line 151 of file webbrowser.py.

00151 
00152     def open_new(self, url):
00153         return self.open(url, 1)

Here is the call graph for this function:

def webbrowser.BaseBrowser.open_new_tab (   self,
  url 
) [inherited]

Definition at line 154 of file webbrowser.py.

00154 
00155     def open_new_tab(self, url):
00156         return self.open(url, 2)
00157 

Here is the call graph for this function:


Member Data Documentation

list webbrowser.BaseBrowser.args = ['%s'] [static, inherited]

Reimplemented in webbrowser.GenericBrowser.

Definition at line 142 of file webbrowser.py.

Reimplemented in webbrowser.GenericBrowser.

Definition at line 146 of file webbrowser.py.

Reimplemented in webbrowser.MacOSX, and webbrowser.GenericBrowser.

Definition at line 145 of file webbrowser.py.

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.


The documentation for this class was generated from the following file: