public HToolTip() : base(Gtk.WindowType.Popup) { this.AppPaintable = true; this.TypeHint = Gdk.WindowTypeHint.Tooltip; this.Build(); instance = this; Spacer.HeightRequest = tail_height; SpacerLeft.WidthRequest = round_rect_angle; SpacerRight.WidthRequest= round_rect_angle; }
public HToolTip() : base(Gtk.WindowType.Popup) { this.AppPaintable = true; this.TypeHint = Gdk.WindowTypeHint.Tooltip; this.Build(); instance = this; Spacer.HeightRequest = tail_height; SpacerLeft.WidthRequest = round_rect_angle; SpacerRight.WidthRequest = round_rect_angle; }
private void SetImage(ImageType type) { if (type == ImageType.Error) { ErrorImage.Show(); HToolTip.SetToolTip(EbIcon, "Error", ErrorMessage, "gtk-dialog-warning"); ErrorImage.Stock = "gtk-dialog-warning"; } else { ErrorImage.Hide(); } }
private void SetImage(ImageType type) { if (type == ImageType.Error) { HToolTip.SetToolTip(EbErrorImage, "Error", errorMessage, "gtk-dialog-warning"); ErrorImage.Stock = "gtk-dialog-warning"; } else { HToolTip.SetToolTip(EbErrorImage, "Ok", okMessage, "gtk-yes"); ErrorImage.Stock = "gtk-yes"; } }