Gtk2: new concept of I/O monitoring


in Gtk1 you can easily monitor a filehandle with Gtk::Gdk::input_add. 
Gtk2 introduces another concept for that (GIOChannel). I checked the 
Gtk2-Perl source tree and examples with no luck, to find out how this 
functionality can be accessed from within Perl. It seems, it's not 
implemented yet. Or do I overlook something?

Any help is appreciated.



sub i($){print$_[0]}*j=*ENV;sub w($){sleep$_[0]}sub _($){i"$p$c > ",w
1,$_=$_[0],tr;i-za-h,;a-hi-z ;,i$_,w 1,i"\n"}$|=1;$f='HO';($c=$j{PWD}
)=~s/$j{$f."ME"}/~/;$p="$j{USER}\ $j{HOSTNAME}:";_"kl",$c='~',_"zu,".
"-zn,*",_"#,epg,lw,gwc,mfmkcbm,cvsvwev,uiqt,kwvbmvb?",i"$p$c > ";w 99

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