Exemple #1
0
	public KeywordsWidget ()
		: base (false, 3)
	{
		tree_view = new KeywordsTreeView ();
		keyword_entry = new Gtk.Entry ();
		store = new KeywordsTreeStore ();
		tree_view.Model = store;

		keyword_entry.Activated += new EventHandler (KeywordEntryActivated);

		this.PackStart (keyword_entry, false, true, 0);
		this.PackStart (tree_view, true, true, 0);

		this.ShowAll ();
	}
Exemple #2
0
    public KeywordsWidget()
        : base(false, 3)
    {
        tree_view       = new KeywordsTreeView();
        keyword_entry   = new Gtk.Entry();
        store           = new KeywordsTreeStore();
        tree_view.Model = store;

        keyword_entry.Activated += new EventHandler(KeywordEntryActivated);

        this.PackStart(keyword_entry, false, true, 0);
        this.PackStart(tree_view, true, true, 0);

        this.ShowAll();
    }