summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/tztoolpalette.h
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 15:56:29 +0000
committerAlex Merry <alex.merry@cs.ox.ac.uk>2012-12-17 15:56:29 +0000
commit352d217c8805ba3f7de6d4e710a0b4bb3e2a307b (patch)
treedfda05afc811c1f8894cac05467e3edf935252aa /tikzit/src/gtk/tztoolpalette.h
parent477b865da18f6004a5180d924997d9283c20250f (diff)
Snap toolbox width to tool button width
The toolbox width is forced to always be a multiple of the width of one of the tool buttons.
Diffstat (limited to 'tikzit/src/gtk/tztoolpalette.h')
-rw-r--r--tikzit/src/gtk/tztoolpalette.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tikzit/src/gtk/tztoolpalette.h b/tikzit/src/gtk/tztoolpalette.h
index 70a4156..45ec2ac 100644
--- a/tikzit/src/gtk/tztoolpalette.h
+++ b/tikzit/src/gtk/tztoolpalette.h
@@ -48,5 +48,9 @@ GType tz_tool_palette_get_type (void) G_GNUC_CONST;
GtkWidget * tz_tool_palette_new (void);
+gboolean tz_tool_palette_get_button_size (TzToolPalette *widget,
+ gint *width,
+ gint *height);
+
#endif /* __TZ_TOOL_PALETTE_H__ */