Ardour  9.0-pre0-384-ga76afae0e9
gtktoolshell.h
Go to the documentation of this file.
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 2007 Openismus GmbH
3  *
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 of the License, or (at your option) any later version.
8  *
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.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the
16  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * Author:
20  * Mathias Hasselmann
21  */
22 
23 #ifndef __GTK_TOOL_SHELL_H__
24 #define __GTK_TOOL_SHELL_H__
25 
26 
27 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
28 #error "Only <gtk/gtk.h> can be included directly."
29 #endif
30 
31 #include <gtk/gtkenums.h>
32 #include <pango/pango.h>
33 #include <gtk/gtksizegroup.h>
34 
35 
36 G_BEGIN_DECLS
37 
38 #define GTK_TYPE_TOOL_SHELL (gtk_tool_shell_get_type ())
39 #define GTK_TOOL_SHELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOL_SHELL, GtkToolShell))
40 #define GTK_IS_TOOL_SHELL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOL_SHELL))
41 #define GTK_TOOL_SHELL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TOOL_SHELL, GtkToolShellIface))
42 
43 typedef struct _GtkToolShell GtkToolShell; /* dummy typedef */
45 
61 {
62  /*< private >*/
63  GTypeInterface g_iface;
64 
65  /*< public >*/
70  void (*rebuild_menu) (GtkToolShell *shell);
72  gfloat (*get_text_alignment) (GtkToolShell *shell);
73  PangoEllipsizeMode (*get_ellipsize_mode) (GtkToolShell *shell);
74  GtkSizeGroup * (*get_text_size_group) (GtkToolShell *shell);
75 };
76 
77 GType gtk_tool_shell_get_type (void) G_GNUC_CONST;
78 
86 PangoEllipsizeMode gtk_tool_shell_get_ellipsize_mode (GtkToolShell *shell);
88 
89 G_END_DECLS
90 
91 #endif /* __GTK_TOOL_SHELL_H__ */
GtkOrientation
Definition: gtkenums.h:263
GtkReliefStyle
Definition: gtkenums.h:330
GtkToolbarStyle
Definition: gtkenums.h:426
GtkIconSize
Definition: gtkenums.h:143
GtkToolbarStyle gtk_tool_shell_get_style(GtkToolShell *shell)
GtkSizeGroup * gtk_tool_shell_get_text_size_group(GtkToolShell *shell)
GType gtk_tool_shell_get_type(void) G_GNUC_CONST
struct _GtkToolShell GtkToolShell
Definition: gtktoolshell.h:43
GtkOrientation gtk_tool_shell_get_orientation(GtkToolShell *shell)
GtkIconSize gtk_tool_shell_get_icon_size(GtkToolShell *shell)
GtkReliefStyle gtk_tool_shell_get_relief_style(GtkToolShell *shell)
void gtk_tool_shell_rebuild_menu(GtkToolShell *shell)
GtkOrientation gtk_tool_shell_get_text_orientation(GtkToolShell *shell)
PangoEllipsizeMode gtk_tool_shell_get_ellipsize_mode(GtkToolShell *shell)
gfloat gtk_tool_shell_get_text_alignment(GtkToolShell *shell)
GtkReliefStyle(* get_relief_style)(GtkToolShell *shell)
Definition: gtktoolshell.h:69
GtkToolbarStyle(* get_style)(GtkToolShell *shell)
Definition: gtktoolshell.h:68
void(* rebuild_menu)(GtkToolShell *shell)
Definition: gtktoolshell.h:70
GtkOrientation(* get_text_orientation)(GtkToolShell *shell)
Definition: gtktoolshell.h:71
GtkIconSize(* get_icon_size)(GtkToolShell *shell)
Definition: gtktoolshell.h:66
PangoEllipsizeMode(* get_ellipsize_mode)(GtkToolShell *shell)
Definition: gtktoolshell.h:73
gfloat(* get_text_alignment)(GtkToolShell *shell)
Definition: gtktoolshell.h:72
GTypeInterface g_iface
Definition: gtktoolshell.h:63
GtkOrientation(* get_orientation)(GtkToolShell *shell)
Definition: gtktoolshell.h:67