GetHeaderMarkup() static private method

static private GetHeaderMarkup ( string headerName ) : string
headerName string
return string
Example #1
0
        void ShowTooltipInfo()
        {
            ClearDescriptions();
            headlabel.Markup  = currentTooltipInformation.SignatureMarkup;
            headlabel.Visible = true;
            if (Theme.DrawPager)
            {
                headlabel.WidthRequest = headlabel.RealWidth + 70;
            }

            foreach (var cat in currentTooltipInformation.Categories)
            {
                descriptionBox.PackStart(CreateCategory(TooltipInformationWindow.GetHeaderMarkup(cat.Item1), cat.Item2), true, true, 4);
            }

            if (!string.IsNullOrEmpty(currentTooltipInformation.SummaryMarkup))
            {
                descriptionBox.PackStart(CreateCategory(TooltipInformationWindow.GetHeaderMarkup(GettextCatalog.GetString("Summary")), currentTooltipInformation.SummaryMarkup), true, true, 4);
            }
            descriptionBox.ShowAll();
            Content.QueueForReallocate();
            Show();
        }