Top "Gtk2" questions

The GIMP ToolKit (GTK+) in its version 2.x.

GLib-CRITICAL **: Source ID XXX was not found when attempting to remove it

I made a treeview with a treestore as model. The window is shown as expected, but when I click in …

c gtk gtk2 gtktreeview
GTK Modifying Background Color of GtkButton

Trying to change background/foreground color....Using Gtk+ and C. GdkColor color; gdk_color_parse( "#0080FF", &color ); gtk_widget_…

c gtk gtk2
In simple gtk key press event example, GDK_SHIFT_MASK seems to be ignored

Could someone please compile and execute the small sample code I provided below? Please let me know if the shift …

c gtk2
glib.h and gtk.h not found

hi every one i have a program in which i have include gtk/gtk.h glib.h i have used …

c linux gtk glib gtk2
Gtk-ERROR **: GTK+ 2.x symbols detected

I'm compiling my c application with gcc with the following flags: gcc evis.c `pkg-config --cflags --libs gtk+-2.0 --libs …

c linux gcc gtk3 gtk2
How can I change the font size in GTK?

Is there an easy way to change the font size of text elements in GTK? Right now the best I …

python fonts gtk pygtk gtk2
How do I link gtk library more easily with cmake in windows?

I'm now doing it in a very ugly way by manually including all the required path(the gtk bundle is …

windows gtk cmake gtk2
GTK and scrolling text view

This is what I have so far GtkWidget* createConsoleBox() { GtkWidget* textArea = gtk_text_view_new(); GtkWidget* scrollbar = gtk_vscrollbar_new(…

c gtk2
GTK+-based graph?

I want to be able to make a line graph using GTK+ but I'm unsure how to approach this. Has …

c++ gtk gtk2
How do I fix the "unknown attribute `swapped'" warnings from libglade?

libglade was updated and my old Glade xml file has these "swapped" attributes for signals. These attributes generate the following …

glade gtk2