summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/ToolBox.m
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-07 17:52:42 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-07 17:52:42 +0000
commit2dd42d84ee66360c7713c9c86ca6b86f0c4a3b09 (patch)
tree666c5c123c6e03f257c1c7ac72cfa074d464c384 /tikzit/src/gtk/ToolBox.m
parent3eb2ed59378f51ea91100dc36d6ae176b696f926 (diff)
Present windows if already shown
Also, allow the properties window to be hidden and shown
Diffstat (limited to 'tikzit/src/gtk/ToolBox.m')
-rw-r--r--tikzit/src/gtk/ToolBox.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/gtk/ToolBox.m b/tikzit/src/gtk/ToolBox.m
index 837c5f9..0a963fd 100644
--- a/tikzit/src/gtk/ToolBox.m
+++ b/tikzit/src/gtk/ToolBox.m
@@ -174,6 +174,10 @@ static void unretain (gpointer data);
[self _setToolWidget:[tool configurationWidget]];
}
+- (void) present {
+ gtk_window_present (GTK_WINDOW (window));
+}
+
- (void) loadConfiguration:(Configuration*)config {
}