#include <gnome.h>
#include <libxml/tree.h>
#include "mlview-app-context.h"
#include "mlview-xml-document.h"
Go to the source code of this file.
Data Structures | |
struct | _MlViewNodeEditor |
struct | _MlViewNodeEditorClass |
Defines | |
#define | MLVIEW_TYPE_NODE_EDITOR (mlview_node_editor_get_type()) |
changes that occur on the xmlNode. | |
#define | MLVIEW_NODE_EDITOR(object) (GTK_CHECK_CAST((object), MLVIEW_TYPE_NODE_EDITOR, MlViewNodeEditor)) |
#define | MLVIEW_NODE_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_CAST((klass), MLVIEW_TYPE_NODE_EDITOR, MlViewNodeEditorClass)) |
#define | MLVIEW_IS_NODE_EDITOR(object) (GTK_CHECK_TYPE((object), MLVIEW_TYPE_NODE_EDITOR)) |
#define | MLVIEW_IS_NODE_EDITOR_CLASS(klass) (GTK_CHECK_CLASS_TYPE((klass), MLVIEW_TYPE_NODE_EDITOR)) |
Typedefs | |
typedef _MlViewNodeEditorPrivate | MlViewNodeEditorPrivate |
typedef _MlViewNodeEditor | MlViewNodeEditor |
typedef _MlViewNodeEditorClass | MlViewNodeEditorClass |
Functions | |
guint | mlview_node_editor_get_type (void) |
Classical dynamic type allocator. | |
GtkWidget * | mlview_node_editor_new (MlViewAppContext *a_app_context) |
Simple instance builder. | |
void | mlview_node_editor_set_application_context (MlViewNodeEditor *a_node_editor, MlViewAppContext *a_app_context) |
mlview_node_editor_set_application_context | |
MlViewAppContext * | mlview_node_editor_get_application_context (MlViewNodeEditor *a_node_editor) |
xmlNodePtr | mlview_node_editor_get_current_xml_node (MlViewNodeEditor *a_editor) |
xmlNodePtr mlview_node_editor_get_current_xml_node: | |
void | mlview_node_editor_edit_xml_node (MlViewNodeEditor *a_editor, MlViewXMLDocument *a_xml_doc, xmlNode *a_node) |
Edits the node current node. | |
void | mlview_node_editor_clear (MlViewNodeEditor *a_editor) |
Visualy (only) Clears the element editor. | |
void | mlview_node_editor_set_editable (MlViewNodeEditor *a_editor, gboolean a_editable) |
Sets the new editable state of the current instance of MlViewNodeEditor. | |
gpointer | mlview_node_editor_get_attached_object (MlViewNodeEditor *a_editor, gchar *a_key) |
void | mlview_node_editor_set_left_right_percentage (MlViewNodeEditor *a_node_editor, const guint a_percentage) |
|
Definition at line 42 of file mlview-node-editor.h. Referenced by mlview_node_editor_edit_xml_node(), mlview_node_editor_get_application_context(), and mlview_node_editor_set_application_context(). |
|
Definition at line 43 of file mlview-node-editor.h. |
|
Definition at line 40 of file mlview-node-editor.h. Referenced by mlview_xml_doc_tree_view_construct(). |
|
Definition at line 41 of file mlview-node-editor.h. |
|
changes that occur on the xmlNode. This signals could be catched by a higher level editor that would update a tree or something. This class should provide facilities to attach objects to it, so that the higher level editors that use it could easily associates a visual tree node to an xmlNode being edited. It would be then easier to update the matching visual node when an xmlNode is modified. THAT WOULD BE FAR BETTER THAN NOW !!! Definition at line 39 of file mlview-node-editor.h. Referenced by mlview_node_editor_new(). |
|
Definition at line 46 of file mlview-node-editor.h. |
|
Definition at line 47 of file mlview-node-editor.h. |
|
Definition at line 45 of file mlview-node-editor.h. |
|
Visualy (only) Clears the element editor. Does not free anything. Definition at line 1662 of file mlview-node-editor.c. |
|
Edits the node current node.
Definition at line 1597 of file mlview-node-editor.c. References MLVIEW_IS_NODE_EDITOR, MLVIEW_IS_XML_DOCUMENT, and PRIVATE. |
|
Definition at line 1570 of file mlview-node-editor.c. References MLVIEW_IS_NODE_EDITOR, and PRIVATE. |
|
|
|
xmlNodePtr mlview_node_editor_get_current_xml_node:
Definition at line 1585 of file mlview-node-editor.c. References PRIVATE. |
|
Classical dynamic type allocator.
Definition at line 1363 of file mlview-node-editor.c. |
|
Simple instance builder.
Definition at line 1542 of file mlview-node-editor.c. References MLVIEW_TYPE_NODE_EDITOR. |
|
mlview_node_editor_set_application_context
Definition at line 1558 of file mlview-node-editor.c. References MLVIEW_IS_NODE_EDITOR, and PRIVATE. Referenced by mlview_xml_doc_tree_view_set_app_context(). |
|
Sets the new editable state of the current instance of MlViewNodeEditor. Actually, it the current view of the element editor that is set to the editable/non editable state. Also emits the signal "edit state changes". Definition at line 1679 of file mlview-node-editor.c. References EDIT_STATE_CHANGED, _MlViewNodeEditorPrivate::iseditable, and PRIVATE. |
|
Definition at line 1701 of file mlview-node-editor.c. References PRIVATE. Referenced by mlview_xml_doc_tree_view_set_all_paned_proportions(). |