View Full Version : GUI Tkinter grid manager (sticky tag)

07 July 2012, 10:25 AM
I'm trying to clean up my GUI and I read about using the grid manager. I ran in to a problem when using the "sticky" tag and I have so far been unable to find a solution.


btnAdd = tk.Button(app, text="Add selected objects", command=addObjects)
btnAdd.grid(row=1, column=2, sticky=N+E+W+S)


btnAdd.grid(row=1, column=2, sticky=N+E+W+S) NameError: name 'N' is not defined


import maya.cmds as mc
import Tkinter as tk
import math as m
import tkColorChooser as tkC

07 July 2012, 11:03 PM
No one knows what's going on?

CGTalk Moderation
07 July 2012, 11:03 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.