Logo Search packages:      
Sourcecode: inkscape version File versions

virtual gchar const* Inkscape::XML::Node::attribute ( gchar const *  key  )  const [pure virtual]

Get the string representation of a node's attribute.

If there is no attribute with the given name, the method will return NULL. All strings returned by this method are owned by the node and may not be freed. The returned pointer will become invalid when the attribute changes. If you need to store the return value, use g_strdup(). To parse the string, use methods in repr.h

Parameters:
key The name of the node's attribute

Implemented in Inkscape::XML::SimpleNode, and Inkscape::XML::SimpleNode.

Referenced by Inkscape::UI::ClipboardManagerImpl::_copyTextPath(), Inkscape::Preferences::_getNode(), Inkscape::Selection::_objectForXMLNode(), Inkscape::UI::ClipboardManagerImpl::_onGet(), box3d_toolbox_selection_changed(), Inkscape::Extension::Implementation::Script::copy_doc(), Inkscape::Extension::Dependency::Dependency(), do_trace(), find_references(), Inkscape::UI::ClipboardManagerImpl::getFirstObjectID(), Inkscape::UI::ClipboardManagerImpl::getShapeOrTextObjectId(), Inkscape::Extension::Implementation::Script::load(), Inkscape::Extension::Parameter::make(), Inkscape::XML::SimpleNode::mergeFrom(), Inkscape::UI::ClipboardManagerImpl::pastePathEffect(), rdf_get_repr_text(), TextTagAttributes::readFrom(), Inkscape::XML::rebase_hrefs(), Inkscape::Extension::save(), Inkscape::Extension::Implementation::Script::solve_reldir(), sp_export_area_toggled(), sp_export_dialog(), sp_export_export_clicked(), sp_file_save_dialog(), sp_file_save_document(), sp_fill_style_widget_paint_changed(), sp_marker_menu_build(), sp_marker_select(), sp_nodepath_new(), sp_object_private_write(), sp_offset_build(), sp_pattern_menu_build(), sp_repr_get_boolean(), sp_root_build(), sp_root_write(), sp_stroke_style_paint_changed(), sp_style_read(), sp_style_read_penum(), sp_style_read_pfloat(), sp_style_read_pfontsize(), sp_style_read_plength(), sp_tref_convert_to_tspan(), and update_repr_internal().


Generated by  Doxygen 1.6.0   Back to index