Hick
Hick

Reputation: 36404

how to change the position of the button in perl tk?

$mw->Checkbutton(-text => "FAU_GEN1.1 ", -command => sub{faugen1=1} )->pack;

This command creates a check button at the centre. How do I shift it to a certain position ?

Upvotes: 0

Views: 824

Answers (1)

cjm
cjm

Reputation: 62109

You need to look at the geometry manager methods. Start with the User Guide, then you might want to check out grid, form, pack, and place.

Upvotes: 1

Related Questions