| 1 | = Python-Clutter development notes = |
| 2 | 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 :) |
| 3 | |
| 4 | '''NOTE: all of this information concerns Python bindings for Clutter 1.0''' |
| 5 | |
| 6 | also, see [http://www.modrana.org/pyclutter http://www.modrana.org/pyclutter] for the official incomplete documentation, taken from the Debian package. |
| 7 | |
| 8 | '''clutter GTK viewport methods''' |
| 9 | |
| 10 | __class__ |
| 11 | __cmp__ |
| 12 | __copy__ |
| 13 | __deepcopy__ |
| 14 | __delattr__ |
| 15 | __dict__ |
| 16 | __doc__ |
| 17 | __format__ |
| 18 | __gdoc__ |
| 19 | __getattribute__ |
| 20 | __gobject_init__ |
| 21 | __grefcount__ |
| 22 | __gtype__ |
| 23 | __hash__ |
| 24 | __init__ |
| 25 | __iter__ |
| 26 | __module__ |
| 27 | __new__ |
| 28 | __reduce__ |
| 29 | __reduce_ex__ |
| 30 | __repr__ |
| 31 | __setattr__ |
| 32 | __sizeof__ |
| 33 | __str__ |
| 34 | __subclasshook__ |
| 35 | add |
| 36 | allocate |
| 37 | allocate_available_size |
| 38 | allocate_preferred_size |
| 39 | animate |
| 40 | animate_with_alpha |
| 41 | animate_with_timeline |
| 42 | apply_relative_transform_to_point |
| 43 | apply_transform_to_point |
| 44 | chain |
| 45 | child_get |
| 46 | child_get_property |
| 47 | child_set |
| 48 | child_set_property |
| 49 | connect |
| 50 | connect_after |
| 51 | connect_object |
| 52 | connect_object_after |
| 53 | create_pango_context |
| 54 | create_pango_layout |
| 55 | destroy |
| 56 | disconnect |
| 57 | disconnect_by_func |
| 58 | do_add |
| 59 | do_allocate |
| 60 | do_apply_transform |
| 61 | do_create_child_meta |
| 62 | do_destroy |
| 63 | do_destroy_child_meta |
| 64 | do_foreach |
| 65 | do_foreach_with_internals |
| 66 | do_get_adjustment |
| 67 | do_get_adjustments |
| 68 | do_get_child_meta |
| 69 | do_get_id |
| 70 | do_get_preferred_height |
| 71 | do_get_preferred_width |
| 72 | do_hide_all |
| 73 | do_lower_child |
| 74 | do_map |
| 75 | do_paint |
| 76 | do_parent_set |
| 77 | do_parse_custom_node |
| 78 | do_pick |
| 79 | do_queue_redraw |
| 80 | do_raise_child |
| 81 | do_realize |
| 82 | do_remove |
| 83 | do_set_adjustment |
| 84 | do_set_adjustments |
| 85 | do_set_custom_property |
| 86 | do_set_id |
| 87 | do_show |
| 88 | do_show_all |
| 89 | do_sort_depth_order |
| 90 | do_unmap |
| 91 | do_unrealize |
| 92 | emit |
| 93 | emit_stop_by_name |
| 94 | event |
| 95 | find_child_by_name |
| 96 | foreach |
| 97 | foreach_with_internals |
| 98 | freeze_notify |
| 99 | get_adjustment |
| 100 | get_adjustments |
| 101 | get_allocation_box |
| 102 | get_allocation_geometry |
| 103 | get_anchor_point |
| 104 | get_anchor_point_gravity |
| 105 | get_animation |
| 106 | get_child_meta |
| 107 | get_children |
| 108 | get_clip |
| 109 | get_data |
| 110 | get_depth |
| 111 | get_fixed_position_set |
| 112 | get_flags |
| 113 | get_geometry |
| 114 | get_gid |
| 115 | get_height |
| 116 | get_id |
| 117 | get_name |
| 118 | get_opacity |
| 119 | get_origin |
| 120 | get_paint_opacity |
| 121 | get_paint_visibility |
| 122 | get_pango_context |
| 123 | get_parent |
| 124 | get_position |
| 125 | get_preferred_height |
| 126 | get_preferred_size |
| 127 | get_preferred_width |
| 128 | get_properties |
| 129 | get_property |
| 130 | get_reactive |
| 131 | get_rotation |
| 132 | get_scale |
| 133 | get_scale_center |
| 134 | get_scale_gravity |
| 135 | get_shader |
| 136 | get_size |
| 137 | get_stage |
| 138 | get_transformation_matrix |
| 139 | get_transformed_position |
| 140 | get_transformed_size |
| 141 | get_width |
| 142 | get_x |
| 143 | get_y |
| 144 | get_z_rotation_gravity |
| 145 | grab_key_focus |
| 146 | handler_block |
| 147 | handler_block_by_func |
| 148 | handler_disconnect |
| 149 | handler_is_connected |
| 150 | handler_unblock |
| 151 | handler_unblock_by_func |
| 152 | has_clip |
| 153 | hide |
| 154 | hide_all |
| 155 | install_child_meta |
| 156 | is_in_clone_paint |
| 157 | is_rotated |
| 158 | is_scaled |
| 159 | lower_actor |
| 160 | lower_bottom |
| 161 | lower_child |
| 162 | map |
| 163 | move_anchor_point |
| 164 | move_anchor_point_from_gravity |
| 165 | move_by |
| 166 | notify |
| 167 | paint |
| 168 | parse_custom_node |
| 169 | props |
| 170 | queue_redraw |
| 171 | queue_relayout |
| 172 | raise_actor |
| 173 | raise_child |
| 174 | raise_top |
| 175 | realize |
| 176 | remove |
| 177 | remove_clip |
| 178 | reparent |
| 179 | set_adjustment |
| 180 | set_adjustments |
| 181 | set_anchor_point |
| 182 | set_anchor_point_from_gravity |
| 183 | set_clip |
| 184 | set_custom_property |
| 185 | set_data |
| 186 | set_depth |
| 187 | set_fixed_position_set |
| 188 | set_flags |
| 189 | set_geometry |
| 190 | set_height |
| 191 | set_id |
| 192 | set_name |
| 193 | set_opacity |
| 194 | set_parent |
| 195 | set_position |
| 196 | set_properties |
| 197 | set_property |
| 198 | set_reactive |
| 199 | set_rotation |
| 200 | set_scale |
| 201 | set_scale_full |
| 202 | set_scale_with_gravity |
| 203 | set_shader |
| 204 | set_shader_param_float |
| 205 | set_shader_param_int |
| 206 | set_size |
| 207 | set_width |
| 208 | set_x |
| 209 | set_y |
| 210 | set_z_rotation_from_gravity |
| 211 | should_pick_paint |
| 212 | show |
| 213 | show_all |
| 214 | sort_depth_order |
| 215 | stop_emission |
| 216 | thaw_notify |
| 217 | transform_stage_point |
| 218 | unmap |
| 219 | unparent |
| 220 | unrealize |
| 221 | unset_flags |
| 222 | weak_ref |