Tk Source Code

Artifact [55792864]
Login

Artifact 5579286427c55ac83ca7d27d084cbcba087207bf653d08f0a64a6464eaa254b5:

Ticket change [55792864] - Ticket [270b0aed] pinch to zoom toplevel status still Open with 4 other changes by marc_culler 2019-12-04 12:28:41.
D 2019-12-04T12:28:41.103
J icomment A\sttk::button\s-style\sToolbutton\s(which\shas\sexisted\sfor\sa\slong\stime)\scan\shave\r\narbitrary\swidth\sand\sheight.\s\sA\splain\sttk::button,\swhich\sis\srealized\sas\sa\smacOS\r\nPush\sButton,\scan\shave\sarbitrary\swidth\sbut\sfixed\sheight.\s\s(Actually\sthe\sheight\sof\r\nthe\sttk::button\sdoes\sincrease,\sbut\sthe\swhite\srounded\srectangle\sis\salways\sdrawn\r\nwith\sthe\ssame\sheight,\svertically\scentered\sin\sthe\sbounding\sbox\sof\sthe\r\nttk::button.)\r\n\r\nIn\sthe\smac_styles\sbranch\sthere\sis\sa\s-style\sGradientButton\swhich\scan\shave\r\narbitrary\swidth\sand\sheight,\sand\sthe\ssame\sis\strue\sof\s-style\sImageButton.\r\n\r\nThis\ssort\sof\sthing\sis\sa\sjob\sfor\sthe\sprogrammer,\sand\sthe\sTk\sgeometry\smanagers\r\nprovide\slots\sof\stools\sto\sallow\sthe\sprogrammer\sto\sdo\sit\seasily.\s\sTk\sdoes\snot\sknow\r\nenough\sabout\swhat\sthe\sprogrammer\sis\strying\sto\sdo\sfor\sany\sone-size-fits-all\r\nautomated\sscheme\sto\swork.\s\sPossibly\sthere\scould\sbe\sa\smagnification\soperation\r\nwhich\schanges\sthe\spixel\ssize\sper\swindow.\s\sBut\sI\sthink\sthat\sshould\sbe\shandled\r\nby\sthe\swindow\smanager,\snot\sby\sTk.
J login marc_culler
J mimetype text/plain
J username Marc\sCuller
K 270b0aedd4448fde3b7f646fb10d276267fafad1
U marc_culler
Z 32291dd3bb01218fbf9fd20bc21f9c77