drag drop problem

2002-08-14 Thread vyadav
hi all... can anyone give me the URL of the examples on drag drop in gtk 1.2... thanx in advance...

image problem

2002-08-14 Thread vyadav
hi all... In the function gtk_image_new(GdkImage *val, GdkBitmap *mask); what should be the first and second argument in this function... plz help... thanx...

button color

2002-08-14 Thread vyadav
hi... i tried of changing the color of button by putting an eventbox on it...but it doesn't behave properly ..by doing it color of button has changed but when i put the mouse on the button it disappears when the mouse away from the button it reamins colored.. what is the

Re: button color

2002-08-14 Thread Paul Davis
i tried of changing the color of button by putting an eventbox on it...but it doesn't behave properly ..by doing it color of button has changed but when i put the mouse on the button it disappears when the mouse away from the button it reamins colored.. what is the solution of it...

Re: button color

2002-08-14 Thread Sven Neumann
Hi, Paul Davis [EMAIL PROTECTED] writes: 2) any widget with its own window can have its own colors. a button is a widget with its own window. no event box is necessary. I'm afraid but I have to correct you. As of GTK+-2.0 a GtkButton is a GTK_NO_WINDOW widget and draws upon it's parent

Re: button color

2002-08-14 Thread Paul Davis
2) any widget with its own window can have its own colors. a button is a widget with its own window. no event box is necessary. I'm afraid but I have to correct you. As of GTK+-2.0 a GtkButton is a GTK_NO_WINDOW widget and draws upon it's parent window. 5) any questions posted to gtk-list

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-14 Thread Eric M. Monsler
Allin Cottrell wrote: On Tue, 13 Aug 2002, Eric M. Monsler wrote: I feel it should not crash on any input. I have a similar test case, which uses: tmp_float = (float)strtod(6.0e-44,NULL); g_string_sprintf(pGStr,%6.2f\n,tmp_float); and produces the same crash. I'd say that crashing is

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9on Linux

2002-08-14 Thread Chris Wareham
Eric M. Monsler wrote: Inspecting errno when? tmp_float = (float)strtod(6.0e-44,NULL); /* inspect errno and tmp_float here - see strtod(3) */ if(errno == ERANGE) { g_print(bad argument to strtod()\n); exit(1); } else if(tmp_float == FLT_MIN || tmp_float == FLT_MAX) {

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9on Linux

2002-08-14 Thread Chris Wareham
Chris Wareham wrote: Eric M. Monsler wrote: Inspecting errno when? tmp_float = (float)strtod(6.0e-44,NULL); /* inspect errno and tmp_float here - see strtod(3) */ if(errno == ERANGE) { g_print(bad argument to strtod()\n); exit(1); } else if(tmp_float == FLT_MIN ||

Re: Crashing g_string_sprintf when printing invalid floats. gtk+-1.2.9 on Linux

2002-08-14 Thread Eric M. Monsler
Yes. I understand the limitations of strtod. Much of this thread could have been avoided if I had used: f_val = 6.2e-21; f_val *= 1.0e-21; in my example code. I used the union example because that's how I found the problem, I used the double to float cast because that's how I tested that

two questions (newbie)

2002-08-14 Thread Ruben Porras
1- How can I make my program to take root permision, you now, a text box asking for password But I have no idea of how to make the program become root. 2-When I try to enter in a text_entry some text with non english caracters like ñ, ¿. á,é... y recive this error: Invalid

Re: two questions (newbie)

2002-08-14 Thread Gustavo Giráldez
Hi, On Wed, 2002-08-14 at 13:59, Ruben Porras wrote: 2-When I try to enter in a text_entry some text with non english caracters like ñ, ¿. á,é... y recive this error: Invalid UTF8 string passed to pando_layout_set_text() I'm using Debian Sarge and GTK 2.0. I assume you're

Building glib-2.0.4 with mingw and autotools on cygwin (long posting)

2002-08-14 Thread Andreas Ames
Hi, I'm using glib within an own application (a jabber client lib) because of data types and portability support. My first target is windows, so I wanted to manage the build process on this platform (for example to be able to produce debug symbols for glib). Below I give a recipe how to build

regarding popup window

2002-08-14 Thread simith nambiar
hi list !     i'am a newbie to gtk and im using gtk-1.2 . i have developed a voice chat application on linux and i want a window popped up when there is a incoming call i tried a pop up window  - which i call from a callback function of the stack which i use for the voice chat

problem - gtk+-2.0.6 didn't create gtk-config

2002-08-14 Thread Philip Goisman
Hi, I am new to gtk+, but I built (successfully apparrently - no errors) gtk+-2.0.6 with all of the required applications (atk-1.0.3, glib-2.0.6, pkgconfig-0.12.0, gettext-0.11.5, and pango-1.0.4). gtk+-2.0.6 was built using gcc version 3.1.1 on Tru64 Unix V5.1A. However, when I

Re: problem - gtk+-2.0.6 didn't create gtk-config

2002-08-14 Thread Sven Neumann
Hi, Philip Goisman [EMAIL PROTECTED] writes: I am new to gtk+, but I built (successfully apparrently - no errors) gtk+-2.0.6 with all of the required applications (atk-1.0.3, glib-2.0.6, pkgconfig-0.12.0, gettext-0.11.5, and pango-1.0.4). gtk+-2.0.6 was built using gcc version 3.1.1

how do i use a mutex

2002-08-14 Thread simith nambiar
hi there, iam using 2 gtk_timeout function one that creates Jpeg images from a webcam, and another to transmit it how do i mutex it in Gtk please help! Regards, Simith = BIG JOHN NEVER PAYS!:check out Wanda the Fish on RH Linux Simith Nambiar, Student MIT,Manipal

cant change font

2002-08-14 Thread Garrone, Peter
I parse the following resource file from my application. #-- style all { font = -*-helvetica-medium-r-normal--17-*-*-*-*-*-*-* fg[NORMAL] = {0,0, 1.0} } widget_class * style all