Class Sizer |
# This class provides a component which can be dragged across the window, allowing panes within the window to be resized. An {Event} is generated when the {Sizer} has been dragged and released. The new position may then be obtained and the dialog adjusted accordingly.
Details |
Constructor |
Sizer(is_held, is_horizontal_flag, temp_pointer, temp_win, temp_w, temp_h, min, max, drag_offset, curr_pos, start_pos, end_pos)
is_held | |
is_horizontal_flag | |
temp_pointer | |
temp_win | |
temp_w | |
temp_h | |
min | |
max | |
drag_offset | |
curr_pos | |
start_pos | |
end_pos |
Methods: |
# Return the current position of the {Sizer}. This may be invoked to determine where the {Sizer} has been dragged to after it has generated an event.
# Get the size of the move during the last drag of the {Sizer}.
# Configure the {Sizer} to be horizontal; the default is vertical.
# Set the minimum and maximum values for the {Sizer}. Whether these are x or y values depends on the orientation of the {Sizer}.
Fields: |