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, see <http://www.gnu.org/licenses/>.
21 #ifndef __GTK_TOOL_PALETTE_PRIVATE_H__
22 #define __GTK_TOOL_PALETTE_PRIVATE_H__
26 void _gtk_tool_palette_get_item_size (GtkToolPalette *palette,
27 GtkRequisition *item_size,
28 gboolean homogeneous_only,
29 gint *requested_rows);
30 void _gtk_tool_palette_child_set_drag_source (GtkWidget *widget,
32 void _gtk_tool_palette_set_expanding_child (GtkToolPalette *palette,
35 void _gtk_tool_item_group_palette_reconfigured (GtkToolItemGroup *group);
36 void _gtk_tool_item_group_item_size_request (GtkToolItemGroup *group,
37 GtkRequisition *item_size,
38 gboolean homogeneous_only,
39 gint *requested_rows);
40 gint _gtk_tool_item_group_get_height_for_width (GtkToolItemGroup *group,
42 gint _gtk_tool_item_group_get_width_for_height (GtkToolItemGroup *group,
44 void _gtk_tool_item_group_paint (GtkToolItemGroup *group,
46 gint _gtk_tool_item_group_get_size_for_limit (GtkToolItemGroup *group,
52 GtkSizeGroup *_gtk_tool_palette_get_size_group (GtkToolPalette *palette);
54 #endif /* __GTK_TOOL_PALETTE_PRIVATE_H__ */