Skip to content
Tcl Source Code Artifact [d147eb699b]
Login

Artifact [d147eb699b]

Artifact d147eb699b297661aa740af11f512bdd7e69ccdb:

Ticket change [d147eb699b] - New ticket [497590ffffffffff|497590ffff] <i>Incr Widgets</i>. by s_a_white on 2001-12-29 11:53:53.
D 2001-12-29T11:53:53
J assignee nobody
J cmimetype text/plain
J comment I\swould\slike\sto\sask\sthe\sbest\sway\sto\sdeal\swith\sfocus\s\nand\sevent/bindings\sfor\scomponents\sinside\smega\swidgets.\s\nI\sremember\sthere\sbeing\sa\spaper\sentitled\s"the\sperfect\s\nmega\swidget"\son\sways\sto\ssolve\sthese\sproblems\sbut\shave\s\nnot\sfound\sthe\scode\sto\sdo\sthis\sor\sseen\sit\sintegrated\s\nwith\stcl.\sI\sjust\swondered\sas\sa\sresult\sif\sit\swas\s\nthought\sunnecessary.\n\nProblems\sI\sfind\sis\sthat\sfocusing\son\sa\smega-widget\s\nfocuses\son\sthe\sholding\sframe\s(Hull)\sand\snot\sa\sdesired\s\ndefault\sinternal\swidget.\s\sI've\sadded\sbindings\sto\sdeal\s\nwith\sthis.\s\sHowever,\sthen\sa\ssecond\sfocus\scall\sto\sthe\s\nmega-widget\scauses\sfocus\sto\sdrop\sback\sto\sthe\sHull.\s\sSo\s\nI\shave\sto\scompensate\swith\sfocus\sout\schecks\son\sall\sthe\s\ninternal\swidgets.\n\nNext\ssome\sevents\smust\sbe\spassed\sout\sof\sthe\smega\swidget\s\nthrough\sbindings.\s\sDoing\sthis\sthrough\sbindtags\scauses\s\nthe\sinternal\swidgets\snames\sto\sbe\sused\sas\s%W\sfor\spublic\s\nuser\sbindings\son\sthe\smega\swidget.\s\sThis\scauses\s\nproblems.\s\sSo\sI\stried\san\sevent\sgenerate\susing\sthe\sHull\s\nwidget\sname\sbut\sthis\sdidn't\swork.\s\sIt\swould\sseem\sfocus\s\nhas\sto\sbe\smoved\sto\sget\sthe\sevent\sto\scome\sout\sin\sthe\s\nright\slocation.\n\nThis\scauses\ssome\snasty\srippling\sof\sthe\sfocus\sand\sthe\s\ncode\sis\shorrible.\s\sThen\syou\shave\sto\sdeal\swith\sthe\s\nfocus\sbeing\sleft\son\sthe\sHull\sand\srestoring\sit\sto\sthe\s\ninternal\swidget\sif\sthe\suser\sdidn't\smove\sit.\n\nAll\sthis\sis\svery\snasty\sand\swondered\sif\stheres\sa\sbetter\s\nway\sin\slater\sversions\sof\s8.3,\s8.4\sor\sa\snot\sto\sdistant\s\nversion\sof\sTCL,\swhich\smay\shave\sbetter\ssupport\sfor\smega\s\nwidgets?
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter s_a_white
J subsystem 55.\sOther\sTools
J title Incr\sWidgets
J type RFE
K 497590ffffffffffffffffffffffffffffffffff
U s_a_white
Z 15b404d2a1d826efce930a65ff3fd69b