Package kiwi :: Package ui :: Module hyperlink :: Class HyperLink
[frames | no frames]

Type HyperLink

    object --+    
             |    
PropertyObject --+
                 |
    object --+   |
             |   |
      _GObject --+
                 |
                HyperLink


Method Summary
  clicked(self)
Fire a clicked signal.
  get_label(self)
Get the internally stored widget.
  get_text(self)
Return the hyperlink text.
  has_menu(self)
Return whether the widget has a menu set.
  popup(self, menu, button, etime)
Popup the menu and emit the popup signal.
  set_menu(self, menu)
Set the menu to be used for popups.
  set_text(self, text)
Set the text of the hyperlink.
    Inherited from PropertyObject
  do_get_property(self, pspec)
  do_set_property(self, pspec, value)
  get_attribute_names(self)
  is_default_value(self, attr, value)

Instance Method Details

clicked(self)

Fire a clicked signal.

get_label(self)

Get the internally stored widget.

get_text(self)

Return the hyperlink text.

has_menu(self)

Return whether the widget has a menu set.
Returns:
a boolean value indicating whether the internal menu has been set.

popup(self, menu=None, button=3, etime=0L)

Popup the menu and emit the popup signal.
Parameters:
menu - The gtk.Menu to be popped up. This menu will be used instead of the internally set menu. If this parameter is not passed or None, the internal menu will be used.
           (type=gtk.Menu)
button - An integer representing the button number pressed to cause the popup action.
           (type=int)
etime - The time that the popup event was initiated.
           (type=long)

set_menu(self, menu)

Set the menu to be used for popups.
Parameters:
menu - the gtk.Menu to be used.
           (type=gtk.Menu)

set_text(self, text)

Set the text of the hyperlink.
Parameters:
text - The text to set the hyperlink to.
           (type=str)

Generated by Epydoc 2.1 on Tue Feb 6 10:53:33 2007 http://epydoc.sf.net