/*
 * GToolKit - Objective-C interface to the GIMP Toolkit
 * Copyright (c) 1998, 1999, 2000  Elmar Ludwig
 *
 * Generated automatically from gtktree.h by gtkgen.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 */
#ifndef GTOOLKIT_GTKTREE_H
#define GTOOLKIT_GTKTREE_H

#include <GToolKit/GTKContainer.h>
#include <gtk/gtktree.h>

@class GTKWidget;

@interface GTKTree : GTKContainer
+ (GtkType) getType;
+ (id) tree;
- (id) init;
- (void) append:(GTKWidget *) tree_item;
- (void) prepend:(GTKWidget *) tree_item;
- (void) insert:(GTKWidget *) tree_item position:(gint) position;
- (void) removeItems:(NSArray *) items;
- (void) clearItems:(gint) start end:(gint) end;
- (void) selectItem:(gint) item;
- (void) unselectItem:(gint) item;
- (void) selectChild:(GTKWidget *) tree_item;
- (void) unselectChild:(GTKWidget *) tree_item;
- (gint) childPosition:(GTKWidget *) child;
- (void) setSelectionMode:(GtkSelectionMode) mode;
- (void) setViewMode:(GtkTreeViewMode) mode;
- (void) setViewLines:(guint) flag;
- (NSArray *) selection;
@end

#endif /* GTOOLKIT_GTKTREE_H */
