gitkdialog.h File Reference

libgitk dialog class (xml-doc-tree) More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define gitk_dialog_get_doc(dialog)   gitk__dialog_get_doc(dialog,GITK_DIALOG_ACCESS_RENDERER)
#define gitk_dialog_get_widget(dialog, widget_id)   gitk__dialog_get_widget(dialog,GITK_DIALOG_ACCESS_RENDERER,widget_id)
#define gitk_dialog_set_title(dialog, new_title)   gitk__dialog_set_title(dialog,GITK_DIALOG_ACCESS_RENDERER,new_title)

Functions

xmlDocPtr gitk__dialog_get_doc (GitkDialogPtr const dialog, GitkDialogAccessType access_type)
 get the source/destination giml/xml document

xmlNodePtr gitk__dialog_get_widget (GitkDialogPtr const dialog, GitkDialogAccessType const access_type, gchar *const widget_id)
 retrieve the widget from the doc-tree

void gitk__dialog_set_title (GitkDialogPtr const dialog, GitkDialogAccessType const access_type, gchar *const new_title)
 sets the dialog title

void gitk_dialog_free (GitkDialogPtr const dialog)
 free a GitkDialog. This unconnects all callbacks and releases memory.

xmlDocPtr gitk_dialog_get_dst (GitkDialogPtr const dialog)
 get the target xml document, this takes care that the target document gets generated at least when someone accesses it

xmlDocPtr gitk_dialog_get_src (GitkDialogPtr const dialog)
 get the source giml/xml document

void gitk_dialog_invalidate (GitkDialogPtr const dialog)
 invalidate the prepared dst doc, this ensures that on the next access the transformations are repeated

void gitk_dialog_move_focus (GitkWidgetPtr old_widget, GitkWidgetPtr new_widget)
 move the focus mark from one widget to another.

GitkDialogPtr gitk_dialog_new (xmlDocPtr const doc)
 create GitkDialog from xml-doc

GitkDialogPtr gitk_dialog_new_from_file (gchar *const filename)
 create a GitkDialog from a giml-file

GitkDialogPtr gitk_dialog_new_from_memory (gchar *const buffer, const guint size)
 create a GitkDialog from a memory block containing giml dialog description

GitkDialogPtr gitk_dialog_new_from_parser_context (xmlParserCtxtPtr const ctxt)
 create a GitkDialog from a parser context

GitkDialogPtr gitk_dialog_new_from_string (gchar *const str)
 create a GitkDialog from a string containing giml dialog description

void gitk_dialog_set_content (GitkDialogPtr const dialog, GitkDialogAccessType const access_type, xmlXPathCompExprPtr cxpath_expr, gchar *const xpath_expr, const gchar *const new_value)
 sets content in gitk doc tree to a new value


Detailed Description

libgitk dialog class (xml-doc-tree)

Id
gitkdialog.h,v 1.5 2004/02/19 18:47:08 ensonic Exp

Author:
Stefan Kost <ensonic@users.sf.net>
Date:
Tue Dec 30 15:42:22 MET 2003

Definition in file gitkdialog.h.


Function Documentation

void gitk_dialog_move_focus GitkWidgetPtr  old_widget,
GitkWidgetPtr  new_widget
 

move the focus mark from one widget to another.

Definition at line 437 of file gitkdialog.c.

References GitkWidget::dialog, gitk__dialog_get_widget(), GITK_DIALOG_ACCESS_CLIENT, GITK_DIALOG_ACCESS_RENDERER, GitkWidgetPtr, and GitkWidget::id.

Referenced by handle_dialog_main_widgets(), next_widget(), and prev_widget().

Here is the call graph for this function:


Generated on Thu Oct 28 10:59:27 2004 for gitk by doxygen 1.3.6