Error: ambiguous call; both gtk2.set_resize_mode(a: PContainer, resize_mode: guint) and gtk2.set_resize_mode(container: PContainer, resize_mode: TResizeMode)
match for: (PContainer, int literal(2))
thanks! and how about it ? something like this, proc add*(container, widget: PWidget) = add(container.PContainer, widget)
we can avoid write code like below: set_border_width(PContainer(Window), 5)
just write code: set_border_width(Window, 5)