Gtk.AboutDialog.SetUrlHook Method
Installs a global function to be called whenever the user activates a URL link in an about dialog.

Syntax

public static AboutDialogActivateLinkFunc SetUrlHook (AboutDialogActivateLinkFunc func)

Parameters

func
A Gtk.AboutDialogActivateLinkFunc to be called when a URL link is activated.

Returns

The Gtk.AboutDialogActivateLinkFunc delegate that was the previous used as the URL hook.

Remarks

If no hook is set, the AboutDialog.Website will in the dialogs appear as standard non-clickable text.

The following example uses the built in ome.Url.Show(string) to open links:

C# Example

	Gtk.AboutDialog.SetUrlHook(delegate(Gtk.AboutDialog dialog, string link) {
		Gnome.Url.Show(link);
	});

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.6