Gtk Style

2006-08-09 Thread Winslow Harris
Can anyone explain how the Gtk Style property of a widget works. Changing the GdkColor properties of a gtk style seem to have no effect, the colors have to be change through the graphic content members. Changing the foreground color through the graphic contents property affects all the widget

poptlibrary Crosscompilation for ARM11

2006-08-09 Thread harshavardhanreddy mandeepala
HI, I am trying to cross compile popt libraries for my IMX31(ARM11)processor from FC3. I used  popt-1.6.4 ver. when i use ./configure --host=arm-linux  --build=i386  --disable-nls or ./configure --host=arm-linux  --build=i386 CC=arm-linux-gcc --disable-nls both the time it is compiling and creati

gtk_label_set_text () BUG !?!?!?!?!??!?!?!??!!? ( N00b)

2006-08-09 Thread hm
Hi ! I`m workin` on a chessgame project. I`m willing to use GLib threads to make ticking clock visible in my GUI. Thread function modifies ( by gtk_label_set_text () ) text in label, which`s pointer is given as a parameter to Thread. The problem is, that when the thread function is modyfying

Re: Pixmap (II)

2006-08-09 Thread Richard Boaz
Hi, 1) gtk_pixmap_new() is old and should not be used; I think you want to be using gtk_image_new_from_pixmap() instead. 2) though that said, if the image is going to be changing during the course of the program, you might want to do it differently (depending): 2.1) create the image wi

GTK 2.10 - missing icons in file dialog

2006-08-09 Thread Tilman Sauerbeck
Hi, with GTK 2.10, I've noticed that the file dialog doesn't show icons for files and directories the way it used to. It's using the same fallback icon (white rectangle) for any entry. http://bugzilla.gnome.org/show_bug.cgi?id=345666 This patch makes the file dialog show the correct icon for direc

Pixmap (II)

2006-08-09 Thread Roses Roses
Hi! I've read your solution, but I haven't obtained the correct answer. My drawable routine is the next: GdkBitmap *masc; // Mascara de bits GtkStyle *stile; // Estilo stile = gtk_widget_get_style(window); pixmap=gdk_pixmap_create_from_xpm(window->window,&masc,&stile->bg[GTK_STATE_NORMAL],

Re: gtk

2006-08-09 Thread Sergei Steshenko
--- Bill Cunningham <[EMAIL PROTECTED]> wrote: > Before I try Serge's tool I want to try this the official way. > Pkg-config has been set and I got atk to install so I tried to install gtk > having atk and glib installed. I got a configure script error saying glib, > atk, pango, and cairo no

gtk

2006-08-09 Thread Bill Cunningham
Before I try Serge's tool I want to try this the official way. Pkg-config has been set and I got atk to install so I tried to install gtk having atk and glib installed. I got a configure script error saying glib, atk, pango, and cairo not installed. Well glib and atk are installed so something

Re: Threads, sockets and windows

2006-08-09 Thread Tor Lillqvist
Vladimir writes: > Can I just use g_io_channel_unix_new(socket) to create GIOChannel for > windows socket ? Not reliably. The same small integer might be both a valid file descriptor and a socket, and there is no way for g_io_channel_unix_new() to know which one you mean. Use g_io_channel_win32

Re: Where are the pixels ?

2006-08-09 Thread John Cupitt
On 8/7/06, Christophe Dehais <[EMAIL PROTECTED]> wrote: > What is not clear to me is whether or not a GdkWindow contains the real > pixels in some way. Let's assume this scenario: a window is created and its > size is computed through size negociation, then a pixel buffer containing > all pixels fo

Re: Threads, sockets and windows

2006-08-09 Thread Vladimir
Hello, > If I recall correctly, one good rule of thumb is to read as much can > from a GIOChannel when you get the callback that it is readable, until > you get G_IO_STATUS_AGAIN. Can I just use g_io_channel_unix_new(socket) to create GIOChannel for windows socket ? The main problem in my progr