示例#1
0
        protected override void OnStyleSet(Gtk.Style previous_style)
        {
            if (changeStyle)
            {
                return;
            }
            changeStyle = true;
            var surrogate = new TooltipStyleSurrogate();

            surrogate.EnsureStyle();
            this.Style = surrogate.Style;
            surrogate.Destroy();
            base.OnStyleSet(previous_style);
            changeStyle = false;
        }
示例#2
0
        protected override void OnStyleSet(Gtk.Style previous_style)
        {
            if (changeStyle)
            {
                return;
            }
            changeStyle = true;
            var surrogate = new TooltipStyleSurrogate();

            surrogate.EnsureStyle();
            this.Style = surrogate.Style;
            surrogate.Destroy();
            foreach (var label in MessageArea.Children)
            {
                label.Style = Style;
            }

            base.OnStyleSet(previous_style);
            changeStyle = false;
        }
示例#3
0
		protected override void OnStyleSet (Gtk.Style previous_style)
		{
			if (changeStyle)
				return;
			changeStyle = true;
			var surrogate = new TooltipStyleSurrogate ();
			surrogate.EnsureStyle ();
			this.Style = surrogate.Style;
			surrogate.Destroy ();
			foreach (var label in MessageArea.Children) {
				label.Style = Style;
			}
				
			base.OnStyleSet (previous_style);
			changeStyle = false;
		}
		protected override void OnStyleSet (Gtk.Style previous_style)
		{
			if (changeStyle)
				return;
			changeStyle = true;
			var surrogate = new TooltipStyleSurrogate ();
			surrogate.EnsureStyle ();
			this.Style = surrogate.Style;
			surrogate.Destroy ();

			base.OnStyleSet (previous_style);
			changeStyle = false;
		}