= Python-Clutter development notes = [[PageOutline]] ModRana will in the future use Clutter as an alternative to the current non-accelerated GTK GUI. Unfortunately, the documentation to the Python bindings for Clutter is in a sad state. This page serves as a compilation of various Clutter & Python related development notes, with the hope to piece together some sort of documentation for the most needed elements :) '''NOTE: all of this information concerns Python bindings for Clutter 1.0''' also, see [http://www.modrana.org/pyclutter http://www.modrana.org/pyclutter] for the official incomplete documentation, taken from the Debian package. ===clutter GTK viewport methods=== {{{ __class__ __cmp__ __copy__ __deepcopy__ __delattr__ __dict__ __doc__ __format__ __gdoc__ __getattribute__ __gobject_init__ __grefcount__ __gtype__ __hash__ __init__ __iter__ __module__ __new__ __reduce__ __reduce_ex__ __repr__ __setattr__ __sizeof__ __str__ __subclasshook__ add allocate allocate_available_size allocate_preferred_size animate animate_with_alpha animate_with_timeline apply_relative_transform_to_point apply_transform_to_point chain child_get child_get_property child_set child_set_property connect connect_after connect_object connect_object_after create_pango_context create_pango_layout destroy disconnect disconnect_by_func do_add do_allocate do_apply_transform do_create_child_meta do_destroy do_destroy_child_meta do_foreach do_foreach_with_internals do_get_adjustment do_get_adjustments do_get_child_meta do_get_id do_get_preferred_height do_get_preferred_width do_hide_all do_lower_child do_map do_paint do_parent_set do_parse_custom_node do_pick do_queue_redraw do_raise_child do_realize do_remove do_set_adjustment do_set_adjustments do_set_custom_property do_set_id do_show do_show_all do_sort_depth_order do_unmap do_unrealize emit emit_stop_by_name event find_child_by_name foreach foreach_with_internals freeze_notify get_adjustment get_adjustments get_allocation_box get_allocation_geometry get_anchor_point get_anchor_point_gravity get_animation get_child_meta get_children get_clip get_data get_depth get_fixed_position_set get_flags get_geometry get_gid get_height get_id get_name get_opacity get_origin get_paint_opacity get_paint_visibility get_pango_context get_parent get_position get_preferred_height get_preferred_size get_preferred_width get_properties get_property get_reactive get_rotation get_scale get_scale_center get_scale_gravity get_shader get_size get_stage get_transformation_matrix get_transformed_position get_transformed_size get_width get_x get_y get_z_rotation_gravity grab_key_focus handler_block handler_block_by_func handler_disconnect handler_is_connected handler_unblock handler_unblock_by_func has_clip hide hide_all install_child_meta is_in_clone_paint is_rotated is_scaled lower_actor lower_bottom lower_child map move_anchor_point move_anchor_point_from_gravity move_by notify paint parse_custom_node props queue_redraw queue_relayout raise_actor raise_child raise_top realize remove remove_clip reparent set_adjustment set_adjustments set_anchor_point set_anchor_point_from_gravity set_clip set_custom_property set_data set_depth set_fixed_position_set set_flags set_geometry set_height set_id set_name set_opacity set_parent set_position set_properties set_property set_reactive set_rotation set_scale set_scale_full set_scale_with_gravity set_shader set_shader_param_float set_shader_param_int set_size set_width set_x set_y set_z_rotation_from_gravity should_pick_paint show show_all sort_depth_order stop_emission thaw_notify transform_stage_point unmap unparent unrealize unset_flags weak_ref }}}