After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612247 - Gtk2::Editable docs of insert-text signal
Gtk2::Editable docs of insert-text signal
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: Gtk2
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2010-03-09 00:32 UTC by Kevin Ryde
Modified: 2010-03-29 13:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
docs of insert-text signal (1.84 KB, patch)
2010-03-09 00:32 UTC, Kevin Ryde
committed Details | Review

Description Kevin Ryde 2010-03-09 00:32:53 UTC
Created attachment 155599 [details] [review]
docs of insert-text signal

The pod for Gtk2::Editable could describe how to use the insert-text signal to modify the inserted text, perhaps per diff below.

I tried to use it through a class closure and was confused for a while about what the parameters were, hence the bit about the class closure unmarshalled at the moment, if I'm not mistaken.  (I accidentally mangled the pos "pointer" argument when chaining up with signal_chain_from_overridden() and got a segv.)
Comment 1 Torsten Schoenfeld 2010-03-29 13:23:52 UTC
Committed.  Thanks!