public StandardHeaderPolicyPanelWidget(StandardHeaderPolicyPanel parent) { this.parent = parent; this.Build(); headerText.Buffer.Changed += NotifyChanged; includeAutoCheck.Toggled += NotifyChanged; }
internal StandardHeaderPolicyPanelWidget(StandardHeaderPolicyPanel parent) { this.parent = parent; this.Build(); headerText.Buffer.Changed += NotifyChanged; includeAutoCheck.Toggled += NotifyChanged; this.treeviewTemplates.AppendColumn(GettextCatalog.GetString("Templates"), new CellRendererText(), "text", 0); foreach (var template in templates) { store.AppendValues("${" + template + "}"); } this.treeviewTemplates.Model = store; treeviewTemplates.RowActivated += TreeviewTemplates_RowActivated; var w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow1])); w4.Expand = false; treeviewTemplates.WidthRequest = 200; treeviewTemplates.QueueResize(); }