Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to call gtk3::vte::grab_text_range

by Anonymous Monk
on Sep 21, 2025 at 01:23 UTC ( [id://11166298]=note: print w/replies, xml ) Need Help??


in reply to how to call gtk3::vte::grab_text_range

hi

nice bit from Ai gtk3 vte grab_text_range (ai is easily confused , and is correcting itself as im composing)

In VTE 2.91+ (used in GTK 3), the function for retrieving text is vte_terminal_get_text(), not grab_text_range. grab_text_range was a function in older versions of VTE (GTK 2) that has since been removed.

anyway, have you tried using perli11ndoc to see what it says ?

so you had

$$self{_GUI}{_VTE}->get_text_range(1, 0, 1, 5, $func, my $data = undef +);
but id think youd want
my $data = []; $$self{_GUI}{_VTE}->get_text_range(1, 0, 1, 5, $func, $data );

 

boop

Perl Gtk3 Tutorial / https://github.com/kevinphilp/Perl-gtk3-Tutorial/tree/master

site:perlmonks.org zentara gtk3 terminal

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11166298]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2026-01-16 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.