Making a Preference Window

2009-01-31 Thread dhk
Does anyone know how to save a modification to GTK program as a Glade Project? The reason I want to do this is so the next time the program is run it starts in a certain state. For example, one of the things I'd like to do is add a preference window to my GTK program. I can design the preference

GdkBitmap from black & white .png file

2009-01-31 Thread Richard Shann
The Gdk functions to create bitmaps from data require xbm or xpm data. (For example gdk_bitmap_create_from_data ()). Why do I not see anything to create a bitmap from a (b&w) .png image? I've used the pixbuf library before, using gdk_draw_pixbuf() but the program I am working on uses a GdkBitmap

Re: utf-16 and glib

2009-01-31 Thread Behdad Esfahbod
No one's converting the GTK+ stack away from UTF-8. Don't let all the talk intimidate you. behdad Thomas Stover wrote: > Please, please, please don't switch to UTF-16. To me gtk is about > getting to use technologies that are "solid", "real", "fun", and > "effective". Principally, that means C a