NAME
App::MathImage::Glib::Ex::ObjectBits -- misc Glib::Object helpers
SYNOPSIS
use App::MathImage::Glib::Ex::ObjectBits;
FUNCTIONS
$str = App::MathImage::Glib::Ex::ObjectBits::set_property_maybe ($object, $propname, $value, ...)-
Set each
$propnameto$valueper$object->set_property ($propname, $value), if$objecthas such a property. If$objecthas some of the given properties but not others then just those which exist are set and the rest ignored.This can be used for properties which only exist in a new enough version of the object. For example
Gtk2::Widgettooltip-textproperty is new in Gtk 2.12. Withset_property_maybeany tooltip settings can be skipped for earlier Gtk.Be careful to avoid typos in the property names. A misspelling will be ignored as a non-existent property.