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

Creating MDI Application



Hi Everybody,

I'm currently trying to create an MDI application with GTK. In short,
my problem is that I have a calling function (connected to a signal)
that will emit a signal which I hope will be executed after the calling
function ends. The result is the emitted signal's function is called,
executed and return to the calling function b4 it ends.

Detail:
I have two class(this program is written in C++), one for the parent or
main window, the other for the dynamically created child. When the user
close or destroy a child, that child should inform its parent to
destroy itself. Currently, I have programmed it such that when the
delete_event signal, emitted by a child (by user's close action), the
delete_event function will emit a signal to inform the parent to delete
itself. This emitted signal should take action after the delete_event
function ends which is not what I thought to be.

Anybody knows how I can emit a signal that will take action after the
calling function ends, pls let me know or any better suggestion to
create MDI application are welcome. Thanks in advance!
_____________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk



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