Re: problem building a FileChooser dialog
- From: jody <jody xha gmail com>
- To: Chow Loong Jin <hyperair debian org>
- Cc: gtkmm-list gnome org
- Subject: Re: problem building a FileChooser dialog
- Date: Sun, 6 May 2012 18:03:07 +0200
Hi Loong Jin
Thank You for your reply.
Yes, that would explain it...
However i have a different Problem now.
Because i use gtkglmm i also have:
`pkg-config --cflags gtkglextmm-1.2`
and that seems to include lots of files from 2.4
and there is no newer version of it...
How would i have to go about to "downgrade" everything down to gtkmm-2.4?
Thank You
Jody
On Sun, May 6, 2012 at 3:24 PM, Chow Loong Jin <hyperair debian org> wrote:
> On 06/05/2012 21:12, jody wrote:
>> Hi
>>
>> I followed the example given in
>> http://developer.gnome.org/gtkmm-tutorial/3.4/sec-dialogs-filechooserdialog.html.en
>> for making a FileChooser Dialog.
>
> You're referring to the documentation for gtkmm 3.4...
>
>> However, my compiler complains:
>> IQWin.cpp: In member function 'virtual void IQWin::on_button_load_clicked()':
>> IQWin.cpp:219: error: 'create' is not a member of 'Gtk::FileFilter'
>> IQWin.cpp:222: error: no matching function for call to
>> 'Gtk::FileChooserDialog::add_filter(Glib::RefPtr<Gtk::FileFilter>&)'
>> /usr/include/gtkmm-2.4/gtkmm/filechooser.h:910: note: candidates are:
>> void Gtk::FileChooser::add_filter(const Gtk::FileFilter&)
>
> ...but compiling against gtkmm 2.4.
>
> Try compiling against the newer Gtkmm instead:
> $ g++ foo.cc `pkg-config --cflags --libs gtkmm-3.0`
>
> --
> Kind regards,
> Loong Jin
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]