portability

2001-12-04 Thread Teber Ozceyhan
can i port my gtk programs written in redhat 7.1 to windowsXXX. If yes what shall i do ? what kind of tools or compilers shall i have? and so on... thanx for your help ___ gtk-list mailing list [EMAIL PROTECTED]

Re: portability

2001-12-04 Thread Marco Lettere
On Tue, 4 Dec 2001, Teber Ozceyhan wrote: can i port my gtk programs written in redhat 7.1 to windowsXXX. If yes what shall i do ? what kind of tools or compilers shall i have? and so on... thanx for your help I made some experiments with gtk+ for windows which you can find at

Re: portability

2001-12-04 Thread Marco Lettere
On Tue, 4 Dec 2001, Teber Ozceyhan wrote: can i port my gtk programs written in redhat 7.1 to windowsXXX. If yes what shall i do ? what kind of tools or compilers shall i have? and so on... thanx for your help Ah! I forgot to say that I used MS VisualStudio to compile the code under

glib 1.2.8 on cobalt raq2 mip with redhat fails on make

2001-12-04 Thread James Mackay
Installs progresses after ./configure. However on typing $make I get the following: -o .libs/libglib-1.2.so.0.0.8 collect2: ld terminated with signal 6 [Aborted] make[2]: *** [libglib.la] Error 1 make[2]: Leaving directory `/home/tmp/glib-1.2.8' make[1]: *** [all-recursive] Error 1 make[1]:

OT: compile gtk program on Windows for me?

2001-12-04 Thread Dave Reed
I've got a simplified Quicken-like (check book register and simple reports) program (written in C++ using GTK) I wrote a couple years ago and have been using as the treasurer for a non-profit. I'm turning over the position to someone else and they of course don't use Linux. The program is not

Regarding pixmap

2001-12-04 Thread Jyothi
Hi, The problem I am facing is , I create a drawable area using gtk_drawing_area_new and gtk_drawing_area_size and send it to some other function to create a pixmap and draw pixmap in that area... it is giving the error .. assertion 'drawable != NULL' failed... Can anybody please let me

Browsing CList rows with keyboard

2001-12-04 Thread Flávio Alberto Lopes Soares
Hello all; I'm developing an application that uses CList but doens't use mouse, I has some doubts about CList, I need to control the movement of row selection using PagUp/PageDow, the keys aren't problem, I detect it easy, but how to detect in a CList that the row selected are in the bottom off

Re: Browsing CList rows with keyboard

2001-12-04 Thread Sven Neumann
Hi, Flávio Alberto Lopes Soares [EMAIL PROTECTED] writes: I'm developing an application that uses CList but doens't use mouse, I has some doubts about CList, I need to control the movement of row selection using PagUp/PageDow, the keys aren't problem, I detect it easy, but how to detect in

forking heap question

2001-12-04 Thread Edscott Wilson García
Hi, I was getting random io X error after forking and the child was not using any GTK, nor was it using exit() in stead of _exit(). I finally tracked down the problem to the child using malloc() and free(), and overwriting the GTK widget information in the parent process. By using stack

validation in entry widget

2001-12-04 Thread Mani Murugesan
Hello, I want to validate the contents of the entry widget and if necessary to NOT allow focus out of that entry widget. But it is not possible to do this. I use gtk_entry_new() to create the widget. I capture the 'focus_out_event' with a signal handler. In that handler I validate and set the

Re: Regarding pixmap

2001-12-04 Thread rsteinke
From: Jyothi [EMAIL PROTECTED] Hi, The problem I am facing is , I create a drawable area using gtk_drawing_area_new and gtk_drawing_area_size and send it to some other function to create a pixmap and draw pixmap in that area... it is giving the error .. You're confusing two completely

Re: validation in entry widget

2001-12-04 Thread rsteinke
From: Mani Murugesan [EMAIL PROTECTED] Hello, I want to validate the contents of the entry widget and if necessary to NOT allow focus out of that entry widget. But it is not possible to do this. I use gtk_entry_new() to create the widget. I capture the 'focus_out_event' with a signal

calling sequence

2001-12-04 Thread Lourdes Maldonado
In my code I have a sequence of statements that look like this: void functionCall1(gboolen value1) { if (retCode) { functionCall2(); if (value1) { gtk_toggle_button_set_active(toggle1, TRUE);

Re: calling sequence

2001-12-04 Thread Paul Davis
void functionCall1(gboolen value1) { if (retCode) { functionCall2(); if (value1) { gtk_toggle_button_set_active(toggle1, TRUE); } functionCall3(); } } /* Callback for toggle

Re: forking heap question

2001-12-04 Thread Edscott Wilson García
Havoc Pennington wrote: Edscott Wilson García [EMAIL PROTECTED] writes: I was getting random io X error after forking and the child was not using any GTK, nor was it using exit() in stead of _exit(). I finally tracked down the problem to the child using malloc() and free(), and

Re: forking heap question

2001-12-04 Thread Paul Davis
Neither do I think it's possible. Yet, it is so. Maybe a failed malloc() no its not. virtual address spaces make it so. children have no access to their parent's address space. global variables make no difference. or free() makes the child access a gtk widget it's not supposed to, via some

Re: portability

2001-12-04 Thread Olaf Leidinger
Hello Why don't you try Dev-C++. It's a nice sourcecode editor including the MinGW compiler and varius libs including gtk+ and glib. Otherwise you can take cygwin and cross-compile it using the MinGW libs. I think you've to use the -mno-cygwin flag or something like that. Well, so far Olaf Am

Re: portability

2001-12-04 Thread Olaf Leidinger
Well, you can get Dev-C++ from www.bloodshed.net

Re: forking heap question

2001-12-04 Thread Edscott Wilson García
Paul Davis wrote: Neither do I think it's possible. Yet, it is so. Maybe a failed malloc() no its not. virtual address spaces make it so. children have no access to their parent's address space. global variables make no difference. or free() makes the child access a gtk widget it's not

Re: forking heap question

2001-12-04 Thread Ralph Walden
Don't forget, that there is actually a shared memory component. That is, the widgets involve resources on the X server that are common to the parent and child... Manipulating them from two different processes is a bad idea IMHO. Ralph Walden Edscott Wilson García wrote: Paul Davis wrote:

Re: forking heap question

2001-12-04 Thread Paul Davis
parent heaps totally independent, as should be. Maybe there is a way to tell gtk at the fork point whether child or parent will keep the widgets instead of leaving it up to gtk to decide? there isn't any choice. the child cannot access the widgets. end of story. i didn't even both to check your

Re: forking heap question

2001-12-04 Thread Edscott Wilson García
Ralph Walden wrote: Don't forget, that there is actually a shared memory component. That is, the widgets involve resources on the X server that are common to the parent and child... Manipulating them from two different processes is a bad idea IMHO. Most definitely a bad idea. But how can

Re: Bug in GtkCTree (gtk+ 1.2.10) or am I just misunderstanding the API?

2001-12-04 Thread Andrei Zmievski
If you insert a node with both text and pixmap, you have to use gtk_ctree_node_get_pixtext() to retrieve the contents. On Tue, 04 Dec 2001, [EMAIL PROTECTED] wrote: I cannot get the GtkCTree widget to work with my application. I've modified the testgtk.c program from the source distribution

Re: Bug in GtkCTree (gtk+ 1.2.10) or am I just misunderstanding the API?

2001-12-04 Thread jgotts
Thanks! But my program uses no pixmaps and gtk_ctree_node_get_text() still returns bad data for column 0, not columns 1-n. However, gtk_ctree_node_get_pixtext() works. I'm suspicious that gtk_ctree_node_get_text() was never debugged because everybody uses pixmaps in column 0. I'll see if I