Typecast error

2001-03-13 Thread CyborgHead
Hello All. I have a tiny problem, that doesn't really matter, but I would like it to be fixed. In my program I have the following command gtk_signal_connect( GTK_OBJECT( robot_name[1] ), "clicked", GTK_SIGNAL_FUNC( display_info ), 1 ); which calls the following function void display_

Re: Typecast error

2001-03-13 Thread John Cupitt
[EMAIL PROTECTED] wrote: > gtk_signal_connect( GTK_OBJECT( robot_name[1] ), "clicked", > GTK_SIGNAL_FUNC( display_info ), 1 ); > > gui.h:873: cannot convert `int' to `void *' for argument `4' to > `gtk_signal_connect (GtkObject *, const gchar *, void (*) (), void *)' Hi Ciaran, there are

gtk_file_selection

2001-03-13 Thread Christian. Schleippmann
I use the gtk_file_selection_new() function to create a file selection. By selecting a file and pressing the OK button everything runs fine. However, by selecting a file with a double click, the filename is send to my function but causes trouble (deadlock, I must kill the whole program...) Has an

Gtk-WARNING **: Unable to locate loadable module in module_path: "libpixmap.so

2001-03-13 Thread Andrew Pickin
I know this has already been the subject of at least one thread, but that didn't answer all my questions: It seems that at some point libpixmap et al have moved from .../lib/gtk/themes/engines/ to .../lib/gtk/themes/engines/lib Can somebody tell me if this is correct? Is this last lib director

Re: Typecast error

2001-03-13 Thread Dwight Tuinstra
On Tuesday 13 March 2001 06:26, [EMAIL PROTECTED] wrote: > Hello All. > I have a tiny problem, that doesn't really matter, but I would like > it to be fixed. In my program I have the following command > > gtk_signal_connect( GTK_OBJECT( robot_name[1] ), "clicked", > GTK_SIGNAL_FUNC( disp

How to set widget colors?

2001-03-13 Thread David J. Topper
Hi all, Can someone point me to an example that illustrates how to change basic widget colors? I mean things like boxes, range widget controls (different colors for actually slider or button) and so on. Similarly, how do I set the default background color for the gtk_canvas? Thanks, DT -- Tec

Re: Typecast error

2001-03-13 Thread Havoc Pennington
Dwight Tuinstra <[EMAIL PROTECTED]> writes: > > This program compiles and creates an executable which works > > correctly, ie. ithe int is successfully passed to the function, > > however I get this warning, which I would like to fix > > > > gui.h:873: cannot convert `int' to `void *' for argument

Re: gtk+-1.2.10

2001-03-13 Thread Owen Taylor
"J. Ali Harlow" <[EMAIL PROTECTED]> writes: > On Sun, 11 Mar 2001, Owen Taylor wrote: > > There will be a 1.2.10 out soon with this and some other minor fixes, > > and I think also a doc / configure change to tell people that > > --with-xinput=gxi is use-at-your-own risk stuff. > > Good to know

Re: gtk+-1.2.10

2001-03-13 Thread Ben Gertzfield
> "Owen" == Owen Taylor <[EMAIL PROTECTED]> writes: Owen> Please just fix your application. In the quick look I took Owen> GTK+ frontend is only 7000 lines or so, with a strong Owen> separation between that and the core. Splitting that apart Owen> into a separate process is si

gtk_signal_handler_block: core dump

2001-03-13 Thread Dr. Andrew L. Blais
I'm trying to learn gtk. So, I'm trying to modify helloworld2 so that it has three buttons. The first will gprint "TEST", the second will turn the first button off, and the third will turn the first back on. Just an exercise:) I've got this far, but although this code compiles, it core dumps when

html viewer

2001-03-13 Thread Nikola Somlev
Hi, I am interested in viewing html files (is there any other widget except the xmhtml?) _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. ___ gtk-list m

Re: gtk+-1.2.10

2001-03-13 Thread J. Ali Harlow
On Wed, 14 Mar 2001, Owen Taylor wrote: > "J. Ali Harlow" <[EMAIL PROTECTED]> writes: > > > Good to know. Have the GTK+ team come to a view on a mechanism to override the > > setguid check? If not, is there any chance you could so before 1.2.10 is > > released. I'll happily log a bug if that woul

Re: gtk+-1.2.10

2001-03-13 Thread J. Ali Harlow
On Wed, 14 Mar 2001, Ben Gertzfield wrote: > > "Owen" == Owen Taylor <[EMAIL PROTECTED]> writes: > > Owen> Please just fix your application. In the quick look I took > Owen> GTK+ frontend is only 7000 lines or so, with a strong > Owen> separation between that and the core. Splitti

Re: gtk_signal_handler_block: core dump

2001-03-13 Thread Ronald Bultje
On 2001.03.14 07:21:05 +0100 Dr. Andrew L. Blais wrote: > I'm trying to learn gtk. So, I'm trying to modify helloworld2 so that it > has three buttons. The first will gprint "TEST", the second will turn > the first button off, and the third will turn the first back on. Just an > exercise:) I've g

Re: gtk+-1.2.10

2001-03-13 Thread Drazen Kacar
J. Ali Harlow wrote: > In the meantime, we will be forced > to ship stable versions that subvert your check if you refuse to provide a > workaround. The code is already written and in place. The user will see > nothing. Wow, we could play a game here. Owen scores a point whenever he releases GTK