Re: A windows creating a modal window
| From: | Fernando Correa da Concei��o | Date: | Thu, 13 Nov 2003 02:58:21 +0000 |
| Subject: | Re: A windows creating a modal window | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4142@lists.php.net to get a copy of this message | ||
"Steph" <steph.fox@virgin.net> escreveu na mensagem
news:NGBBLHCLELOKOAFANNABGEEIDCAA.steph.fox@virgin.net...
> http://gtk.php.net/manual/en/gtk.gtkwindow.method.set_modal.php
>
> did you try either/both of these methods?
Yes, and does not work as I need. The window is modal like I want, so the
user can´t do anything on the previous window, only in thar I create, but
the function still runs. I will do a workaround, pass a reference of the
actual class to the new class and whem I destroy the new window, call a
function on the actual class.
A more easy exemple of what I need:
function on_login_activate( $objPara1)
{
$lg=new login();
echo("here");
}
They create the new window as a modal window and show "here" while this new
window is open. I need it show "here" only AFTER i close this new window.
Thanks!
>
>
> > -----Original Message-----
> > From: Fernando Correa da Conceição
> > [mailto:fernando.conceicao@terra.com.br]
> > Sent: 13 November 2003 02:24
> > To: php-gtk-general@lists.php.net
> > Subject: [PHP-GTK] A windows creating a modal window
> >
> >
> > Hi! I need some help on this.
> >
> > function on_login_activate( $objPara1)
> > {
> > $lg=new login();
> > if ($lg->bt=="ok") {
> > $this->arWidgets["notebook"]->show();
> > $this->arWidgets["toolbar1"]->show();
> > $this->arWidgets["barrastatus"]->show();
> > }
> > }
> >
> > $lg=new login(); create and show a modal window, and the
> > function continues
> > to run. In this new window I get a username/password. I need a way to
make
> > the function stop when it create and show the new window and
> > continues after
> > the user close this new window, so I can test the usename/password he
put.
> >
> > --
> > Fernando Correa da Conceição
> > ICQ 168518047
> >
> > http://manualphp.sourceforge.net
> > Participe da Tradução do Manual do PHP
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >