diff options
Diffstat (limited to 'tikzit/src/gtk/MainWindow.m')
-rw-r--r-- | tikzit/src/gtk/MainWindow.m | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/tikzit/src/gtk/MainWindow.m b/tikzit/src/gtk/MainWindow.m index 9dd4941..9e406b7 100644 --- a/tikzit/src/gtk/MainWindow.m +++ b/tikzit/src/gtk/MainWindow.m @@ -495,6 +495,20 @@ static void update_paste_action (GtkClipboard *clipboard, GdkEvent *event, GtkAc [surface zoomReset]; } +- (void) favourGraphControls { + [propertyPane favourGraphProperties]; +} + +- (void) favourNodeControls { + [stylesPane favourNodeStyles]; + [propertyPane favourNodeProperties]; +} + +- (void) favourEdgeControls { + [stylesPane favourEdgeStyles]; + [propertyPane favourEdgeProperties]; +} + @end // }}} @@ -650,7 +664,7 @@ static void update_paste_action (GtkClipboard *clipboard, GdkEvent *event, GtkAc [surface setGrabsFocusOnClick:YES]; renderer = [[GraphRenderer alloc] initWithSurface:surface document:document]; - inputHandler = [[GraphInputHandler alloc] initWithGraphRenderer:renderer]; + inputHandler = [[GraphInputHandler alloc] initWithGraphRenderer:renderer window:self]; [surface setInputDelegate:inputHandler]; tikzBuffer = gtk_text_buffer_new (NULL); |