* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
/*
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only <gtk/gtk.h> can be included directly."
-#endif
-
#ifndef __GTK_TOOLBAR_H__
#define __GTK_TOOLBAR_H__
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
#include <gtk/gtkcontainer.h>
#include <gtk/gtktoolitem.h>
GTK_TOOLBAR_SPACE_LINE
} GtkToolbarSpaceStyle;
-typedef struct _GtkToolbar GtkToolbar;
-typedef struct _GtkToolbarClass GtkToolbarClass;
-typedef struct _GtkToolbarPrivate GtkToolbarPrivate;
+typedef struct _GtkToolbar GtkToolbar;
+typedef struct _GtkToolbarPrivate GtkToolbarPrivate;
+typedef struct _GtkToolbarClass GtkToolbarClass;
struct _GtkToolbar
{
GtkContainer container;
- /*< public >*/
- gint GSEAL (num_children);
- GList *GSEAL (children);
- GtkOrientation GSEAL (orientation);
- GtkToolbarStyle GSEAL (style);
- GtkIconSize GSEAL (icon_size);
-
- /*< private >*/
- gint GSEAL (button_maxw); /* maximum width of homogeneous children */
- gint GSEAL (button_maxh); /* maximum height of homogeneous children */
-
- guint _gtk_reserved1;
- guint _gtk_reserved2;
-
- guint GSEAL (style_set) : 1;
- guint GSEAL (icon_size_set) : 1;
+ GtkToolbarPrivate *priv;
};
struct _GtkToolbarClass
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
+ void (*_gtk_reserved4) (void);
};
GType gtk_toolbar_get_type (void) G_GNUC_CONST;
gchar * _gtk_toolbar_elide_underscores (const gchar *original);
void _gtk_toolbar_paint_space_line (GtkWidget *widget,
GtkToolbar *toolbar,
- const GdkRectangle *area,
- const GtkAllocation *allocation);
+ cairo_t *cr);
gint _gtk_toolbar_get_default_space_size (void);