Exemplo n.º 1
0
        private GlobsTableView(IntPtr instance)
            : base(instance)
        {
            // Get the menu used by the popup button cells.
            m_popup = this["col2"].Call("dataCell").To<NSPopUpButtonCell>();
            m_popup.retain();

            // Initialize the menu.
            DoPopulateMenu();

            // Hookup the table.
            setDataSource(this);

            setTarget(this);
            setAction("clicked:");

            Broadcaster.Register("languages changed", this);
            ActiveObjects.Add(this);
        }