GnomeHRef

Name

GnomeHRef — one line description goes here.

Synopsis


#include <gnome.h>


struct      GnomeHRef
GtkWidget*  gnome_href_new                  (const gchar *url,
                                             const gchar *label);
void        gnome_href_set_url              (GnomeHRef *href,
                                             const gchar *url);
gchar*      gnome_href_get_url              (GnomeHRef *href);
void        gnome_href_set_label            (GnomeHRef *href,
                                             const gchar *label);
gchar*      gnome_href_get_label            (GnomeHRef *href);

Object Hierarchy


  GtkObject
   +----GtkWidget
         +----GtkContainer
               +----GtkBin
                     +----GtkButton
                           +----GnomeHRef

Description

Details


GnomeHRef

struct GnomeHRef;


gnome_href_new()

GtkWidget*  gnome_href_new                  (const gchar *url,
                                             const gchar *label);

Created a GNOME href object, a label widget with a clickable action and an associated URL. If label is set to NULL, url is used as the label.

url : URL assigned to this object.label : Text associated with the URL.Returns : Pointer to new GNOME href widget.


gnome_href_set_url()

void        gnome_href_set_url              (GnomeHRef *href,
                                             const gchar *url);

Sets the internal URL value within self to the value of url.

href : url : String containing the URL to be stored within self.


gnome_href_get_url()

gchar*      gnome_href_get_url              (GnomeHRef *href);

Returns the pointer to the URL associated with the self href object.

href : Returns : Pointer to URL string, or NULL if failure.


gnome_href_set_label()

void        gnome_href_set_label            (GnomeHRef *href,
                                             const gchar *label);

Sets the internal label widget text (used to display a URL's link text) to the value given in label.

href : label : New link text for the href object.


gnome_href_get_label()

gchar*      gnome_href_get_label            (GnomeHRef *href);

Returns the value of the label widget used to display the URL link text.

href : Returns : Pointer to value of label widget's text.