diff options
author | Chris Lahey <clahey@src.gnome.org> | 2000-01-12 13:05:30 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-01-12 13:05:30 +0800 |
commit | 4d2a782588b3d7b7a24b5838be9a9b280a089895 (patch) | |
tree | 64f7b2cfe89c29f86988144e6725f9e18a3904c1 /addressbook/gui/widgets/e-minicard.h | |
parent | c1209c281ed79b5dcc9c201f1968fba972c3641a (diff) | |
download | gsoc2013-evolution-4d2a782588b3d7b7a24b5838be9a9b280a089895.tar.gz 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 'addressbook/gui/widgets/e-minicard.h')
-rw-r--r-- | addressbook/gui/widgets/e-minicard.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h index 759cc4ffb7..43e7d8307f 100644 --- a/addressbook/gui/widgets/e-minicard.h +++ b/addressbook/gui/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); }; |