|
|
Whole document tree
E-text EText3GAL LibraryETextSynopsis
struct ETextSuckFont;
struct ETextSuckChar;
struct EText;
Object Hierarchy
GtkObject
+----GnomeCanvasItem
+----ETextSignal Prototypes
"changed" void user_function (EText *etext,
gpointer user_data);
"activate" void user_function (EText *etext,
gpointer user_data);DescriptionDetailsstruct ETextSuckFontstruct ETextSuckFont {
guchar *bitmap;
gint bitmap_width;
gint bitmap_height;
gint ascent;
ETextSuckChar chars[256];
};struct ETextSuckCharstruct ETextSuckChar {
int left_sb;
int right_sb;
int width;
int ascent;
int descent;
int bitmap_offset; /* in pixels */
};struct ETextstruct EText;SignalsThe "changed" signalvoid user_function (EText *etext,
gpointer user_data);etext :the object which received the signal.
user_data :user data set when the signal handler was connected.The "activate" signalvoid user_function (EText *etext,
gpointer user_data);etext :the object which received the signal.
user_data :user data set when the signal handler was connected.
ETextEventProcessor3GAL LibraryETextEventProcessorSynopsis
#define E_TEXT_EVENT_PROCESSOR_TYPE
struct ETextEventProcessor;
gint e_text_event_processor_handle_event
(ETextEventProcessor *tep,
ETextEventProcessorEvent *event);
Object Hierarchy
GtkObject
+----ETextEventProcessorSignal Prototypes
"command" void user_function (ETextEventProcessor *etexteventprocessor,
gpointer arg1,
gpointer user_data);DescriptionDetailsE_TEXT_EVENT_PROCESSOR_TYPE#define E_TEXT_EVENT_PROCESSOR_TYPE (e_text_event_processor_get_type ())struct ETextEventProcessorstruct ETextEventProcessor;e_text_event_processor_handle_event ()gint e_text_event_processor_handle_event
(ETextEventProcessor *tep,
ETextEventProcessorEvent *event);tep :event :Returns :
SignalsThe "command" signalvoid user_function (ETextEventProcessor *etexteventprocessor,
gpointer arg1,
gpointer user_data);etexteventprocessor :the object which received the signal.arg1 :user_data :user data set when the signal handler was connected.
ETextEventProcessorEmacsLike3GAL LibraryETextEventProcessorEmacsLikeSynopsis
#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE
struct ETextEventProcessorEmacsLike;
ETextEventProcessor* e_text_event_processor_emacs_like_new
(void);
Object Hierarchy
GtkObject
+----ETextEventProcessor
+----ETextEventProcessorEmacsLikeDescriptionDetailsE_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE#define E_TEXT_EVENT_PROCESSOR_EMACS_LIKE_TYPE (e_text_event_processor_emacs_like_get_type ())struct ETextEventProcessorEmacsLikestruct ETextEventProcessorEmacsLike;e_text_event_processor_emacs_like_new ()ETextEventProcessor* e_text_event_processor_emacs_like_new
(void);Returns :
e-text-event-processor-types3GAL Librarye-text-event-processor-typesSynopsis
typedef ETextEventProcessorCommand;
typedef ETextEventProcessorEventButton;
typedef ETextEventProcessorEventKey;
typedef ETextEventProcessorEventMotion;
enum ETextEventProcessorCommandPosition;
enum ETextEventProcessorCommandAction;
union ETextEventProcessorEvent;DescriptionDetailsETextEventProcessorCommandtypedef struct {
ETextEventProcessorCommandPosition position;
ETextEventProcessorCommandAction action;
int value;
char *string;
guint32 time;
} ETextEventProcessorCommand;ETextEventProcessorEventButtontypedef struct {
GdkEventType type;
guint32 time;
guint state;
guint button;
gint position;
} ETextEventProcessorEventButton;ETextEventProcessorEventKeytypedef struct {
GdkEventType type;
guint32 time;
guint state;
guint keyval;
gint length;
gchar *string;
} ETextEventProcessorEventKey;ETextEventProcessorEventMotiontypedef struct {
GdkEventType type;
guint32 time;
guint state;
gint position;
} ETextEventProcessorEventMotion;enum ETextEventProcessorCommandPositiontypedef enum {
E_TEP_VALUE,
E_TEP_SELECTION,
E_TEP_START_OF_BUFFER,
E_TEP_END_OF_BUFFER,
E_TEP_START_OF_LINE,
E_TEP_END_OF_LINE,
E_TEP_FORWARD_CHARACTER,
E_TEP_BACKWARD_CHARACTER,
E_TEP_FORWARD_WORD,
E_TEP_BACKWARD_WORD,
E_TEP_FORWARD_LINE,
E_TEP_BACKWARD_LINE,
E_TEP_FORWARD_PARAGRAPH,
E_TEP_BACKWARD_PARAGRAPH,
E_TEP_FORWARD_PAGE,
E_TEP_BACKWARD_PAGE,
E_TEP_SELECT_WORD,
E_TEP_SELECT_ALL
} ETextEventProcessorCommandPosition;enum ETextEventProcessorCommandActiontypedef enum {
E_TEP_MOVE,
E_TEP_SELECT,
E_TEP_DELETE,
E_TEP_INSERT,
E_TEP_COPY,
E_TEP_PASTE,
E_TEP_GET_SELECTION,
E_TEP_SET_SELECT_BY_WORD,
E_TEP_ACTIVATE,
E_TEP_GRAB,
E_TEP_UNGRAB,
E_TEP_NOP
} ETextEventProcessorCommandAction;union ETextEventProcessorEventunion ETextEventProcessorEvent {
GdkEventType type;
ETextEventProcessorEventButton button;
ETextEventProcessorEventKey key;
ETextEventProcessorEventMotion motion;
};
|