Widget_swap_children   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/gui.xtm

Implementation

(bind-func Widget_swap_children
  (lambda (widget)
    (if (Widget_leaf_p widget)
        (println "gui_flip_widgets: cannot flip leaf widgets")
        (let ((old_left (Widget_left_child widget)))
          ;; swap the child widgets
          (Widget_set_left_child widget (Widget_right_child widget))
          (Widget_set_right_child widget old_left)
          void))))


Back to Index

Similar Entries

  • Widget_button    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_button    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_button_c    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_cb    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_checkbox    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_checkbox    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_checkbox_c    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_child_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_find_inorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_find_postorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_find_preorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_free    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_id    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_internal_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_leaf_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_left_child    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_parent    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_parent_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_radio    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_radio    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_radio_c    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_right_child    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_cb    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_left_child    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_parent    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_right_child    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_set_type    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider2D    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider2D    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider2D_c    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_slider_c    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_horizontal_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_split_vertical_p    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_swap_split_orientation    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_type    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_type_add_flags    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_type_remove_flags    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_inorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_postorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_walk_preorder    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • Widget_with_cb    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • glfw_swap_buffers    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • gui_add_widget    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • gui_add_widget    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • gui_find_widget_with_id    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • swap    xtlang    /digego/extempore/tree/v0.8.9/libs/core/adt.xtm
  • swap_bytes_inplace    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • xtm_bone_add_children    xtlang    /digego/extempore/tree/v0.8.9/libs/external/assimp.xtm