Exemplo n.º 1
0
    bool MakeExifNode(TreeIter parent, TreeIter iter, ExifData ed, ExifTag tag)
    {
        string val = ed.Lookup(tag);

        if (val == null || val == "")
        {
            return(false);
        }

        MakeNode(parent, out iter, ExifUtil.GetTagTitle(tag) + ":", ed.Lookup(tag));
        return(true);
    }
Exemplo n.º 2
0
    void PopulateDetails(out TreeIter parent)
    {
        store.Append(out parent);
        store.SetValue(parent, 0, new GLib.Value("<b>Details</b>"));
        store.SetValue(parent, 1, new GLib.Value(""));

        det_values = Enum.GetValues(typeof(ExifTag));
        det_iter   = new TreeIter [det_values.Length];

        int      i    = 0;
        TreeIter iter = new TreeIter();

        foreach (object v in det_values)
        {
            MakeNode(parent, out iter, ExifUtil.GetTagTitle((ExifTag)v) + ":");
            det_iter [i] = iter;

            i++;
        }
    }