Using Tkinter, I have a Canvas with vertical Scrollbar attached. At
runtime, I dynamically create Checkboxes on the Canvas, each one on a
different row. When I add a lot of Checkboxes, instead of the
scrollbar kicking in, the Canvas resizes and subsequently, my
Application window resizes such tha
kio wrote:
> Hi,
>
> I'm studying the CPython source code. I don’t quite understand why
> they’re using PyObject_VAR_HEAD to define struct like PyListObject.
To
> define such kind of struct, could I use _PyObject_HEAD_EXTRA as a
> header and add "items" pointer and "allocated" count explicity? I
Pedram wrote:
> Hello Mr. Dickinson. Glad to see you again :)
>
> On Jul 6, 5:46 pm, Mark Dickinson wrote:
>> On Jul 6, 1:24 pm, Pedram wrote:
>>
>> > OK, fine, I read longobject.c at last! :)
>> > I found that longobject is a structure like this:
>>
>> > struct _longobject {
>> > struct _objec