BoxModelObject ============== .. currentmodule:: labpyproject.core.pygame.core .. autoclass:: BoxModelObject :show-inheritance: .. rubric:: Attributes Summary .. autosummary:: ~BoxModelObject.ALIGN_ATTR ~BoxModelObject.ALIGN_CENTER ~BoxModelObject.ALIGN_LEFT ~BoxModelObject.ALIGN_RIGHT ~BoxModelObject.FLEX_ATTR ~BoxModelObject.METRIC_ATTR ~BoxModelObject.POSITION_ABSOLUTE ~BoxModelObject.POSITION_FIXED ~BoxModelObject.POSITION_RELATIVE ~BoxModelObject.POSITION_STATIC ~BoxModelObject.POSITION_VALUES ~BoxModelObject.SGY_COORD_ALIGN ~BoxModelObject.SGY_COORD_OFFSET ~BoxModelObject.SGY_COORD_RELATIVE ~BoxModelObject.SGY_COORD_VALUE ~BoxModelObject.SGY_DIM_FLEX ~BoxModelObject.SGY_DIM_OFFSETS ~BoxModelObject.SGY_DIM_VALUE ~BoxModelObject.SNAP_ATTR ~BoxModelObject.VALIGN_BOTTOM ~BoxModelObject.VALIGN_MIDDLE ~BoxModelObject.VALIGN_TOP ~BoxModelObject.align ~BoxModelObject.bottom ~BoxModelObject.flex ~BoxModelObject.globalRect ~BoxModelObject.height ~BoxModelObject.in_flow ~BoxModelObject.left ~BoxModelObject.margin ~BoxModelObject.maxheight ~BoxModelObject.maxwidth ~BoxModelObject.minheight ~BoxModelObject.minwidth ~BoxModelObject.padding ~BoxModelObject.parent ~BoxModelObject.position ~BoxModelObject.publicationRect ~BoxModelObject.publicationRefRect ~BoxModelObject.rect ~BoxModelObject.right ~BoxModelObject.root_reference ~BoxModelObject.snapH ~BoxModelObject.snapW ~BoxModelObject.top ~BoxModelObject.unsnapped_publicationRect ~BoxModelObject.valign ~BoxModelObject.width ~BoxModelObject.x ~BoxModelObject.xabs ~BoxModelObject.xflow ~BoxModelObject.y ~BoxModelObject.yabs ~BoxModelObject.yflow .. rubric:: Methods Summary .. autosummary:: ~BoxModelObject.apply_parent_layout ~BoxModelObject.compute_coords ~BoxModelObject.compute_dims ~BoxModelObject.compute_spaces ~BoxModelObject.define_strategy ~BoxModelObject.define_strategy_coord ~BoxModelObject.define_strategy_dim ~BoxModelObject.discard_display ~BoxModelObject.discard_globalRect ~BoxModelObject.discard_inner_rects ~BoxModelObject.discard_placement ~BoxModelObject.discard_pos_coords ~BoxModelObject.discard_resize ~BoxModelObject.discard_strategy ~BoxModelObject.do_compute_resize ~BoxModelObject.draw_display ~BoxModelObject.get_border_rect ~BoxModelObject.get_content_rect ~BoxModelObject.get_global_coords ~BoxModelObject.get_item_dimensions ~BoxModelObject.get_metric_value ~BoxModelObject.get_scope_delta_coords ~BoxModelObject.handle_item_snap ~BoxModelObject.has_default_value ~BoxModelObject.move ~BoxModelObject.on_abs_coord_changed ~BoxModelObject.on_alignement_changed ~BoxModelObject.on_dimension_bound_changed ~BoxModelObject.on_dimension_changed ~BoxModelObject.on_fixed_child_parent_coords_changed ~BoxModelObject.on_flex_changed ~BoxModelObject.on_flow_coord_changed ~BoxModelObject.on_in_flow_changed ~BoxModelObject.on_margin_changed ~BoxModelObject.on_offset_changed ~BoxModelObject.on_padding_changed ~BoxModelObject.on_parent_changed ~BoxModelObject.on_position_changed ~BoxModelObject.on_publicationRect_coords_changed ~BoxModelObject.on_publicationRect_dims_changed ~BoxModelObject.on_publicationRefRect_coords_changed ~BoxModelObject.on_publicationRefRect_dims_changed ~BoxModelObject.on_snap_changed ~BoxModelObject.parse_alignement ~BoxModelObject.parse_boundedmetric ~BoxModelObject.parse_flex ~BoxModelObject.parse_metric ~BoxModelObject.parse_position ~BoxModelObject.parse_properties ~BoxModelObject.parse_snap ~BoxModelObject.place ~BoxModelObject.post_control_boxmodel ~BoxModelObject.re_initialise_rects ~BoxModelObject.resize ~BoxModelObject.set_metric_value ~BoxModelObject.update_border_rect ~BoxModelObject.update_content_rect ~BoxModelObject.update_coord ~BoxModelObject.update_core_metrics ~BoxModelObject.update_dim ~BoxModelObject.update_globalRect ~BoxModelObject.update_inner_rects ~BoxModelObject.update_pos_coords ~BoxModelObject.update_publicationRect ~BoxModelObject.update_publicationRefRect_coords ~BoxModelObject.update_space .. rubric:: Attributes Documentation .. autoattribute:: ALIGN_ATTR .. autoattribute:: ALIGN_CENTER .. autoattribute:: ALIGN_LEFT .. autoattribute:: ALIGN_RIGHT .. autoattribute:: FLEX_ATTR .. autoattribute:: METRIC_ATTR .. autoattribute:: POSITION_ABSOLUTE .. autoattribute:: POSITION_FIXED .. autoattribute:: POSITION_RELATIVE .. autoattribute:: POSITION_STATIC .. autoattribute:: POSITION_VALUES .. autoattribute:: SGY_COORD_ALIGN .. autoattribute:: SGY_COORD_OFFSET .. autoattribute:: SGY_COORD_RELATIVE .. autoattribute:: SGY_COORD_VALUE .. autoattribute:: SGY_DIM_FLEX .. autoattribute:: SGY_DIM_OFFSETS .. autoattribute:: SGY_DIM_VALUE .. autoattribute:: SNAP_ATTR .. autoattribute:: VALIGN_BOTTOM .. autoattribute:: VALIGN_MIDDLE .. autoattribute:: VALIGN_TOP .. autoattribute:: align .. autoattribute:: bottom .. autoattribute:: flex .. autoattribute:: globalRect .. autoattribute:: height .. autoattribute:: in_flow .. autoattribute:: left .. autoattribute:: margin .. autoattribute:: maxheight .. autoattribute:: maxwidth .. autoattribute:: minheight .. autoattribute:: minwidth .. autoattribute:: padding .. autoattribute:: parent .. autoattribute:: position .. autoattribute:: publicationRect .. autoattribute:: publicationRefRect .. autoattribute:: rect .. autoattribute:: right .. autoattribute:: root_reference .. autoattribute:: snapH .. autoattribute:: snapW .. autoattribute:: top .. autoattribute:: unsnapped_publicationRect .. autoattribute:: valign .. autoattribute:: width .. autoattribute:: x .. autoattribute:: xabs .. autoattribute:: xflow .. autoattribute:: y .. autoattribute:: yabs .. autoattribute:: yflow .. rubric:: Methods Documentation .. automethod:: apply_parent_layout .. automethod:: compute_coords .. automethod:: compute_dims .. automethod:: compute_spaces .. automethod:: define_strategy .. automethod:: define_strategy_coord .. automethod:: define_strategy_dim .. automethod:: discard_display .. automethod:: discard_globalRect .. automethod:: discard_inner_rects .. automethod:: discard_placement .. automethod:: discard_pos_coords .. automethod:: discard_resize .. automethod:: discard_strategy .. automethod:: do_compute_resize .. automethod:: draw_display .. automethod:: get_border_rect .. automethod:: get_content_rect .. automethod:: get_global_coords .. automethod:: get_item_dimensions .. automethod:: get_metric_value .. automethod:: get_scope_delta_coords .. automethod:: handle_item_snap .. automethod:: has_default_value .. automethod:: move .. automethod:: on_abs_coord_changed .. automethod:: on_alignement_changed .. automethod:: on_dimension_bound_changed .. automethod:: on_dimension_changed .. automethod:: on_fixed_child_parent_coords_changed .. automethod:: on_flex_changed .. automethod:: on_flow_coord_changed .. automethod:: on_in_flow_changed .. automethod:: on_margin_changed .. automethod:: on_offset_changed .. automethod:: on_padding_changed .. automethod:: on_parent_changed .. automethod:: on_position_changed .. automethod:: on_publicationRect_coords_changed .. automethod:: on_publicationRect_dims_changed .. automethod:: on_publicationRefRect_coords_changed .. automethod:: on_publicationRefRect_dims_changed .. automethod:: on_snap_changed .. automethod:: parse_alignement .. automethod:: parse_boundedmetric .. automethod:: parse_flex .. automethod:: parse_metric .. automethod:: parse_position .. automethod:: parse_properties .. automethod:: parse_snap .. automethod:: place .. automethod:: post_control_boxmodel .. automethod:: re_initialise_rects .. automethod:: resize .. automethod:: set_metric_value .. automethod:: update_border_rect .. automethod:: update_content_rect .. automethod:: update_coord .. automethod:: update_core_metrics .. automethod:: update_dim .. automethod:: update_globalRect .. automethod:: update_inner_rects .. automethod:: update_pos_coords .. automethod:: update_publicationRect .. automethod:: update_publicationRefRect_coords .. automethod:: update_space