Package wx :: Class URLDataObject
[frames | no frames]

Type URLDataObject

object --+    
         |    
DataObject --+
             |
            URLDataObject


This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them.


Method Summary
URLDataObject __init__(self)
This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them.
  __repr__(self)
String GetURL(self)
Returns a string containing the current URL.
  SetURL(self, url)
Set the URL.
    Inherited from DataObject
  __del__(self)
[formats] GetAllFormats(self, dir)
Returns a list of all the wx.DataFormats that this dataobject supports in the given direction.
String GetDataHere(self, format)
Get the data bytes in the specified format, returns None on failure.
size_t GetDataSize(self, format)
Get the (total) size of data for the given format
size_t GetFormatCount(self, dir)
Returns the number of available formats for rendering or setting the data.
DataFormat GetPreferredFormat(self, dir)
Returns the preferred format for either rendering the data (if dir is Get, its default value) or for setting it.
bool IsSupported(self, format, dir)
Returns True if this format is supported.
bool SetData(self, format, data)
Set the data in the specified format from the bytes in the the data string.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Class Variable Summary
    Inherited from DataObject
int Both = 3                                                                     
int Get = 1                                                                     
int Set = 2                                                                     

Method Details

__init__(self)
(Constructor)

This data object holds a URL in a format that is compatible with some browsers such that it is able to be dragged to or from them.

Returns:
URLDataObject
Overrides:
wx.DataObject.__init__

GetURL(self)

Returns a string containing the current URL.

Returns:
String

SetURL(self, url)

Set the URL.

Parameters:
url
           (type=String)


Generated by Epydoc 2.1.20050511.rpd on Sat Jun 16 16:56:01 2007 http://epydoc.sf.net