BeforeAssignEventArgs Class

class kwhelp.BeforeAssignEventArgs(help_args: kwhelp.HelperArgs, originator: object)[source]

Before assign event args

See also

Callback Usage

__init__(help_args: kwhelp.HelperArgs, originator: object)[source]

Constructor

Parameters
  • help_args (HelperArgs) – HelperArgs object

  • originator (object) – Origanating object

property cancel: bool

Cancel arg. If True process will be canceled.

Getter

Gets cancel arg

Setter

Sets cancel arg

property field_name: str

The name of the field that value will be assigned

Getter

Gets the name of the field that value will be assigned.

Setter

Sets the name of the field that value will be assigned.

property field_value: object

The value that will be assigned field_name.

Getter

Gets the value that will be assigned field_name.

Setter

Sets the value that will be assigned field_name.

property helper_args: kwhelp.HelperArgs

‘Get the args used to for modify/creating attribute

property key: str

Gets the key currently being read

property originator: object

Gets object that attributes assigned/modified for