~ubuntu-branches/ubuntu/hoary/gimp/hoary

« back to all changes in this revision

Viewing changes to app/widgets/gtkvwrapbox.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-04-04 14:51:23 UTC
  • Revision ID: james.westby@ubuntu.com-20050404145123-9py049eeelfymur8
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GTK - The GIMP Toolkit
 
2
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
 
3
 *
 
4
 * GtkVWrapBox: Vertical wrapping box widget
 
5
 * Copyright (C) 1999 Tim Janik
 
6
 *
 
7
 * This library is free software; you can redistribute it and/or
 
8
 * modify it under the terms of the GNU Library General Public
 
9
 * License as published by the Free Software Foundation; either
 
10
 * version 2 of the License, or (at your option) any later version.
 
11
 *
 
12
 * This library is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
 * Library General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU Library General Public
 
18
 * License along with this library; if not, write to the
 
19
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
20
 * Boston, MA 02111-1307, USA.
 
21
 */
 
22
 
 
23
#ifndef __GTK_VWRAP_BOX_H__
 
24
#define __GTK_VWRAP_BOX_H__
 
25
 
 
26
 
 
27
#include "gtkwrapbox.h"
 
28
 
 
29
G_BEGIN_DECLS
 
30
 
 
31
 
 
32
/* --- type macros --- */
 
33
#define GTK_TYPE_VWRAP_BOX            (gtk_vwrap_box_get_type ())
 
34
#define GTK_VWRAP_BOX(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VWRAP_BOX, GtkVWrapBox))
 
35
#define GTK_VWRAP_BOX_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_VWRAP_BOX, GtkVWrapBoxClass))
 
36
#define GTK_IS_VWRAP_BOX(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VWRAP_BOX))
 
37
#define GTK_IS_VWRAP_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_VWRAP_BOX))
 
38
#define GTK_VWRAP_BOX_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_VWRAP_BOX, GtkVWrapBoxClass))
 
39
 
 
40
 
 
41
/* --- typedefs --- */
 
42
typedef struct _GtkVWrapBox      GtkVWrapBox;
 
43
typedef struct _GtkVWrapBoxClass GtkVWrapBoxClass;
 
44
 
 
45
 
 
46
/* --- GtkVWrapBox --- */
 
47
struct _GtkVWrapBox
 
48
{
 
49
  GtkWrapBox parent_widget;
 
50
  
 
51
  /*<h2v-off>*/
 
52
  guint      max_child_width;
 
53
  guint      max_child_height;
 
54
  /*<h2v-on>*/
 
55
};
 
56
 
 
57
struct _GtkVWrapBoxClass
 
58
{
 
59
  GtkWrapBoxClass parent_class;
 
60
};
 
61
 
 
62
 
 
63
/* --- prototypes --- */
 
64
GType       gtk_vwrap_box_get_type  (void) G_GNUC_CONST;
 
65
GtkWidget * gtk_vwrap_box_new       (gboolean homogeneous);
 
66
 
 
67
 
 
68
G_END_DECLS
 
69
 
 
70
#endif /* __GTK_VWRAP_BOX_H__ */