|
Packit Service |
fb6fa5 |
/* GtkToolPalette -- A tool palette with categories and DnD support
|
|
Packit Service |
fb6fa5 |
* Copyright (C) 2008 Openismus GmbH
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* This library is free software; you can redistribute it and/or
|
|
Packit Service |
fb6fa5 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
fb6fa5 |
* License as published by the Free Software Foundation; either
|
|
Packit Service |
fb6fa5 |
* version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* This library is distributed in the hope that it will be useful,
|
|
Packit Service |
fb6fa5 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
fb6fa5 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
fb6fa5 |
* Lesser General Public License for more details.
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
fb6fa5 |
* License along with this library; if not, write to the Free Software
|
|
Packit Service |
fb6fa5 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
Packit Service |
fb6fa5 |
*
|
|
Packit Service |
fb6fa5 |
* Authors:
|
|
Packit Service |
fb6fa5 |
* Mathias Hasselmann
|
|
Packit Service |
fb6fa5 |
*/
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#ifndef __GTK_TOOL_PALETTE_PRIVATE_H__
|
|
Packit Service |
fb6fa5 |
#define __GTK_TOOL_PALETTE_PRIVATE_H__
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#include <gtk/gtk.h>
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_palette_get_item_size (GtkToolPalette *palette,
|
|
Packit Service |
fb6fa5 |
GtkRequisition *item_size,
|
|
Packit Service |
fb6fa5 |
gboolean homogeneous_only,
|
|
Packit Service |
fb6fa5 |
gint *requested_rows);
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_palette_child_set_drag_source (GtkWidget *widget,
|
|
Packit Service |
fb6fa5 |
gpointer data);
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_palette_set_expanding_child (GtkToolPalette *palette,
|
|
Packit Service |
fb6fa5 |
GtkWidget *widget);
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_item_group_palette_reconfigured (GtkToolItemGroup *group);
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_item_group_item_size_request (GtkToolItemGroup *group,
|
|
Packit Service |
fb6fa5 |
GtkRequisition *item_size,
|
|
Packit Service |
fb6fa5 |
gboolean homogeneous_only,
|
|
Packit Service |
fb6fa5 |
gint *requested_rows);
|
|
Packit Service |
fb6fa5 |
gint _gtk_tool_item_group_get_height_for_width (GtkToolItemGroup *group,
|
|
Packit Service |
fb6fa5 |
gint width);
|
|
Packit Service |
fb6fa5 |
gint _gtk_tool_item_group_get_width_for_height (GtkToolItemGroup *group,
|
|
Packit Service |
fb6fa5 |
gint height);
|
|
Packit Service |
fb6fa5 |
void _gtk_tool_item_group_paint (GtkToolItemGroup *group,
|
|
Packit Service |
fb6fa5 |
cairo_t *cr);
|
|
Packit Service |
fb6fa5 |
gint _gtk_tool_item_group_get_size_for_limit (GtkToolItemGroup *group,
|
|
Packit Service |
fb6fa5 |
gint limit,
|
|
Packit Service |
fb6fa5 |
gboolean vertical,
|
|
Packit Service |
fb6fa5 |
gboolean animation);
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
GtkSizeGroup *_gtk_tool_palette_get_size_group (GtkToolPalette *palette);
|
|
Packit Service |
fb6fa5 |
|
|
Packit Service |
fb6fa5 |
#endif /* __GTK_TOOL_PALETTE_PRIVATE_H__ */
|