[glade--] Learning to use glademm-generated code
- From: Baltasarq <baltasarq yahoo es>
- To: glademm-list gnome org
- Subject: [glade--] Learning to use glademm-generated code
- Date: Wed, 8 Dec 2004 13:02:57 +0100
Hi, everybody !
I've posted a couple of messages before. I'm just trying to compile a simple
example made in glade, generating C++ code. In this example, a sole window
contains tow editboxes (named op1 and op2), and a label (res), and the
intended behaviour is the label res to change its contents to reflect the
addition of the numbers present in the two editboxes.
I swear I browsed all documentation before posting this message. Perhaps this
is not the more appropriate list, then please tell me.
I've just been browsing the documentation of Gtk+ but I'm lost inside it. All
examples are clear, but are not applyable to the glademm's generated code. I
do have, in window1 these methods:
void op1change()
{
}
void op2change()
{
}
I don't know how to get to my widgets from here (op1, op2, and res), and
there is no hint in the header file (the class window1 is empty, apart from
these two methods).
Antoher problem is compilation ("g++ adder.c window1.cc window1_glade.cc").
It just doesn't work. Hundreds and hundreds of errors are being reported. I
don't mean link errors, but compiling errors.
The packets I've installed are:
Mandrake 10.1
gcc-3.4.1
gtk+2.0
libgtk+-x11-2.0
glade2-2.6.0
Afterwards, I had to install the glademm RPM:
glademm-2.0
In order to install that packet, I had also to install the following
packages, needed by glademm:
libgtk+1.2-1.2.10-40mdk
libgtk+1.2-devel-1.2.10-40mdk
glade-0.6.4
I hope this didn't interfere with anything.
Any help will be welcomed.
Thank you in advance.
--
Baltasar
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]