[GTK+2] gtk_widget_modify_bg() doesn't work on Windows

2013-06-27 Thread Alessandro Francesconi
Hello, I have a piece of code that shows a matrix of 5x5 GtkButtons. Each one must be black or white. I managed to do this with gtk_widget_modify_bg(), for example: // prepare colors GdkColor color_black, color_white; gdk_color_parse ("black", &color_black); gdk_color_parse ("white", &colo

Re: Invisible GtkImage

2013-06-27 Thread Andrew Potter
On Wed, Jun 26, 2013 at 2:51 PM, Kip Warner wrote: > On Mon, 2013-06-24 at 13:56 -0700, Andrew Potter wrote: > So two questions now I have for you, if you don't mind. The first is a > problem with clipping, the same one I experienced a few days ago. Note > the assistant button widgets at the botto

Re: ComboBox

2013-06-27 Thread Rudra Banerjee
On Thu, 2013-06-27 at 16:42 +0002, Bernhard Schuster wrote: > gtk-2.24 is still "current" in CentOS/RedHat Enterprise/Scientific > Linux This List is probably long, I can add at least one more..SLED. thats what I meant (including others) as "if there is no other reason" :-) > and static linkin

Re: ComboBox

2013-06-27 Thread Bernhard Schuster
gtk-2.24 is still "current" in CentOS/RedHat Enterprise/Scientific Linux and static linking might be not allowed due to license restrictions. On Thu, Jun 27, 2013 at 6:09 PM, Rudra Banerjee wrote: gtk+2 itself is old, and if there is no other reason, you should (since you are new) use gtk+3

Re: ComboBox

2013-06-27 Thread Rudra Banerjee
gtk+2 itself is old, and if there is no other reason, you should (since you are new) use gtk+3. The documentation is at https://developer.gnome.org/gtk3/3.8/ On Thu, 2013-06-27 at 14:46 +0100, Rui Pedro Caldeira wrote: > Hello guys, I'm new to GTK+ and I've run into a problem when creating a > Com

Re: ComboBox

2013-06-27 Thread Andreas Rönnquist
On Thu, 27 Jun 2013 14:46:41 +0100, Rui Pedro Caldeira 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 co

Re: ComboBox

2013-06-27 Thread Rui Pedro Caldeira
Thank You guys, I will try that out! Best Regards, Rui On Thu, Jun 27, 2013 at 3:02 PM, Andreas Rönnquist wrote: > On Thu, 27 Jun 2013 14:46:41 +0100, > Rui Pedro Caldeira 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.

ComboBox

2013-06-27 Thread Rui Pedro Caldeira
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 th

Re: ComboBox

2013-06-27 Thread Bernhard Schuster
https://developer.gnome.org/gtk2/2.24/GtkComboBox.html I am not aware of the changes between 2.0 (which the tutorial targets) and 2.24, but you should try to replace it with the API above. Not sure though, I educated guess needs more information (i.e. your includes, sourcecode - preferably whe