Re: How to change background color in a window

2002-05-21 Thread Sven Neumann
Hi, Rick Amont [EMAIL PROTECTED] writes: I have been trying to change the background color of a window in GTK+. I have tried, among other things, changing the background color in the widget's style like this GtkStyle *style; style = gtk_widget_get_style(window); style =

Re: How to get the released signal of a mouse click in a window?

2002-05-21 Thread Sven Neumann
Hi, Rick Amont [EMAIL PROTECTED] writes: I have a scrolled window inside a window and I am connecting the pressed and released mouse button signals to their respective handling functions. While I get the pressed signal, I can not get the release signal. I've tried things like:

Moving a window wm independent

2002-05-21 Thread Mattias Gaertner
Hi all, I want to move a whole window around. I tried gdk_window_move and gtk_widget_set_uposition. They both do pretty the same. But the result depends on the windowmanager. sawfish for example puts the window _with_ the window border at the coordinate, enlightenment puts the inner area,

Re: Moving a window wm independent

2002-05-21 Thread Sven Neumann
Hi, Mattias Gaertner [EMAIL PROTECTED] writes: I want to move a whole window around. I tried gdk_window_move and gtk_widget_set_uposition. what about gtk_window_move()? Did you try that? Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED]

GtkEntry set text

2002-05-21 Thread Reham Younis
Does anyone know who do I set the text of a GtkEntry? I am using gtk_entry_set_text(GtkEntry * entry,gchar *text). But it keeps appending to the current text! Could anyone give me an explanation? Reham __ Do You Yahoo!? LAUNCH - Your Yahoo!

gtk_clist_append

2002-05-21 Thread Lourdes Maldonado
I am using the following code to update my list but I noticed that my memory usage increases with almost every call I make to gtk_clist_append. (btw: I commented out the call to the systemstatus_update function and the memory usage increase disappear so I am pretty sure the problem exists in

Performance regression in GTK+ 2.0 compared to 1.2?

2002-05-21 Thread ERDI Gergo
[please CC replies to [EMAIL PROTECTED], thanks] Since GTK+ 2.0 has been released for more than a month, I decided to get up-to-date with GTKmm and other related packages to fix Gnomoku which has surely bit-rotten in the last months. Back when I first ported it to GTK+ 1.3, it was very slow, but

Re: Moving a window wm independent

2002-05-21 Thread Havoc Pennington
Mattias Gaertner [EMAIL PROTECTED] writes: I want to move a whole window around. I tried gdk_window_move and gtk_widget_set_uposition. They both do pretty the same. But the result depends on the windowmanager. sawfish for example puts the window _with_ the window border at the

Re: Performance regression in GTK 2.0 compared to 1.2?

2002-05-21 Thread Ralph Walden
I have also noticed that Gtk2.0 seems visibly slower and clunkier than 1.2. This is so noticeable even in the simplest dialogs, that I am hesitant to port my application to 2.0, especially since I really don't need any of the new gtk2.0 features. What's going on here? Can anything be done?

Re: #include gtk/gtk.h

2002-05-21 Thread Robert Lugg
Also, in the command below, be sure to use the: ` symbol. Do not use the: ' symbol. If you are new to Linux or Unix (like myself), that might not be obvious. The two different single-quotes are different. The first may be on your keyboard with the and the other is usually on the left side

Re: #include gtk/gtk.h

2002-05-21 Thread Joe Pfeiffer
Robert Lugg writes: Also, in the command below, be sure to use the: ` symbol. Do not use the: ' symbol. If you are new to Linux or Unix (like myself), that might not be obvious. The two different single-quotes are different. The first may be on your keyboard with the and the

RE: gtk-list digest, Vol 1 #1024 - 11 msgs

2002-05-21 Thread [EMAIL PROTECTED]
Okay. I didn't include any OS particulars before because I've had no problems with it prior to this. Matter of fact, no matter which *nix I use there is always a problem with packages I find. Pretty much the same error on all distros too. The GTK+ package downloaded (latest-stable) was missing

depcomp file missing for atk and pango builds

2002-05-21 Thread Ray Zuniga
I'm trying to build gtk-2.0.2. I've had success building the libraries atk-1.0.1, pango-1.0.1, and gtk for i686-pc-linux-gnu but I'm getting a similar error across multiple platforms when either I build the atk library or the pango library. The systems having the problem are:

Widget at position

2002-05-21 Thread Ian King
Hi, Is there an easy way to query what gtkwidget is under the mouse pointer at any given time under either Gtk+ 1.2 or 2.0? I need this to be able to work with composite widgets where I don't care what internal widgets make up a larger widget (such as a combo box, where I only care whether the

pointer grabs and drawing areas

2002-05-21 Thread Paul Davis
i have a drawing area set up to receive both button press+release events. my understanding is that X/GDK automatically does a pointer grab when a GdkWindow has these events set for itself. i also receive motion events, via motion hints. if i press and then move the pointer outside the drawing

installing gtk+ on redhat 7.3

2002-05-21 Thread June Hill
Dear gtk, I wish to install gtk on RedHat 7.3. I downloaded the gtk+-1.2.10-15 tar file and extracted it then ran configure. Configuration failed with the following message: checking for X... no configure: error: *** X libraries or include files not found. Check 'config.log' for *** more