LinkButton.setUriHook

Warning gtk_link_button_set_uri_hook has been deprecated since version 2.24 and should not be used in newly-written code. Use the "clicked" signal instead Sets func as the function that should be invoked every time a user clicks a GtkLinkButton. This function is called before every callback registered for the "clicked" signal. If no uri hook has been set, GTK+ defaults to calling gtk_show_uri(). Since 2.10

Parameters

func GtkLinkButtonUriFunc

a function called each time a GtkLinkButton is clicked, or NULL. [allow-none]

data void*

user data to be passed to func, or NULL. [allow-none]

destroy GDestroyNotify

a GDestroyNotify that gets called when data is no longer needed, or NULL. [allow-none]

Return Value

the previously set hook function.

Meta