Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with click
#11
(Oct-10-2016, 06:34 PM)But what is expose_value for? The doc says that  the expose_value parameter prevents the pretty pointless parameter from being passed to the callback. What does it mean? Also what is is_eager for? Thanks. Mekire Wrote:
(Oct-10-2016, 04:53 PM)dullboy Wrote: I am not sure if you really know the answer. 

You are getting hung up on something that doesn't matter at all to you using this library.
The callback is passed the ctx object, an Options object, and a boolean value.  The boolean value is True or False depending on whether the flag for that option is present.  

Add some print lines in the callback and print out the passed arguments...
Reply
#12
(Oct-11-2016, 12:30 PM)dullboy Wrote:
(Oct-10-2016, 06:34 PM)But what is expose_value for? The doc says that  the expose_value parameter prevents the pretty pointless parameter from being passed to the callback. What does it mean? Also what is is_eager for? Thanks. Mekire Wrote:
(Oct-10-2016, 04:53 PM)dullboy Wrote: I am not sure if you really know the answer. 

You are getting hung up on something that doesn't matter at all to you using this library.
The callback is passed the ctx object, an Options object, and a boolean value.  The boolean value is True or False depending on whether the flag for that option is present.  

Add some print lines in the callback and print out the passed arguments...
@[dullboy]

Make sure your text is outside the quote tags...or outside the quote box.
Recommended Tutorials:
Reply
#13
(Oct-11-2016, 12:36 PM)metulburr Wrote:
(Oct-11-2016, 12:30 PM)dullboy Wrote:
(Oct-10-2016, 06:34 PM)But what is expose_value for? The doc says that  the expose_value parameter prevents the pretty pointless parameter from being passed to the callback. What does it mean? Also what is is_eager for? Thanks. Mekire Wrote:
(Oct-10-2016, 04:53 PM)dullboy Wrote: I am not sure if you really know the answer. 

You are getting hung up on something that doesn't matter at all to you using this library.
The callback is passed the ctx object, an Options object, and a boolean value.  The boolean value is True or False depending on whether the flag for that option is present.  

Add some print lines in the callback and print out the passed arguments...
@[dullboy]

Make sure your text is outside the quote tags...or outside the quote box.


Sure.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020