32 #import "CoreGTK/CGTKFileChooserDialog.h"
36 -(id)initWithTitle:(NSString *)title andParent:(
CGTKWindow *)parent andAction:(GtkFileChooserAction)action andButtonTextResponseDictionary:(NSDictionary *)buttonTextDict
38 self = [
super initWithGObject:(GObject *)gtk_file_chooser_dialog_new([title UTF8String], [parent
WINDOW], action, NULL, NULL)];
44 for(NSString *text in buttonTextDict)
46 wrapper = [buttonTextDict objectForKey:text];
48 [
self addButtonWithButtonText:text andResponseId:wrapper.gintValue];
57 return GTK_FILE_CHOOSER_DIALOG([
self GOBJECT]);
GtkFileChooserDialog * FILECHOOSERDIALOG()