本文整理汇总了C#中Gtk.Label.ShowAll方法的典型用法代码示例。如果您正苦于以下问题:C# Gtk.Label.ShowAll方法的具体用法?C# Gtk.Label.ShowAll怎么用?C# Gtk.Label.ShowAll使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Gtk.Label
的用法示例。
在下文中一共展示了Gtk.Label.ShowAll方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GtkSocketViewContent
public GtkSocketViewContent(GtkPlugOpenedFile openFile)
{
this.openFile = openFile;
this.openFile.ViewContent = this;
label = new Gtk.Label("Initializing...");
label.ParentSet += this.OnLabelParentChanged;
label.ShowAll();
}
示例2: CatalogTab
public CatalogTab ()
{
this.Build ();
String[] localizedCatalogs = {
Mono.Unix.Catalog.GetString("ActPlace"),
Mono.Unix.Catalog.GetString("Language"),
Mono.Unix.Catalog.GetString("HumanRightsViolationCategory"),
Mono.Unix.Catalog.GetString("HumanRightsViolation"),
Mono.Unix.Catalog.GetString("City"),
Mono.Unix.Catalog.GetString("State"),
Mono.Unix.Catalog.GetString("Country"),
Mono.Unix.Catalog.GetString("AffiliationType"),
Mono.Unix.Catalog.GetString("IdentificationType"),
Mono.Unix.Catalog.GetString("SourceInformationType"),
Mono.Unix.Catalog.GetString("DocumentarySourceType"),
Mono.Unix.Catalog.GetString("MaritalStatus"),
Mono.Unix.Catalog.GetString("TravelCompanion"),
Mono.Unix.Catalog.GetString("CaseStatus"),
Mono.Unix.Catalog.GetString("IndigenousLanguage"),
Mono.Unix.Catalog.GetString("RelationshipType"),
Mono.Unix.Catalog.GetString("TravelingReason"),
Mono.Unix.Catalog.GetString("InstitutionCategory"),
Mono.Unix.Catalog.GetString("ReliabilityLevel"),
Mono.Unix.Catalog.GetString("VictimStatus"),
Mono.Unix.Catalog.GetString("InstitutionType"),
Mono.Unix.Catalog.GetString("Religion"),
Mono.Unix.Catalog.GetString("InterventionType"),
Mono.Unix.Catalog.GetString("EthnicGroup"),
Mono.Unix.Catalog.GetString("Job"),
Mono.Unix.Catalog.GetString("ScholarityLevel"),
Mono.Unix.Catalog.GetString("AddressType"),
Mono.Unix.Catalog.GetString("StayType"),
Mono.Unix.Catalog.GetString("PerpetratorType"),
Mono.Unix.Catalog.GetString("PerpetratorStatus"),
Mono.Unix.Catalog.GetString("InvolvementDegree")
};
String[] catalogs = {
"ActPlace",
"Language",
"HumanRightsViolationCategory",
"HumanRightsViolation",
"City",
"State",
"Country",
"AffiliationType",
"IdentificationType",
"SourceInformationType",
"DocumentarySourceType",
"MaritalStatus",
"TravelCompanion",
"CaseStatus",
"IndigenousLanguage",
"RelationshipType",
"TravelingReason",
"InstitutionCategory",
"ReliabilityLevel",
"VictimStatus",
"InstitutionType",
"Religion",
"InterventionType",
"EthnicGroup",
"Job",
"ScholarityLevel",
"AddressType",
"StayType",
"PerpetratorType",
"PerpetratorStatus",
"InvolvementDegree"
};
notebook1.Remove (notebook1.Children[0]);
foreach (String catalog in catalogs) {
CatalogCRUD catalogcrud = new CatalogCRUD ();
catalogcrud.Model = catalog;
notebook1.Add (catalogcrud);
// Notebook tab
Gtk.Label label = new Gtk.Label ();
label.LabelProp = Mono.Unix.Catalog.GetString(catalog);
notebook1.SetTabLabel (catalogcrud, label);
label.ShowAll ();
}
}