diff options
author | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-01-28 16:36:58 +0000 |
---|---|---|
committer | Alex Merry <alex.merry@cs.ox.ac.uk> | 2013-01-28 16:36:58 +0000 |
commit | f9bdbf93887313a79528696607d96140f33cbd84 (patch) | |
tree | 2981a41f81daba5c33e7131a30eb61fef42bfa4a /tikzit/src/gtk/ToolBox.h | |
parent | b8c6a1cf4fd38820549976cf5f7b8fffb9b1248d (diff) |
Associate utility windows with current main window
This allows the window manager to raise the windows as a group, for
example.
Diffstat (limited to 'tikzit/src/gtk/ToolBox.h')
-rw-r--r-- | tikzit/src/gtk/ToolBox.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <gtk/gtk.h> @class Configuration; +@class Window; @protocol Tool; @interface ToolBox : NSObject { @@ -29,12 +30,13 @@ GtkWidget *configWidget; } -@property (assign) id<Tool> selectedTool; +@property (assign) id<Tool> selectedTool; - (id) initWithTools:(NSArray*)tools; - (void) show; - (void) present; +- (void) setTransientFor:(Window*)w; - (void) loadConfiguration:(Configuration*)config; - (void) saveConfiguration:(Configuration*)config; |