summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk
AgeCommit message (Collapse)Author
2013-03-22Add debugging option to Select toolAlex Merry
Selecting edges and/or nodes and pressing shift-d will print info about them to the console.
2013-03-22Save config to disk on closing preambles editor or settings dialogAlex Merry
2013-03-22Add "space" shortcut to refresh preview without it grabbing focusAlex Merry
2013-03-22Select the name field of newly created stylesAlex Merry
Generally, the first thing you want to do after creating a node or edge style is to change its name from "newstyle".
2013-02-13GTK: Add shortcuts for changing selection modeAlex Merry
Now when the graph has focus, shift+n will choose node selection, shift+e edge selection and shift+b both.
2013-02-12Make sure edge bounds include decorationsAlex Merry
Fixes rendering of newly-drawn edges in GTK+ version.
2013-02-06Revert "Remove double-borders from edge style selector"Alex Merry
This reverts commit 0766b825aecf072ce4586d6b447bb782f2adb56b. This appears to be just be a quirk of theme I was using at the time.
2013-02-05Remove double-borders from edge style selectorAlex Merry
For some reason, GtkTreeView gets nice borders as standard, but GtkIconView does not.
2013-02-05Force tool buttons to be icon-onlyAlex Merry
Otherwise it breaks the layout.
2013-02-04warnings--Alex Merry
Mostly "@interface definition not found" warnings.
2013-02-04Add "no style" buttons to node/edge creation toolsAlex Merry
Fixes issue #9
2013-02-04GTK: prevent the user from creating invalid tikzAlex Merry
The free-form entry fields (graph element properties and node labels) are a potential source of invalid tikz code. Since we quote any dodgy-looking text with { and }, we just need to make sure there are no unmatched curly braces entered in those fields. This will turn the entry widgets red when there are unmatched braces, and refuse to make use of any such values.
2013-02-04Remove old debugging codeAlex Merry
2013-02-04GTK: show focus indicator for graph surfaceAlex Merry
2013-02-04Only change style settings when OK is clickedAlex Merry
If the user clicks Cancel, nothing changes.
2013-02-04Put node and edge style editors into settings dialogAlex Merry
2013-02-04Clean up the SettingsDialog class a littleAlex Merry
2013-01-28Associate utility windows with current main windowAlex Merry
This allows the window manager to raise the windows as a group, for example.
2013-01-23Remove unused filesAlex Merry
2012-12-17Allow node and edge styles to be applied to selectionAlex Merry
Brings back some old functionality, but in a more compact way.
2012-12-17Factor out properties pane from properties windowAlex Merry
PropertiesWindow is now ContextWindow. Preparing for putting more stuff in this window.
2012-12-17Update props window when a window's document changesAlex Merry
A window's document can change when opening a document from a window that is has no backing file and no changes. The properties window was not getting updated propertly when this happened (it still referred to the old document). Now it is updated properly.
2012-12-17Use central models for node and edge stylesAlex Merry
2012-12-17Move the objc object release GFunc into gtkhelpersAlex Merry
2012-12-17Snap toolbox width to tool button widthAlex Merry
The toolbox width is forced to always be a multiple of the width of one of the tool buttons.
2012-12-17Remember the geometry of the utility windowsAlex Merry
Code largely stolen from the GIMP.
2012-12-17Disconnect the clipboard signal handler on window closeAlex Merry
Previously, if a window was closed and then the clipboard changed, update_paste_action would still be called with a now-invalid paste action.
2012-12-17Set "save as" dialog folder correctly for existing filesAlex Merry
We were trying to set it to the path to the file, instead of its containing folder, which was confusing the GKT+ dialog.
2012-12-17Better toolbox default sizeAlex Merry
The width should now be sufficient for the create node tool.
2012-12-14Don't grab the tool except on clicksAlex Merry
2012-12-14Add scrollbars to the tool style selectorsAlex Merry
2012-12-14Factor out the model for the edge style selectorAlex Merry
This allows us to use it in other widgets.
2012-12-14Factor out the model for the node style selectorAlex Merry
This allows us to use it in other widgets.
2012-12-14Remove unused functions from gtkhelpersAlex Merry
2012-12-14Factor out pixbufFromSurface from style selectorsAlex Merry
It's silly to have two copies of the same code in two different files.
2012-12-13Use the correct style manager for creation toolsAlex Merry
2012-12-12Implement (single-key) tool shortcutsAlex Merry
2012-12-12Allow the graph widget to grab focusAlex Merry
2012-12-11Remove the concept of an "active style" from StyleManagerAlex Merry
It's all tool-based in the GTK+ interface now.
2012-12-11Remove use of GtkFrame in tool windowsAlex Merry
It's unnecessary and a waste of space. Use bolded titles instead.
2012-12-11Fix property window layoutAlex Merry
There were spacing issues before
2012-12-07Add select tool option for drag-selecting edgesAlex Merry
Drag-select can now select nodes, edges or both.
2012-12-07Fix updating the property paneAlex Merry
2012-12-07Present windows if already shownAlex Merry
Also, allow the properties window to be hidden and shown
2012-12-07Add a propery editor windowAlex Merry
2012-12-07Improve config panels for create node/edge toolsAlex Merry
2012-12-07Improve toolbox config pane layoutAlex Merry
2012-12-07Use a toolpalette that demands enough spaceAlex Merry
GtkToolPalette will not request a minimum amount of space by default. Steal some code from the GIMP to always ensure we have enough space for the tools.
2012-12-07Add config widgets to toolboxAlex Merry
2012-12-07Fix some memory-management issuesAlex Merry