summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/ToolBox.m
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-02-05Force tool buttons to be icon-onlyAlex Merry
Otherwise it breaks the layout.
2013-01-28Associate utility windows with current main windowAlex Merry
This allows the window manager to raise the windows as a group, for example.
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-17Better toolbox default sizeAlex Merry
The width should now be sufficient for the create node tool.
2012-12-14Add scrollbars to the tool style selectorsAlex Merry
2012-12-11Remove use of GtkFrame in tool windowsAlex Merry
It's unnecessary and a waste of space. Use bolded titles instead.
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 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
2012-12-06Add a toolboxAlex Merry
Just allows selecting tools, so far - no tool configuration.