Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

void SPItem::setExplicitlyHidden ( bool  val ) [inherited]

Sets the display CSS property to `hidden' if val is true, otherwise makes it unset

Definition at line 285 of file sp-item.cpp.

References SPStyle::display, SPObject::style, and SPObject::updateRepr().

                                          {
    this->style->display.set = val;
    this->style->display.value = ( val ? SP_CSS_DISPLAY_NONE : SP_CSS_DISPLAY_INLINE );
    this->style->display.computed = this->style->display.value;
    this->updateRepr();
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index