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

Re: Perl scripting additions.



Leo Cacciari wrote:

>
> What _I_ whould be interested in, is a way to access windows and menus
> from perl scripts. I got the Gtk-Perl library from CPAN, but I do not
> know GTK enough :(
>

I mentioned this before, but noone noticed/cared. What I would like is to
be able to
spawn a text entry window, possibly for quit, away, kick, kickban, or
various script
configurations. The userlist popups and/or buttons would be A LOT more
usefull
this way.

This would be incredibly cool:
$variable = IRC::textentry("Window Name", "Text in Window", "Text in
Button");

A common implimentation of this could be:
$kickmsg = IRC::textentry("Kick Reason", "Why are you kicking this poor
sap?", "Kick");
IRC::command("/kick $channel $person $kickmsg");

Unfortunately, someone else would have to do this, as I know almost nothing
about
GTK, and only a little perl. :/

--
------------------------------------------------
Dietrich A. Grell
ICQ: 9867382            AOLIM: CheezyDee
------------------------------------------------



-
XChat-discuss: mailing list for XChat users
Archive:       http://mail.nl.linux.org/lists/
Posted By:     "Dietrich A. Grell" <dietrich@nyct.net>