Re: X-connection after a fork

2000-10-03 Thread Carlos Toledo
On Mon, 2 Oct 2000, Conrad Steenberg wrote: > Hi > > I have a GTK app that wants to fork off a child process, which is also a > GTK app. Of course the child process uses the parent's connection to the X > server, and makes everything blow up because X doesn't like that :-) > > Calling gtk_main_

drag-n-drop status?

2000-10-03 Thread Vladimir Tsichevski
Hi, does anybody know if DND works in GTK+? The testgtk.c has the corresponding test, but it is commented out and seemes not to compile. Regards, Vladimir V. Tsichevski senior expert - Jet Infosystems Krasnoproletarskaya 6,

Re: drag-n-drop status?

2000-10-03 Thread Vlad Harchev
On Tue, 3 Oct 2000, Vladimir Tsichevski wrote: Hi, Which version of gtk sources are you looking at? In 1.2.x branch (current stable) has DND test enabled (e.g. 1.2.2). > Hi, > > does anybody know if DND works in GTK+? The testgtk.c has the > corresponding test, but it is commented out and s

Re: drag-n-drop status?

2000-10-03 Thread Vladimir Tsichevski
> >On Tue, 3 Oct 2000, Vladimir Tsichevski wrote: > Hi, > > Which version of gtk sources are you looking at? In 1.2.x branch (current >stable) has DND test enabled (e.g. 1.2.2). I use 1.2.8 :-( Am I to downgrade a little? > >> Hi, >> >> does anybody know if DND works in GTK+? The testgtk.c has

Re: drag-n-drop status?

2000-10-03 Thread Vlad Harchev
On Tue, 3 Oct 2000, Vladimir Tsichevski wrote: > > > >On Tue, 3 Oct 2000, Vladimir Tsichevski wrote: > > Hi, > > > > Which version of gtk sources are you looking at? In 1.2.x branch (current > >stable) has DND test enabled (e.g. 1.2.2). > > I use 1.2.8 :-( Am I to downgrade a little? Oops, it

Installation Problems under Solaris

2000-10-03 Thread Haydn Haines - Sun UK - Partner Support - Intern
Hi All, I'm trying to compile gtk+-1.2.8 on an Ultra 1 running Solaris 2.6 w/Glib 1.2.8, gcc and gmake (also tried make). "configure" appears to work fine, but "make" bails with the following error: cpp: /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/sys/stream.h: Value too large

Re: Installation Problems under Solaris

2000-10-03 Thread Valdis . Kletnieks
On Tue, 03 Oct 2000 12:52:08 BST, Haydn Haines - Sun UK - Partner Support - Intern <[EMAIL PROTECTED]> said: > I'm trying to compile gtk+-1.2.8 on an Ultra 1 running Solaris 2.6 w/Glib > 1.2.8, gcc and gmake (also tried make). "configure" appears to work fine, > /usr/local/lib/gcc-lib/sparc-s

Re: Installation Problems under Solaris

2000-10-03 Thread Drazen Kacar
[EMAIL PROTECTED] wrote: > On Tue, 03 Oct 2000 12:52:08 BST, Haydn Haines - Sun UK - Partner Support - Intern ><[EMAIL PROTECTED]> said: > > I'm trying to compile gtk+-1.2.8 on an Ultra 1 running Solaris 2.6 w/Glib > > 1.2.8, gcc and gmake (also tried make). "configure" appears to work fine, >

Re: Installation Problems under Solaris

2000-10-03 Thread Valdis . Kletnieks
On Tue, 03 Oct 2000 15:58:43 +0200, Drazen Kacar said: > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/sys/stream.h: > I'm not sure about that. gcc 2.95.x doesn't need fixincludes on Solaris. Umm.. if it doesn't need fixincludes, why did a copy of stream.h end up where fixincl

Re: Installation Problems under Solaris

2000-10-03 Thread Drazen Kacar
[EMAIL PROTECTED] wrote: > On Tue, 03 Oct 2000 15:58:43 +0200, Drazen Kacar said: > > > > > /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/sys/stream.h: > > I'm not sure about that. gcc 2.95.x doesn't need fixincludes on Solaris. > > Umm.. if it doesn't need fixincludes, why did a c

Re: Installation Problems under Solaris

2000-10-03 Thread Haydn Haines - Sun UK - Partner Support - Intern
Hi All, hmmm... still having problems, where is the 'fixincludes' file usually found, I installed gcc as a solaris 2.6 package (that'll teach me not to be lazy and to compile myself). Cheers, Haydn. |Delivered-To: [EMAIL PROTECTED] |Date: Tue, 3 Oct 2000 16:14:39 +0200 |From: Drazen Kacar <

Re: Installation Problems under Solaris

2000-10-03 Thread Valdis . Kletnieks
On Tue, 03 Oct 2000 16:14:39 +0200, Drazen Kacar said: > That's the only file in ../include/sys directory. I don't have the exact > OS and compiler versions which the original poster used, but the contents > on Solaris 7 gcc 2.95.1 installation is: Note that that's on solaris *7* - which may hav

Re: Installation Problems under Solaris

2000-10-03 Thread Drazen Kacar
[EMAIL PROTECTED] wrote: > On Tue, 03 Oct 2000 16:14:39 +0200, Drazen Kacar said: > > > That's the only file in ../include/sys directory. I don't have the exact > > OS and compiler versions which the original poster used, but the contents > > on Solaris 7 gcc 2.95.1 installation is: > > Note tha

Re: Installation Problems under Solaris

2000-10-03 Thread Haydn Haines - Sun UK - Partner Support - Intern
Hi, Heres the first few lines of the 'make' command, -I/usr/local/include is included in the compiling lines. make all-recursive Making all in po Making all in gdk /bin/sh ../libtool --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I..

Re: Installation Problems under Solaris

2000-10-03 Thread Haydn Haines - Sun UK - Partner Support - Intern
hmmm... /usr/local/include is in the compile line... but not /usr/include I will try that! H |Delivered-To: [EMAIL PROTECTED] |Date: Tue, 3 Oct 2000 16:58:39 +0200 |From: Drazen Kacar <[EMAIL PROTECTED]> |To: [EMAIL PROTECTED] |Cc: Drazen Kacar <[EMAIL PROTECTED]>, Haydn Haines - Sun UK -

Re: Installation Problems under Solaris

2000-10-03 Thread Drazen Kacar
Haydn Haines - Sun UK - Partner Support - Intern wrote: > hmmm... /usr/local/include is in the compile line... but not /usr/include I will >try > that! No. -I/usr/include must not be there. It is implicitely added by the compiler, but in case of gcc it should be added after some other inclu

Re: Installation Problems under Solaris

2000-10-03 Thread Haydn Haines - Sun UK - Partner Support - Intern
Hi All, I've found the answer! (the crowd goes wild), moving '/usr/ccs/bin' to the front of my path statement appears to have solved the problem, I'm assuming the problem is caused by the compilation using the wrong linker tools in that case??? Anyway, Thanks to all that helped. Regards, Ha

fork and gtk

2000-10-03 Thread Matt Eisemann
Currently I am hjaving a problem with using fork() and the following should explain better what example or what I am trying to do. If the fork() function is used in the function of main(), then 'fork()' is recognized but not if used in another function. With regard to the fork() command. T

Re: fork and gtk

2000-10-03 Thread xvw
Perhaps __clone is an alternative. But I can't seem to grasp why one would like to use fork() instead of threads for GUI apps. It seems like you want to incorporate 2 different apps into 1. Regards, xander On Tue, 3 Oct 2000, Matt Eisemann wrote: > Date: Tue, 3 Oct 2000 11:49:44 -0400 > From:

Re: fork and gtk

2000-10-03 Thread Jeff Shipman
Have you made sure that you included unistd.h, which you need to use fork()? Many times when you see 'implicit declaration of blah blah...' it's because you're missing the necessary include file for that function. Matt Eisemann wrote: > Currently I am hjaving a problem with using fork() and the

Re: X-connection after a fork

2000-10-03 Thread Conrad Steenberg
Hi Thanks for everyone that replied, it seems I'll have to rethink the problem a little :-) Cheers! Conrad > Conrad Steenberg <[EMAIL PROTECTED]> writes: > > Calling gtk_main_quit() in the child process, and then gtk_init again > > doesn't do the trick. Can anyone enlighten me on how to get a

GTKCombo and Multiple selections?

2000-10-03 Thread Leeman Strout
Would there be a way to get the GTKCombo to allow multiple items to be selected from the list? I have managed to embed a CList into the drop-down, however due to the Combo button behavior (any single button press re-hides the drop-down) it is a pain to work with. The primary thing I am looking

Re: GTKCombo and Multiple selections?

2000-10-03 Thread Darin Fisher
I recall seeing a more generic combo-box widget in the gnumeric source code. You might want to take a look at it. If I remember correctly, it's a pretty "light-weight" container... allowing the client code to specify the widget for the popdown as well as for the "entry" spot. I think they use i

gdk draw error...

2000-10-03 Thread Woo-Sick Choi
Hi all~ To compile source is no problem. but when it is excuted, I got an Error. Error Message is : Gdk-CRITICAL **: file gdkdraw.c: line 471 (gdk_draw_segments): assertion `drawable != NULL' failed. Below is my source : #include #include #define SPACING 10 #define PADDING 0 voidprint_

new GTK+ display model

2000-10-03 Thread Max Harris
I want to hack GTK+ so that it draws with Mesa instead of GDK (without breaking the ability to switch back or compile to GDK for all those who run X). Before anyone writes this off as absurd, there are several good reasons to do this: * Maximum utilization of features in modern graphics cards (h

make entry in dialog grab default?

2000-10-03 Thread Gary Scavone
I have a dialog widget with a text entry widget and no buttons. I've tried to set the text entry for default grab, using: entry = gtk_entry_new (); gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->action_area), entry, TRUE, TRUE, 0); gtk_signal_connect (GTK_OBJECT (

make mistery error

2000-10-03 Thread Jack M.
Hi, I have tried all of makefiles and i still get the error: " ` , needed by `all'. Stop.target `arrow". Depending on makefile `all' can be differnet. any clues?. jm CC = gcc all:arrow . . . _ Get Your Private, Free E-mail