comparison finch/libgnt/gnttextview.h @ 18719:c3d0b51d6c60

New flag to show text top-aligned in a textview.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sun, 29 Jul 2007 17:08:50 +0000
parents 8838b67b1ea0
children 44b4e8bd759b
comparison
equal deleted inserted replaced
18718:1ad1a4e8dfea 18719:c3d0b51d6c60
45 45
46 typedef struct _GntTextView GntTextView; 46 typedef struct _GntTextView GntTextView;
47 typedef struct _GntTextViewPriv GntTextViewPriv; 47 typedef struct _GntTextViewPriv GntTextViewPriv;
48 typedef struct _GntTextViewClass GntTextViewClass; 48 typedef struct _GntTextViewClass GntTextViewClass;
49 49
50 typedef enum _GntTextViewFlag { 50 typedef enum
51 {
51 GNT_TEXT_VIEW_NO_SCROLL = 1 << 0, 52 GNT_TEXT_VIEW_NO_SCROLL = 1 << 0,
52 GNT_TEXT_VIEW_WRAP_CHAR = 1 << 1, 53 GNT_TEXT_VIEW_WRAP_CHAR = 1 << 1,
54 GNT_TEXT_VIEW_TOP_ALIGN = 1 << 2,
53 } GntTextViewFlag; 55 } GntTextViewFlag;
54 56
55 struct _GntTextView 57 struct _GntTextView
56 { 58 {
57 GntWidget parent; 59 GntWidget parent;