aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-23 14:30:54 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-23 14:30:54 +0800
commit4720ad36fadc7680cb62cb309627d28511555ef2 (patch)
treec4f09e1da1de734d407f4ad46ad4145664125981 /widgets/text/e-text.h
parent343f36cffe95db2943ba897b83bbb88a6c25c366 (diff)
downloadgsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar.gz
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar.bz2
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar.lz
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar.xz
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.tar.zst
gsoc2013-evolution-4720ad36fadc7680cb62cb309627d28511555ef2.zip
Bumped version to 0.15.99.3 for EText's "draw_button" argument.
2001-10-23 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version to 0.15.99.3 for EText's "draw_button" argument. * gal/e-text/e-entry.c: Forward the "draw_button" argument to the contained EText. * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_draw): Added new "draw_button" argument. If this is turned on and the first widget that's a parent of the containing canvas with GTK_NO_WINDOW turned off above the current one is a button, EText draws a button underneath itself to match the containing button. From gal/shortcut-bar/ChangeLog: 2001-10-23 Christopher James Lahey <clahey@ximian.com> * e-shortcut-bar.c (e_shortcut_bar_add_group): Turn on "draw_button" argument to EEntry. svn path=/trunk/; revision=13934
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index 9a5b997bba..573a2d9b70 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -75,6 +75,7 @@ BEGIN_GNOME_DECLS
* max_lines int RW Number of lines possible when doing line wrap.
* draw_borders boolean RW Whether to draw borders.
* draw_background boolean RW Whether to draw the background.
+ * draw_button boolean RW This makes EText handle being the child of a button properly and highlighting as it should.
*/
#define E_TYPE_TEXT (e_text_get_type ())
@@ -190,6 +191,7 @@ struct _EText {
guint default_cursor_shown : 1; /* Is the default cursor currently shown? */
guint draw_borders : 1; /* Draw borders? */
guint draw_background : 1; /* Draw background? */
+ guint draw_button : 1; /* Draw button? */
guint line_wrap : 1; /* Do line wrap */