gtk_url_about_dialog_hook


Description:


[ Version ( since = "4.21.0" ) ]
public void gtk_url_about_dialog_hook (AboutDialog about_dialog, string address, void* user_data)

This is a convenience function, which can be registered with AboutDialog, to open links clicked by the user in AboutDialog<!---->s.

All you need to do is to register this hook with gtk_about_dialog_set_url_hook and gtk_about_dialog_set_email_hook . This can be done prior to calling show_about_dialog, for example:

<informalexample><programlisting> static void show_about_dialog (void) {

gtk_show_about_dialog (.....); } </programlisting></informalexample>

This function is not needed when you use Gtk 2.18 or later, because from that version this is implemented by default.

Parameters:

about_dialog

the AboutDialog in which the user activated a link.

address

the link, mail or web address, to open.

user_data

user data that was passed when the function was registered with gtk_about_dialog_set_email_hook or gtk_about_dialog_set_url_hook. This is currently unused within the context of this function, so you can safely pass null when registering this hook with AboutDialog.


Namespace: Xfce
Package: libxfce4ui-2