#Imports: RGtk2 (>= 2.10.13), cairoDevice (>= 2.3)
# no point in doing this because cairoDevice::asCairoDevice calls 'require(RGtk2)'
#import(RGtk2)
#import(cairoDevice)
import(lattice)
import(grid)

# the main function
export(
	plotAndPlay
)

# event handlers and supporting functions
export(
	plotAndPlayButtons,
	plotAndPlayBasicButtons,
	quickTool,
	plotAndPlayGetCurrState,
	plotAndPlaySetCurrState,
	plotAndPlayUpdate,
	plotAndPlayDoFocus,
	plotAndPlayMakePrompt,
	plotAndPlayUnmakePrompt,
	plotAndPlaySetPrompt,
	plotAndPlayGetToolbar,
	plotAndPlayGetDA,
	.plotAndPlay_window_focus_in_event,
	.plotAndPlay_window_focus_out_event,
	.plotAndPlay_close_event,
	.plotAndPlay_save_event,
	.plotAndPlay_copy_event,
	.plotAndPlay_greyscale_event,
	.plotAndPlay_zoomin_event,
	.plotAndPlay_zoomout_event,
	.plotAndPlay_zoomfit_event,
	.plotAndPlay_centre_event,
	.plotAndPlay_focus_event,
	.plotAndPlay_expand_event,
	.plotAndPlay_zero_event,
	.plotAndPlay_logscale_event,
	.plotAndPlay_prevpage_event,
	.plotAndPlay_nextpage_event,
	.plotAndPlay_identify_event,
	.plotAndPlay_identify_region_event,
	.plotAndPlay_brush_event,
	.plotAndPlay_brush_region_event,
	.plotAndPlay_brush_drag_event,
	.plotAndPlay_clear_event,
	.plotAndPlay_zoomin3d_event,
	.plotAndPlay_zoomout3d_event,
	.plotAndPlay_flyleft3d_event,
	.plotAndPlay_flyright3d_event
)

# other GTK GUI stuff
export(
	guiDo,
	errorDialog,
	infoDialog,
	questionDialog,
	guiTextInput,
	editAsText,
	setTextview,
	addTextview,
	getTextviewText,
	setTextviewMonospace,
	choose.file.save,
	get.extension,
	get.stem
)

