summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/gtkhelpers.h
AgeCommit message (Collapse)Author
2013-04-02Prevent toolbox getting lost when minimising windowsAlex Merry
On X, window managers don't like WM_TRANSIENT_FOR being altered while a window is visible; this meant that if you opened TikZiT and opened a second main window and minimised the main window that had focus, the toolbox and properties window would both disappear, with no way to get them back (well, almost - the properties window could be retreived with the menu item that shows/hides it). Tested with KWin, Metacity (Gnome 2's WM), Mutter (Gnome 3) and xfwm4 (XFCE 4). Metacity and Mutter still behave a little oddly - you have to click one of the main windows *twice* to get it to focus. KWin and xfwm4 work fine.
2013-03-24GTK: highlight the bad symbol on parse errorsAlex Merry
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.
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-17Move the objc object release GFunc into gtkhelpersAlex Merry
2012-12-17Remember the geometry of the utility windowsAlex Merry
Code largely stolen from the GIMP.
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-01-18Rename src/linux to src/gtk (which is more accurate)randomguy3
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@392 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64