gitkrwcharacterinput.c File Reference

gitk text renderer widget : character input More...

#include "gitkrincludes.h"

Include dependency graph for gitk-renderer-text/widgets/gitkrwcharacterinput.c:

Include dependency graph

Go to the source code of this file.

Defines

#define GITK_RENDERER_C
#define GITKR_WIDGET_CHARACTERINPUT_C
#define MAX_INPUT_LEN   1024
 maximum number of chars for character input


Functions

gboolean gitkr_widget_characterinput_handle (GitkrTextWidgetPtr widget, gint line)
 handle events of a character-input widget

void gitkr_widget_characterinput_new (GitkrTextWidgetPtr widget, GitkDialogPtr dialog, xmlNodePtr node)
 create a new character-input widget

void gitkr_widget_characterinput_output (GitkrTextWidgetPtr widget, gint line, gboolean active)
 display a character-input widget

void gitkr_widget_characterinput_value_output (gint col, gint line, gchar *value, gint offset)
 display the value of a character-input widget


Detailed Description

gitk text renderer widget : character input

Id
gitkrwcharacterinput.c,v 1.22 2004/03/12 18:35:27 ensonic Exp

Author:
Stefan Kost <ensonic@users.sf.net>
Date:
Thu Feb 21 14:26:56 2002

Definition in file gitk-renderer-text/widgets/gitkrwcharacterinput.c.


Define Documentation

#define MAX_INPUT_LEN   1024
 

maximum number of chars for character input

Definition at line 54 of file gitk-renderer-text/widgets/gitkrwcharacterinput.c.


Function Documentation

gboolean gitkr_widget_characterinput_handle GitkrTextWidgetPtr  widget,
gint  line
 

handle events of a character-input widget

Todo:
implement

apply filter

check that there is enough space to include one more character

Definition at line 57 of file gitk-renderer-text/widgets/gitkrwcharacterinput.c.

References GitkrTextWidget::dialog, ftinfo, gitk_log, gitk_log3, gitkr_event_loop_getkey(), gitkr_widget_characterinput_value_output(), gitkr_widget_get_value(), gitkr_widget_output_pre(), gitkr_widget_set_value(), GitkrTextWidgetPtr, GitkrTextWidget::id, KEY_BACKSPACE, KEY_DEL, KEY_F10, KEY_RETURN, KEYCODE_TO_ASCII, GitkrTextWidget::label, MAX_INPUT_LEN, GitkrTextWidget::output, and run.

Here is the call graph for this function:

void gitkr_widget_characterinput_new GitkrTextWidgetPtr  widget,
GitkDialogPtr  dialog,
xmlNodePtr  node
 

create a new character-input widget

Definition at line 18 of file gitk-renderer-text/widgets/gitkrwcharacterinput.c.

References GITK_WIDGET_TYPE_CHARACTERINPUT, GitkDialogPtr, gitkr_widget_characterinput_handle(), gitkr_widget_characterinput_output(), gitkr_widget_new(), GitkrTextWidgetPtr, GitkrTextWidget::handle, GitkrTextWidget::icon, GitkrTextWidget::output, and GitkrTextWidget::type.

Referenced by gitkr_dialog_generate_layout_walker(), gitkr_dialog_generate_sequential_layout_build_page(), and gitkr_widget_characterinput_alphabetic_new().

Here is the call graph for this function:

void gitkr_widget_characterinput_output GitkrTextWidgetPtr  widget,
gint  line,
gboolean  active
 

display a character-input widget

Definition at line 27 of file gitk-renderer-text/widgets/gitkrwcharacterinput.c.

References GitkrTextWidget::dialog, ftinfo, gitkr_widget_characterinput_value_output(), gitkr_widget_get_value(), gitkr_widget_output_post(), gitkr_widget_output_pre(), GitkrTextWidgetPtr, GitkrTextWidget::id, and GitkrTextWidget::label.

Referenced by gitkr_widget_characterinput_alphabetic_output().

Here is the call graph for this function:

void gitkr_widget_characterinput_value_output gint  col,
gint  line,
gchar *  value,
gint  offset
 

display the value of a character-input widget

Definition at line 206 of file gitk-renderer-text/widgets/gitkrwcharacterinput.c.

References gitk_log1.

Referenced by gitkr_widget_characterinput_handle(), and gitkr_widget_characterinput_output().


Generated on Thu Oct 28 11:01:50 2004 for gitk by doxygen 1.3.6