Re: [Newbie...] GtkCombo troubles

2002-12-27 Thread Mark Jones
On Fri, 2002-12-27 at 19:44, Mark B. wrote: > take a look for yourself: > > http://mysite.iptic.com/scottishpig/Main.cpp > > You can obviously see what it's supposed to do- > pigmentType is a GtkCombo and when one selects > something in it, a variable is set to a corresponding > number which will

[Newbie...] GtkCombo troubles

2002-12-27 Thread Mark B.
take a look for yourself: http://mysite.iptic.com/scottishpig/Main.cpp You can obviously see what it's supposed to do- pigmentType is a GtkCombo and when one selects something in it, a variable is set to a corresponding number which will be used to call a function (defined in a another source fil

[newbie] 'undefined reference'-error when compiling a simple example

2002-12-27 Thread Karsten Borgwaldt
Hi, i've installed the gtk 1.2 packet and would like to learn programming graphical interfaces. When I copy the first example from www.gtk.org and try to compile it (gcc), i get an 'undefined reference'-error at each external function. source code: #include int main ( int argc, char *argv[]

Inheritence without knowing the parent at compile time

2002-12-27 Thread Andrew Sobala
Hi, After playing about with GObject a bit, I'm trying to work out how to inherit at runtime. Normally, type and class structs have the parent type and class structs at their start, in order to make them the right size and give the correct offset to the other members of the struct. ie. struct _M

Robert L Mitchell/MIS/OKC/Hertz is out of the office.

2002-12-27 Thread RMitchell
I will be out of the office starting 12/27/2002 and will not return until 12/30/2002. I will respond to your message when I return. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

How can I catch gdk-errors?

2002-12-27 Thread Mattias Gaertner
Hi all, I have a gtk1 program, which produces Gdk-ERROR **: BadWindow (invalid Window parameter) serial 323 error_code 3 request_code 40 minor_code 0 I tried --g-fatal-warnings and gdb without success. The program simply exits. How can I debug such an error? Mattias ___