1 /* GtkToolPalette -- A tool palette with categories and DnD support
2 * Copyright (C) 2008 Openismus GmbH
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #ifndef __GTK_TOOL_PALETTE_PRIVATE_H__
23 #define __GTK_TOOL_PALETTE_PRIVATE_H__
27 void _gtk_tool_palette_get_item_size (GtkToolPalette *palette,
28 GtkRequisition *item_size,
29 gboolean homogeneous_only,
30 gint *requested_rows);
31 void _gtk_tool_palette_child_set_drag_source (GtkWidget *widget,
33 void _gtk_tool_palette_set_expanding_child (GtkToolPalette *palette,
36 void _gtk_tool_item_group_palette_reconfigured (GtkToolItemGroup *group);
37 void _gtk_tool_item_group_item_size_request (GtkToolItemGroup *group,
38 GtkRequisition *item_size,
39 gboolean homogeneous_only,
40 gint *requested_rows);
41 gint _gtk_tool_item_group_get_height_for_width (GtkToolItemGroup *group,
43 gint _gtk_tool_item_group_get_width_for_height (GtkToolItemGroup *group,
45 void _gtk_tool_item_group_paint (GtkToolItemGroup *group,
47 gint _gtk_tool_item_group_get_size_for_limit (GtkToolItemGroup *group,
53 GtkSizeGroup *_gtk_tool_palette_get_size_group (GtkToolPalette *palette);
55 #endif /* __GTK_TOOL_PALETTE_PRIVATE_H__ */