This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

EggLinkButton

Completion: 80% done

Owner: EmmanueleBassi

Implementation attached to bug: gnomebug:314808

JonathanBlandford: Does it have to be a button? As an alternative, what about adding anchor support to gmarkup and GtkLabel? Where would you use this instead of a label?

API Details

The EggLinkButton is a simple GtkButton with a uri property set by the ctor and by accessor functions. The button's label is underlined and colored just like an hyperlink inside a browser.

If no label is provided for the button, the URI itself is used.

It supports drag and drop of the URI into other targets.

Pending Issues

Should we add a pop-up menu, containing a "copy link" item, in order to copy the URI into the clipboard?

Should we add some theme properties mapping the CSS2 meta-classes for the anchor entity, such "hover", "active", "link" and "visited"?


2024-10-23 10:59