Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^6: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows

by perltux (Monk)
on Apr 04, 2017 at 03:48 UTC ( [id://1186934]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
in thread Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows

You are right I missed the scrollbar, but:
$b->Subwidget('slistbox')->toplevel
can be simply written as:
$b->Subwidget('choices')

I figured out the underline is coming from the 'activate' method of Listbox.

I don't really get the point of the 'activate' method, I'll have to think about how to deal with it.
I wish I could simply deactivate the 'activate' method altogether... ;)

Replies are listed 'Best First'.
Re^7: Tk::BrowseEntry listbox scrollbar with Mousewheel on Windows
by beech (Parson) on Apr 04, 2017 at 06:58 UTC

    Hi

    Does the spoiler work for you?

    $b->Subwidget('slistbox')->configure( -activestyle => 'none' );
    Seems to turn off underlining on windows
      Sorry, I missed the spoiler, yes it works great, many thanks, that solves the last issue.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-06-15 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.