From 352d217c8805ba3f7de6d4e710a0b4bb3e2a307b Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Mon, 17 Dec 2012 15:56:29 +0000 Subject: 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. --- tikzit/src/gtk/tztoolpalette.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tikzit/src/gtk/tztoolpalette.h') 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__ */ -- cgit v1.2.3