Scroll - what|where exactly wire widget and scrollbar?
From: Alexander (alexander_at_edem.g12.br)
Date: 02/03/05
- Next message: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Previous message: Don Porter: "Re: pkg_mkIndex"
- Next in thread: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Bryan Oakley: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Donald Arseneau: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Feb 2005 15:01:27 -0800
Hi all!
I'm brazilian, so, please, be patience with my horrible english.
I'm studing about scroll comands and scrollbar widget.
The commands set and y|xscrollcommand, and the -command option seems
easy to me now.
But, when I write or read one script with scrollbar I realy can't see
what exactly wire widget and his scrollbar.
The set command seems just provide information.
The -command option execute one command when something happens in
scrollbar.
The y or xscrollcommand execute one command when view area of widget
is changed.
Ok, but where can I find what say to Tk: Hey! This scrollbar is to
that widget and that widget will use [this] scrollbar?
Realy it's not much clear to understand.
Maybe somebody will say: the set command is the key.
But... the set command? Why?
Yep! I was read wiki. And I was execute examples and all about set,
-command and x|yscrollcommand is clear. But never about where is the
"glue" between scrollbar and his widget associated.
What Tk use to determine what scroolbar is use to one widget.
Someone can help me?
[]'s
Alexander
- Next message: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Previous message: Don Porter: "Re: pkg_mkIndex"
- Next in thread: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Bruce Hartweg: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Bryan Oakley: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Reply: Donald Arseneau: "Re: Scroll - what|where exactly wire widget and scrollbar?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|