Re: File Chooser Dialog: display only files with chosen extensions




On Sat, 2008-01-12 at 17:04 +0530, vijayasarathy setsindia net wrote:

      //Add filter to the dialog box
      gtk_file_chooser_add_filter((GtkFileChooser *)wdgt_filechooser,filefilter);

try with gtk_file_chooser_set_filter (file_chooser, filter);

and use the casting macros that GTK+ provides, which are usually safer
(the GTK+ type system works at run-time, not compile-time).

*************************************************************************************
DISCLAIMER 
This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. 

these kind of disclaimer are completely useless and irrelevant on a
mailing list; they tend to just clutter up emails and they don't hold
any legal value whatsoever. please, stop adding them. if the mail server
you're using attaches them automatically, please use another mail server
when using mailing lists.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]