run_with_category


Description:

[ CCode ( cname = "xapp_icon_chooser_dialog_run_with_category" ) ]
public int run_with_category (string category)

Like xapp_icon_chooser_dialog_run but selects a particular category specified by category.

This is used when there is a particular category of icon that is more appropriate than the others. If the category does not exist, the first category in the list will be selected. To get a list of possible categories, use gtk_icon_theme_list_contexts ().

xapp_icon_chooser_dialog_run (), run_with_icon, and xapp_icon_chooser_dialog_run_with_category () may all be called multiple times. This is useful for applications which use this dialog multiple times, as it may improve performance for subsequent calls.

Parameters:

this

a IconChooserDialog

Returns:

GTK_RESPONSE_OK if the user selected an icon, or GTK_RESPONSE_CANCEL otherwise