paragui-users
[Top][All Lists]
Advanced

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

[paragui-users] Problems with Signals


From: Sergio Ruiz
Subject: [paragui-users] Problems with Signals
Date: Wed, 2 Mar 2005 23:04:09 +0100

Hi!!
I am getting sick trying to figure out how to use the signals with paragui.

I have two questions that can save my live (and hopefully many others!!!).

1)
PG_Button* btnquit = app.GetWidget<PG_Button>("btnquit");
btnquit->sigClick.connect(slot(handle_quit));

How can I pass arguments to the handle_quit function? Is it possible??

2) Inside one class, with no parent class.

PG_Button* btnquit = app->GetWidget<PG_Button>("btnquit");
btnquit->sigClick.connect(slot(??,&Widget::handle_quit));

I dont know to put inside there!. Any solution??

I think it would be a great idea to have a small FAQ in the doc, cause
with the examples is hard to make a simple nice gui

Thanks for reading this, and...cool gui!!!!




reply via email to

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