예제 #1
0
        static void GetContainerChildXY(Fixed parent, Widget child, out int x, out int y)
        {
            using (GLib.Value val = parent.ChildGetProperty(child, "x"))
            {
                x = (int)val;
            }

            using (GLib.Value val = parent.ChildGetProperty(child, "y"))
            {
                y = (int)val;
            }
        }