GXPS.LinkTarget

Fields

None

Methods

copy ()

free ()

get_anchor ()

get_uri ()

is_internal ()

Details

class GXPS.LinkTarget

GXPS.LinkTarget represents a hyperlink source.

copy()
Returns:

a copy of self. Free the returned object with GXPS.LinkTarget.free()

Return type:

GXPS.LinkTarget

Creates a copy of a GXPS.LinkTarget

free()

Frees a GXPS.LinkTarget.

get_anchor()
Returns:

the name of the anchor of self.

Return type:

str

Gets the anchor name self links to. If self is an internal GXPS.LinkTarget this function always returns and anchor, if it is external it might return None if the self does not have an anchor.

get_uri()
Returns:

the URI of self.

Return type:

str

Gets the URI self links to.

is_internal()
Returns:

True if the GXPS.LinkTarget points to an internal location, False if it points to a external one.

Return type:

bool

Gets whether self destination is internal or not.