Re: Frist steps on PHP-GTK
| From: | Ricardo Cezar | Date: | Wed, 25 Aug 2004 17:32:32 +0000 |
| Subject: | Re: Frist steps on PHP-GTK | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5005@lists.php.net to get a copy of this message | ||
Thank you Scott, now it works.
It was a little confusing to me how to use widgets in my window, know I
think I'm understanding. But I have another question to you:
In my code I did not pass the third value to the method call, and it works
well...
But you use it. Why this third value means?
My function:
function today() {
global $calendario;
$calendario->select_month((date('n')-1), date('Y'));
$calendario->select_day(date('d'));
}
My function call:
$botao1->connect('clicked', 'today');
Your function call:
> $button->connect_object('clicked', 'hoje', $calendar);
Thanks,
Ricardo