From f9bdbf93887313a79528696607d96140f33cbd84 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 28 Jan 2013 16:36:58 +0000 Subject: Associate utility windows with current main window This allows the window manager to raise the windows as a group, for example. --- tikzit/src/gtk/ToolBox.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tikzit/src/gtk/ToolBox.h') diff --git a/tikzit/src/gtk/ToolBox.h b/tikzit/src/gtk/ToolBox.h index 87ee225..7076417 100644 --- a/tikzit/src/gtk/ToolBox.h +++ b/tikzit/src/gtk/ToolBox.h @@ -19,6 +19,7 @@ #import @class Configuration; +@class Window; @protocol Tool; @interface ToolBox : NSObject { @@ -29,12 +30,13 @@ GtkWidget *configWidget; } -@property (assign) id selectedTool; +@property (assign) id selectedTool; - (id) initWithTools:(NSArray*)tools; - (void) show; - (void) present; +- (void) setTransientFor:(Window*)w; - (void) loadConfiguration:(Configuration*)config; - (void) saveConfiguration:(Configuration*)config; -- cgit v1.2.3