gitkrtools.c File Reference

gitk renderer tool routines More...

#include "gitkrincludes.h"

Include dependency graph for gitk-renderer-phone/gitkrtools.c:

Include dependency graph

Go to the source code of this file.

Functions

gchar * gitkr_cxpath_get_string (GitkDialogPtr dialog, xmlXPathCompExprPtr xpath_expr, xmlNodePtr root_node)
 return the result as string of the evaluation of the supplied xpath expression agains the given document and converts the codeset of the result

gchar * gitkr_widget_get_value (GitkDialogPtr const dialog, gchar *const widget_id, const gchar *name)
 get data value of the attribute name of the given widget and converts the codeset of the result don't forget to free the returned value

void gitkr_widget_set_value (GitkDialogPtr const dialog, gchar *const widget_id, const gchar *name, const gchar *data)
 set data value of the attribute name of the given widget and converts the codeset of the data


Detailed Description

gitk renderer tool routines

Id
gitkrtools.c,v 1.3 2004/06/08 10:30:49 sast Exp

Author:
Steffen ast <sast@users.sf.net>
Date:
Thu Mar 30 16:09:59 2004

Definition in file gitk-renderer-phone/gitkrtools.c.


Function Documentation

gchar* gitkr_cxpath_get_string GitkDialogPtr  dialog,
xmlXPathCompExprPtr  xpath_expr,
xmlNodePtr  root_node
 

return the result as string of the evaluation of the supplied xpath expression agains the given document and converts the codeset of the result

Parameters:
dialog gitk dialog
xpath_expr compiles xpath expression to use
root_node from where to search, uses doc root when NULL
Returns:
gchar pointer to result of NULL, do not forget to free the result after use.

Definition at line 24 of file gitk-renderer-phone/gitkrtools.c.

References code_set, and GitkDialogPtr.

gchar* gitkr_widget_get_value GitkDialogPtr const  dialog,
gchar *const  widget_id,
const gchar *  name
 

get data value of the attribute name of the given widget and converts the codeset of the result don't forget to free the returned value

Parameters:
dialog the dialog which contains the widget
widget_id the id of the widget to look up
name child-node, of which the value should be retrieved
Returns:
the value of the widget

Definition at line 56 of file gitk-renderer-phone/gitkrtools.c.

References code_set, gitk_log1, and GitkDialogPtr.

void gitkr_widget_set_value GitkDialogPtr const  dialog,
gchar *const  widget_id,
const gchar *  name,
const gchar *  data
 

set data value of the attribute name of the given widget and converts the codeset of the data

Parameters:
dialog the dialog which contains the widget
widget_id the id of the widget to look up
name child-node, of which the value should be retrieved
data the new content of the value

Definition at line 40 of file gitk-renderer-phone/gitkrtools.c.

References code_set, and GitkDialogPtr.


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