enum.cpp revision 05599a3f1fae49d54a2102c41c31271a158410de
2521N/A#ifdef HAVE_CONFIG_H
2968N/A#include "extension/extension.h"
2521N/A#include "document-private.h"
2521N/A#include "sp-object.h"
2521N/A#include "preferences.h"
2521N/A Note that value and guitext MUST be non-NULL. This is ensured by newing only at one location in the code where non-NULL checks are made. */
2521N/AParamComboBox::ParamComboBox (const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, bool gui_hidden, const gchar * gui_tip, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml) :
2892N/A if (!strcmp(chname, INKSCAPE_EXTENSION_NS "item") || !strcmp(chname, INKSCAPE_EXTENSION_NS "_item")) {
6850N/A if ( (!newguitext.empty()) && (!newvalue.empty()) ) { // logical error if this is not true here
6850N/A ParamComboBoxEntry (ParamComboBox * pref, SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal) :
3998N/AParamComboBox::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal<void> * changeSignal)
3998N/A if (_gui_hidden) {
2521N/A ParamComboBoxEntry * combo = Gtk::manage(new ParamComboBoxEntry(this, doc, node, changeSignal));