There are at least three problems in the last two lines of code:
self._optionsPanelLabel = Label(self, text = "New Pot Starting Value").pack()
self._optionsPanelLabel.grid(row=0,column=1)
First, you're passing self
as the parent to Label
. If you want it to appear on self._optionsPanel
, you have to pass that as the parent.
Second, pack
returns None
, so self._optionsPanelLabel
will be None
, so the attempt to call grid
will print an exception traceback to stderr
and exit the function immediately. I'm willing to bet you've made that same mistake multiple other times in your code, so you probably have all kinds of things hooked up wrong.
Third, you can't call pack
and grid
on the same widget. Or, rather, you can, but once you do, the pack
is undone. (And this breaks any other widgets pack
ed in the same container, so calling both pack
and grid
on multiple widgets is an even bigger problem.)