diff options
Diffstat (limited to 'tikzit/src/gtk/NodeStyleEditor.m')
-rw-r--r-- | tikzit/src/gtk/NodeStyleEditor.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tikzit/src/gtk/NodeStyleEditor.m b/tikzit/src/gtk/NodeStyleEditor.m index febbf3c..fcf4147 100644 --- a/tikzit/src/gtk/NodeStyleEditor.m +++ b/tikzit/src/gtk/NodeStyleEditor.m @@ -279,6 +279,11 @@ static void scale_adjustment_changed_cb (GtkAdjustment *widget, NodeStyleEditor return GTK_WIDGET (table); } +- (void) selectNameField { + gtk_widget_grab_focus (GTK_WIDGET (nameEdit)); + gtk_editable_select_region (GTK_EDITABLE (nameEdit), 0, -1); +} + @end // }}} |