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

#include <GToolKit/GTKMenuShell.h>
#include <gtk/gtkmenu.h>

@interface GTKMenu : GTKMenuShell
+ (GtkType) getType;
+ menu;
- init;
- (void) append:(GTKWidget *) child;
- (void) prepend:(GTKWidget *) child;
- (void) insert:(GTKWidget *) child position:(gint) position;
- (void) popup:(GTKWidget *) parent_menu_shell parentMenuItem:(GTKWidget *) parent_menu_item func:(GtkMenuPositionFunc) func data:(gpointer) data button:(guint) button activateTime:(guint32) activate_time;
- (void) reposition;
- (void) popdown;
- (GTKWidget*) getActive;
- (void) setActive:(guint) index;
- (void) setAccelGroup:(GTKAccelGroup *) accel_group;
- (GTKAccelGroup*) getAccelGroup;
- (GTKAccelGroup*) getUlineAccelGroup;
- (GTKAccelGroup*) ensureUlineAccelGroup;
- (void) attachToWidget:(GTKWidget *) attach_widget detacher:(GtkMenuDetachFunc) detacher;
- (void) detach;
- (GTKWidget*) getAttachWidget;
- (void) setTearoffState:(gboolean) torn_off;
- (void) setTitle:(const NSString *) title;
- (void) reorderChild:(GTKWidget *) child position:(gint) position;
@end

#endif
