Re: configure command
Mark Roseman <[email protected]> Mon, 5 Mar 2018 08:23:34 -0800
| Newsgroups | gmane.comp.python.tkinter |
|---|---|
| Message-ID | <[email protected]> |
The method “paneconfigure” is not the same as “configure”, so you shouldn’t try to shoe-horn it into your diagram. Sure, it behaves similarly, but it’s a different command, rather than some ‘magic’ that’s part of regular configure. I hope you’re using the information in the TkDocs tutorial to guide you in terms of translating between languages. Mark > On Mar 4, 2018, at 3:26 PM, adil gourinda <[email protected]> wrote: > > <Tk configure command to Tkinter configure() method.jpg> > By this picture I tried to explain the translation of "configure" command from Tcl to Python configure() method. > > For the (1) and (3) cases the python's syntax is clear. > > But for the (2) case where in Tcl I need to write only the option's name without value, what is its equivalent in Python (when the parameter's name is an argument)?; I tried the syntax in the picture and it works but what make things more difficult is when there is another parameter before "option" (ex :PanedWindow.paneconfigure). > > Thanks for your attention > _______________________________________________ > Tkinter-discuss mailing list > [email protected] <mailto:[email protected]> > https://mail.python.org/mailman/listinfo/tkinter-discuss <https://mail.python.org/mailman/listinfo/tkinter-discuss> _______________________________________________ Tkinter-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tkinter-discuss