Never mind about that, I didn't notice add_filter() took in a reference and I 
was passing in a local Gtk::Filter() which went out of scope by the time I 
wanted to use it.

Thanks for the help!

- Soo Wei

-----Original Message-----
From: Murray Cumming [mailto:murr...@murrayc.com] 
Sent: Wednesday, May 20, 2009 1:58 AM
To: Soo Wei Tan
Cc: gtkmm-list@gnome.org
Subject: Re: FileFilter signal when changed in FileChooserDialog

On Tue, 2009-05-19 at 17:40 -0700, Soo Wei Tan wrote:
> Initially, I thought I could simply use FileChooser::GetFilter to 
> retrieve the currently selected filter after the user clicks "Save 
> As". However, this returns me a null pointer instead.

I think FileChooser::get_filter() should work for this. Could you please create 
a small test case, for instance by modifying an example from the 
gtkmm-documentation module, and put it in bugzilla if necessary.

--
murr...@murrayc.com
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to