visualfc / atk

Another Golang Tcl/Tk binding GUI ToolKit
GNU Lesser General Public License v2.1
97 stars 19 forks source link

add -under for button #31

Open cuu opened 1 year ago

cuu commented 1 year ago

add -under for button to use for like

button .b1 -text "BTN" -under 0 -width 6 -command { exec xmessage "hello" }
visualfc commented 1 year ago

add -under for button to use for like

button .b1 -text "BTN" -under 0 -width 6 -command { exec xmessage "hello" }

this -under or -underline ? https://www.tcl.tk/man/tcl8.6/TkCmd/ttk_widget.html#M-underline

cuu commented 1 year ago

Sorry for the mistake

it seems -under is the -underline and does atk support -underline with button ?