aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-minicard.h
diff options
context:
space:
mode:
authorChris Lahey <clahey@src.gnome.org>2000-01-12 13:05:30 +0800
committerChris Lahey <clahey@src.gnome.org>2000-01-12 13:05:30 +0800
commit4d2a782588b3d7b7a24b5838be9a9b280a089895 (patch)
tree64f7b2cfe89c29f86988144e6725f9e18a3904c1 /widgets/e-minicard.h
parentc1209c281ed79b5dcc9c201f1968fba972c3641a (diff)
downloadgsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.gz
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.bz2
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.lz
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.xz
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.zst
gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.zip
Added a resize signal for when the card changes height. Made it so that
* widgets/e-minicard.c, widgets/e-minicard.h: Added a resize signal for when the card changes height. Made it so that when you press tab inside of a field, it goes to the next field. * widgets/e-minicard-label.c, widgets/e-minicard-label.h: Added a resize signal for when the label changes height. * widgets/e-text.c, widgets/e-text.h: Added a resize signal for multiple lines. Added scrolling based on cursor position. * widgets/Makefile.am: Removed an extraneous build target. svn path=/trunk/; revision=1562
Diffstat (limited to 'widgets/e-minicard.h')
-rw-r--r--widgets/e-minicard.h28
1 files changed, 15 insertions, 13 deletions
diff --git a/widgets/e-minicard.h b/widgets/e-minicard.h
index 759cc4ffb7..43e7d8307f 100644
--- a/widgets/e-minicard.h
+++ b/widgets/e-minicard.h
@@ -51,23 +51,25 @@ typedef struct _EMinicardClass EMinicardClass;
struct _EMinicard
{
- GnomeCanvasGroup parent;
-
- /* item specific fields */
- /* ECard *card; */
-
- GnomeCanvasItem *rect;
- GnomeCanvasItem *header_rect;
- GnomeCanvasItem *header_text;
- GList *fields; /* Of type GnomeCanvasItem. */
-
- double width;
- double height;
+ GnomeCanvasGroup parent;
+
+ /* item specific fields */
+ /* ECard *card; */
+
+ GnomeCanvasItem *rect;
+ GnomeCanvasItem *header_rect;
+ GnomeCanvasItem *header_text;
+ GList *fields; /* Of type GnomeCanvasItem. */
+
+ double width;
+ double height;
};
struct _EMinicardClass
{
- GnomeCanvasGroupClass parent_class;
+ GnomeCanvasGroupClass parent_class;
+
+ void (* resize) (EMinicard *text);
};