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; }
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 (); 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; }