示例#1
0
        /// <summary> Hide the widget and unmap the window (if any). </summary>
        public override void Hide()
        {
            _shown = false;

            X11lib.XUnmapWindow(_display, _window);
            X11lib.XFlush(_display);
        }
        // ###############################################################################
        // ### M E T H O D S
        // ###############################################################################

        #region XrwRectObj overrides

        /// <summary> Show the widget and map the window (if any). </summary>
        public override void Show()
        {
            _shown = true;

            X11lib.XMapWindow(_display, _window);
            X11lib.XFlush(_display);
        }
示例#3
0
        // ###############################################################################
        // ### M E T H O D S
        // ###############################################################################

        #region XrwRectObj overrides

        /// <summary> Show the widget and map the window (if any). </summary>
        /// <remarks> Adds the override shell to her application schell's children, if not already done. </remarks>
        public override void Show()
        {
            _shown = true;

            X11lib.XMapWindow(_display, _window);
            X11lib.XFlush(_display);
            X11lib.XSetInputFocus(_display, _window, X11lib.TRevertTo.RevertToParent, (TInt)0);
        }
        /// <summary> Hide the widget and unmap the window (if any). </summary>
        public override void Hide()
        {
            _shown = false;

            for (int cntChildren = _children.Count - 1; cntChildren >= 0; cntChildren--)
            {
                _children[cntChildren].Hide();
            }

            X11lib.XUnmapWindow(_display, _window);
            X11lib.XFlush(_display);
        }