paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] event is not passed to the parent


From: Steffen Blume
Subject: [paragui-users] event is not passed to the parent
Date: Thu, 25 Apr 2002 20:50:39 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
Here is my problem:
I created a PG_Widget with three PG_ThemeWidget childs. Each of this has 
several Buttons. I want to process the buttonclicks in the parent PG_Widget.
The ThemeWidgets does not have an method eventButtonClick neither have the 
buttons. I thought if the event isn't processed by a widget's child neither 
by the widget itself, it will be passed to the parent, but eventButtonClick 
of my parent isn't called.

Another thing (not important):
When a widget is created internaldata->widgetParent is set in 
PG_Widget::InitWidget. If it is != NULL AddChild of the parent is called. 
There RemoveChild is called, because child->internaldata->widgetParent is 
set, althougt it is not a child of the parent (up to now). Then 
child->internaldata->widgetParent is set to this. Has this to be like this?
Looks strange to me, but works ;-)

Steffen

- -- 
``Free software'' is a matter of liberty, not price. To understand the 
concept, you should think of ``free'' as in ``free speech,'' not as in ``free 
beer.'' 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8yFABv0NFVQKH0zgRAsnFAKCl4pYQrhE7KZ7DyQhVDqpjX5Z3oACfdXSH
7k3iC4bge8+7Wefu1ewosjU=
=C5gN
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]