Re: alert box
| From: | Michael Dransfield | Date: | Fri, 15 Mar 2002 13:41:40 +0000 |
| Subject: | Re: alert box | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-1560@lists.php.net to get a copy of this message | ||
i was thinking of a one liner which would pop up a dialog with just an
ok button which closed itself on clicking. using gtkDialog would take
quite a few lines of code - i was wondering if anyone had made a
function to do this, else ill write one and post it when im finished.
On Fri, 2002-03-15 at 13:40, Markus Fischer wrote:
>
> There is a GtkDialog
> :
> On Fri, Mar 15, 2002 at 11:54:00AM +0000, Michael Dransfield wrote :
> > is there any function to display an error or information message
(for
> > example when the app is unable to connect to the database), or do
you
> > have to make a dialog box and size and fill it?
> >
> > i dont mind writing a function in php which can do this, it can be
added
> > to the faq or something.
> >
> > it would be nice to be compiled into php
> >
> > void alert_box(str message, int level);
> >
> > level could be 0 = warn, 1=info etc...
> >
> > what do you guys think?
> >
> >
> >
> >
> > --
> > PHP-GTK General Mailing List (http://gtk.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> Please always Cc to me when replying to me on the lists.
> GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc