|
Packit Service |
0f1579 |
/*
|
|
Packit Service |
0f1579 |
* nautilus-column.h - Info columns exported by
|
|
Packit Service |
0f1579 |
* NautilusColumnProvider objects.
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
* Copyright (C) 2003 Novell, Inc.
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
0f1579 |
* modify it under the terms of the GNU Library General Public
|
|
Packit Service |
0f1579 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
0f1579 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
0f1579 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
0f1579 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
0f1579 |
* Library General Public License for more details.
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
* You should have received a copy of the GNU Library General Public
|
|
Packit Service |
0f1579 |
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
* Author: Dave Camp <dave@ximian.com>
|
|
Packit Service |
0f1579 |
*
|
|
Packit Service |
0f1579 |
*/
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
#ifndef NAUTILUS_COLUMN_H
|
|
Packit Service |
0f1579 |
#define NAUTILUS_COLUMN_H
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
#if !defined (NAUTILUS_EXTENSION_H) && !defined (NAUTILUS_COMPILATION)
|
|
Packit Service |
0f1579 |
#warning "Only <nautilus-extension.h> should be included directly."
|
|
Packit Service |
0f1579 |
#endif
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
#include <glib-object.h>
|
|
Packit Service |
0f1579 |
/* This should be removed at some point. */
|
|
Packit Service |
0f1579 |
#include "nautilus-extension-types.h"
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
G_BEGIN_DECLS
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
#define NAUTILUS_TYPE_COLUMN (nautilus_column_get_type())
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
G_DECLARE_FINAL_TYPE (NautilusColumn, nautilus_column, NAUTILUS, COLUMN, GObject)
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
NautilusColumn *nautilus_column_new (const char *name,
|
|
Packit Service |
0f1579 |
const char *attribute,
|
|
Packit Service |
0f1579 |
const char *label,
|
|
Packit Service |
0f1579 |
const char *description);
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
/* NautilusColumn has the following properties:
|
|
Packit Service |
0f1579 |
* name (string) - the identifier for the column
|
|
Packit Service |
0f1579 |
* attribute (string) - the file attribute to be displayed in the
|
|
Packit Service |
0f1579 |
* column
|
|
Packit Service |
0f1579 |
* label (string) - the user-visible label for the column
|
|
Packit Service |
0f1579 |
* description (string) - a user-visible description of the column
|
|
Packit Service |
0f1579 |
* xalign (float) - x-alignment of the column
|
|
Packit Service |
0f1579 |
* default-sort-order (GtkSortType) - default sort order of the column
|
|
Packit Service |
0f1579 |
*/
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
G_END_DECLS
|
|
Packit Service |
0f1579 |
|
|
Packit Service |
0f1579 |
#endif
|