re-filter GtkFileChooser widget after changing custom GtkFileFilter
- From: Olivier Sessink <lists olivier pk wau nl>
- To: gtk-app-devel-list gnome org
- Subject: re-filter GtkFileChooser widget after changing custom GtkFileFilter
- Date: Mon, 24 Oct 2005 15:20:12 +0200
Hi all,
I have a custom GtkFileFilter, some check buttons in the
GtkFileChooserDialog affect the filtering.
However, after one of the checkboxes have been changed, the
GtkFileChooser widget has to refilter (my custom filter func will return
a different value). How do I do that??
I've tried to simply set the filter function in the callback:
GtkFileFilter *filter =
gtk_file_chooser_get_filter(GTK_FILE_CHOOSER(dialog));
gtk_file_chooser_set_filter(GTK_FILE_CHOOSER(dialog), filter);
but that doesn't trigger the refiltering...
Anybody an idea?
thanks,
Olivier Sessink
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]