Re: Can't add new GTK 2.16 methods to GtkStyle
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: Can't add new GTK 2.16 methods to GtkStyle
- Date: Thu, 22 Jan 2009 07:15:22 +1100
Emmanuel Rodriguez <emmanuel rodriguez gmail com> writes:
+=for apidoc Gtk2::Style::get
+=for signature $style->get (widget_package, ...)
If both gobject get and get_property are hidden perhaps the pod could
have a crib that GtkStyle doesn't have any GObject properties to get or
set, though if a subclass did you can always $style->Glib::Object::get
to access them (assuming that's true).
+=for apidoc Gtk2::Style::get_property
+=for arg widget_package (__hide__)
There's some trick to get the two docs together isn't there?
+ warn ("Invalid property `%s' used, returning undef", name);
Should that croak the way g_object_get does on an unknown property?
When in doubt you could either eval to trap, or ask
find_style_property() what's available (if that's wrapped).
] [Thread Prev