Re: ComboBox



Thank You guys, I will try that out!

Best Regards,
Rui

On Thu, Jun 27, 2013 at 3:02 PM, Andreas Rönnquist
<mailinglists gusnan se>wrote:

On Thu, 27 Jun 2013 14:46:41 +0100,
Rui Pedro Caldeira<rpcaldeira outlook com> wrote:

Hello guys, I'm new to GTK+ and I've run into a problem when creating a
ComboBox.

I'm using GTK+ 2.24.18 and following the tutorial from this page:

https://developer.gnome.org/gtk-tutorial/2.24/x1063.html

But when I try to compile the code, it seems that none of the
functions I call exists in the gtk.h file


To me it looks like GtkCombo is deprecated in favor of GtkComboBox:

According to
https://developer.gnome.org/gtk2/2.24/GtkCombo.html
:
"As of GTK+ 2.4, GtkCombo has been deprecated in favor of
GtkComboBoxEntry."

which links
https://developer.gnome.org/gtk2/2.24/GtkComboBoxEntry.html

GtkCombBoxEntry does also seem to be deprecated though, and GtkComboBox
seems to be what is supposed to be used. See

https://developer.gnome.org/gtk2/2.24/GtkComboBox.html
and
https://developer.gnome.org/gtk3/3.8/GtkComboBox.html

hope this helps -
-- Andreas Rönnquist
mailinglists gusnan se
gusnan gusnan se
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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