summaryrefslogtreecommitdiff
path: root/linux/pixmenu.h
diff options
context:
space:
mode:
authorleo2005-06-05 01:51:55 +0000
committerleo2005-06-05 01:51:55 +0000
commitf9f670643398aac6ad917505ccd76d2cf50230c7 (patch)
tree11e5c96a29e36d26a766d2d9c25d0dd83af7ebf3 /linux/pixmenu.h
parent583033b8bc46f46a039144c0d8fa97d406bc64ee (diff)
Updated LeoCAD to use GTK+ 2.0
git-svn-id: http://svn.leocad.org/trunk@403 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'linux/pixmenu.h')
-rw-r--r--linux/pixmenu.h59
1 files changed, 0 insertions, 59 deletions
diff --git a/linux/pixmenu.h b/linux/pixmenu.h
deleted file mode 100644
index f61449b..0000000
--- a/linux/pixmenu.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/* Author: Dietmar Maurer <dm@vlsivie.tuwien.ac.at> */
-/* Description:
-
- This widget works like a normal menu_item, but you can insert a
- arbitrary widget (most often a pixmap widget), which is displayed
- at the left side. The advantage is that indentation is handled the
- same way as GTK does.
-
- (i.e if you create a menu with a gtk_check_menu_item, all normal
- menu_items are automatically indented by GTK - so if you use a normal
- menu_item to display pixmaps at the left side, the pixmaps will be
- indented, which is not what you want. This widget solves the problem)
-
- */
-
-#ifndef __GTK_MENU_PIXMAP_ITEM_H__
-#define __GTK_MENU_PIXMAP_ITEM_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
-#include <gtk/gtkpixmap.h>
-#include <gtk/gtkmenuitem.h>
-
-
-#define GTK_TYPE_PIXMAP_MENU_ITEM (gtk_pixmap_menu_item_get_type ())
-#define GTK_PIXMAP_MENU_ITEM(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItem))
-#define GTK_PIXMAP_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PIXMAP_MENU_ITEM, GtkPixmapMenuItemClass))
-#define GTK_IS_PIXMAP_MENU_ITEM(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PIXMAP_MENU_ITEM))
-#define GTK_IS_PIXMAP_MENU_ITEM_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PIXMAP_MENU_ITEM))
-
-
-typedef struct _GtkPixmapMenuItem GtkPixmapMenuItem;
-typedef struct _GtkPixmapMenuItemClass GtkPixmapMenuItemClass;
-
-struct _GtkPixmapMenuItem
-{
- GtkMenuItem menu_item;
-
- GtkWidget *pixmap;
-};
-
-struct _GtkPixmapMenuItemClass
-{
- GtkMenuItemClass parent_class;
-};
-
-
-GtkType gtk_pixmap_menu_item_get_type (void);
-GtkWidget* gtk_pixmap_menu_item_new (void);
-void gtk_pixmap_menu_item_set_pixmap (GtkPixmapMenuItem *menu_item,
- GtkWidget *pixmap);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __GTK_PIXMAP_MENU_ITEM_H__ */