"muppet" wrote:
> when you have selectable true, the label has its own window. the event box is
> now unnecessary. according to the source, the cursor is set immediately after
> the window is created, and the cursor to which it's set is hard-coded. the
> window gets created when you set_selectable(1) after the widget is realized,
> or when the widget is realized if it's already selectable.
>
> so, make sure you set_selectable(1) before the widget is realized, and change
> the cursor in the realize handler.
Yep, makes sense and works. Thanks for the quick help.
Regards,
Joern
--
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
Attachment:
pgpQ8vH62ZIOH.pgp
Description: PGP signature