Advertisement
Guest User

Untitled

a guest
Nov 4th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "name": "elm_genlist",
  3.   "macro": "ELM_OBJ_GENLIST_CLASS",
  4.   "inherits": [
  5.     "elm_layout",
  6.     "elm_interface_scrollable",
  7.     "Clickable_Interface"
  8.   ],
  9.   "constructors": {},
  10.   "properties": {
  11.     "homogeneous": {
  12.       "comment_set": "Enable/disable homogeneous mode.",
  13.       "comment_get": "Get whether the homogeneous mode is enabled.",
  14.       "parameters": [
  15.         [
  16.           "",
  17.           "Eina_Bool",
  18.           "homogeneous",
  19.           ""
  20.         ]
  21.       ]
  22.     },
  23.     "select_mode": {
  24.       "comment_set": "Set the genlist select mode.",
  25.       "comment_get": "Get the genlist select mode.",
  26.       "parameters": [
  27.         [
  28.           "",
  29.           "Elm_Object_Select_Mode",
  30.           "mode",
  31.           ""
  32.         ]
  33.       ]
  34.     },
  35.     "focus_on_selection": {
  36.       "comment_set": "Set focus to a first from left focusable widget upon item selection.",
  37.       "comment_get": "Get whether the focus will be set to a widget on an item upon it's selection.",
  38.       "parameters": [
  39.         [
  40.           "",
  41.           "Eina_Bool",
  42.           "enabled",
  43.           ""
  44.         ]
  45.       ]
  46.     },
  47.     "longpress_timeout": {
  48.       "comment_set": "Set the timeout in seconds for the longpress event.",
  49.       "comment_get": "Get the timeout in seconds for the longpress event.",
  50.       "parameters": [
  51.         [
  52.           "",
  53.           "double",
  54.           "timeout",
  55.           ""
  56.         ]
  57.       ]
  58.     },
  59.     "multi_select": {
  60.       "comment_set": "Enable or disable multi-selection in the genlist",
  61.       "comment_get": "Get if multi-selection in genlist is enabled or disabled.",
  62.       "parameters": [
  63.         [
  64.           "",
  65.           "Eina_Bool",
  66.           "multi",
  67.           ""
  68.         ]
  69.       ]
  70.     },
  71.     "reorder_mode": {
  72.       "comment_set": "Set reorder mode",
  73.       "comment_get": "Get the reorder mode",
  74.       "parameters": [
  75.         [
  76.           "",
  77.           "Eina_Bool",
  78.           "reorder_mode",
  79.           ""
  80.         ]
  81.       ]
  82.     },
  83.     "decorate_mode": {
  84.       "comment_set": "Set Genlist decorate mode",
  85.       "comment_get": "Get Genlist decorate mode",
  86.       "parameters": [
  87.         [
  88.           "",
  89.           "Eina_Bool",
  90.           "decorated",
  91.           ""
  92.         ]
  93.       ]
  94.     },
  95.     "multi_select_mode": {
  96.       "comment_set": "Set the genlist multi select mode. - ELM_OBJECT_MULTI_SELECT_MODE_DEFAULT : select/unselect items whenever each item is clicked. - ELM_OBJECT_MULTI_SELECT_MODE_WITH_CONTROL : Only one item will be selected although multi-selection is enabled, if clicked without pressing control key. This mode is only available with multi-selection.",
  97.       "comment_get": "Get the genlist multi select mode. (If getting mode is failed, it returns ELM_OBJECT_MULTI_SELECT_MODE_MAX)",
  98.       "parameters": [
  99.         [
  100.           "",
  101.           "Elm_Object_Multi_Select_Mode",
  102.           "mode",
  103.           ""
  104.         ]
  105.       ]
  106.     },
  107.     "block_count": {
  108.       "comment_set": "Set the maximum number of items within an item block",
  109.       "comment_get": "Get the maximum number of items within an item block",
  110.       "parameters": [
  111.         [
  112.           "",
  113.           "int",
  114.           "count",
  115.           ""
  116.         ]
  117.       ]
  118.     },
  119.     "tree_effect_enabled": {
  120.       "comment_set": "Set Genlist tree effect",
  121.       "comment_get": "Get Genlist tree effect",
  122.       "parameters": [
  123.         [
  124.           "",
  125.           "Eina_Bool",
  126.           "enabled",
  127.           ""
  128.         ]
  129.       ]
  130.     },
  131.     "highlight_mode": {
  132.       "comment_set": "Set whether the genlist items' should be highlighted when item selected.",
  133.       "comment_get": "Get whether the genlist items' should be highlighted when item selected.",
  134.       "parameters": [
  135.         [
  136.           "",
  137.           "Eina_Bool",
  138.           "highlight",
  139.           ""
  140.         ]
  141.       ]
  142.     },
  143.     "mode": {
  144.       "comment_set": "This sets the horizontal stretching mode.",
  145.       "comment_get": "Get the horizontal stretching mode.",
  146.       "parameters": [
  147.         [
  148.           "",
  149.           "Elm_List_Mode",
  150.           "mode",
  151.           ""
  152.         ]
  153.       ]
  154.     },
  155.     "decorated_item": {
  156.       "comment": "Get active genlist mode item",
  157.       "type": "ro",
  158.       "parameters": [
  159.         [
  160.           "",
  161.           "Elm_Object_Item*",
  162.           "ret",
  163.           ""
  164.         ]
  165.       ]
  166.     },
  167.     "selected_item": {
  168.       "comment": "Get the selected item in the genlist.",
  169.       "type": "ro",
  170.       "parameters": [
  171.         [
  172.           "",
  173.           "Elm_Object_Item*",
  174.           "ret",
  175.           ""
  176.         ]
  177.       ]
  178.     },
  179.     "first_item": {
  180.       "comment": "Get the first item in the genlist",
  181.       "type": "ro",
  182.       "parameters": [
  183.         [
  184.           "",
  185.           "Elm_Object_Item*",
  186.           "ret",
  187.           ""
  188.         ]
  189.       ]
  190.     },
  191.     "realized_items": {
  192.       "comment": "Get a list of realized items in genlist",
  193.       "type": "ro",
  194.       "parameters": [
  195.         [
  196.           "",
  197.           "Eina_List*",
  198.           "ret",
  199.           ""
  200.         ]
  201.       ]
  202.     },
  203.     "selected_items": {
  204.       "comment": "Get a list of selected items in the genlist.",
  205.       "type": "ro",
  206.       "parameters": [
  207.         [
  208.           "const",
  209.           "Eina_List*",
  210.           "ret",
  211.           ""
  212.         ]
  213.       ]
  214.     },
  215.     "last_item": {
  216.       "comment": "Get the last item in the genlist",
  217.       "type": "ro",
  218.       "parameters": [
  219.         [
  220.           "",
  221.           "Elm_Object_Item*",
  222.           "ret",
  223.           ""
  224.         ]
  225.       ]
  226.     }
  227.   },
  228.   "methods": {
  229.     "item_insert_before": {
  230.       "comment": "Insert an item before another in a genlist widget",
  231.       "parameters": [
  232.         [
  233.           "in",
  234.           "const",
  235.           "Elm_Genlist_Item_Class*",
  236.           "itc",
  237.           ""
  238.         ],
  239.         [
  240.           "in",
  241.           "const",
  242.           "void*",
  243.           "data",
  244.           ""
  245.         ],
  246.         [
  247.           "in",
  248.           "",
  249.           "Elm_Object_Item*",
  250.           "parent",
  251.           ""
  252.         ],
  253.         [
  254.           "in",
  255.           "",
  256.           "Elm_Object_Item*",
  257.           "before_it",
  258.           ""
  259.         ],
  260.         [
  261.           "in",
  262.           "",
  263.           "Elm_Genlist_Item_Type",
  264.           "type",
  265.           ""
  266.         ],
  267.         [
  268.           "in",
  269.           "",
  270.           "Evas_Smart_Cb",
  271.           "func",
  272.           ""
  273.         ],
  274.         [
  275.           "in",
  276.           "const",
  277.           "void*",
  278.           "func_data",
  279.           ""
  280.         ],
  281.         [
  282.           "out",
  283.           "",
  284.           "Elm_Object_Item*",
  285.           "ret",
  286.           ""
  287.         ]
  288.       ]
  289.     },
  290.     "realized_items_update": {
  291.       "comment": "Update the contents of all realized items.",
  292.       "parameters": []
  293.     },
  294.     "item_insert_after": {
  295.       "comment": "Insert an item after another in a genlist widget",
  296.       "parameters": [
  297.         [
  298.           "in",
  299.           "const",
  300.           "Elm_Genlist_Item_Class*",
  301.           "itc",
  302.           ""
  303.         ],
  304.         [
  305.           "in",
  306.           "const",
  307.           "void*",
  308.           "data",
  309.           ""
  310.         ],
  311.         [
  312.           "in",
  313.           "",
  314.           "Elm_Object_Item*",
  315.           "parent",
  316.           ""
  317.         ],
  318.         [
  319.           "in",
  320.           "",
  321.           "Elm_Object_Item*",
  322.           "after_it",
  323.           ""
  324.         ],
  325.         [
  326.           "in",
  327.           "",
  328.           "Elm_Genlist_Item_Type",
  329.           "type",
  330.           ""
  331.         ],
  332.         [
  333.           "in",
  334.           "",
  335.           "Evas_Smart_Cb",
  336.           "func",
  337.           ""
  338.         ],
  339.         [
  340.           "in",
  341.           "const",
  342.           "void*",
  343.           "func_data",
  344.           ""
  345.         ],
  346.         [
  347.           "out",
  348.           "",
  349.           "Elm_Object_Item*",
  350.           "ret",
  351.           ""
  352.         ]
  353.       ]
  354.     },
  355.     "at_xy_item_get": {
  356.       "comment": "Get the item that is at the x, y canvas coords.",
  357.       "parameters": [
  358.         [
  359.           "in",
  360.           "",
  361.           "Evas_Coord",
  362.           "x",
  363.           ""
  364.         ],
  365.         [
  366.           "in",
  367.           "",
  368.           "Evas_Coord",
  369.           "y",
  370.           ""
  371.         ],
  372.         [
  373.           "out",
  374.           "",
  375.           "int",
  376.           "posret",
  377.           ""
  378.         ],
  379.         [
  380.           "out",
  381.           "",
  382.           "Elm_Object_Item*",
  383.           "ret",
  384.           ""
  385.         ]
  386.       ]
  387.     },
  388.     "items_count": {
  389.       "comment": "Return how many items are currently in a list",
  390.       "parameters": [
  391.         [
  392.           "out",
  393.           "",
  394.           "unsigned int",
  395.           "ret",
  396.           ""
  397.         ]
  398.       ]
  399.     },
  400.     "item_prepend": {
  401.       "comment": "Prepend a new item in a given genlist widget.",
  402.       "parameters": [
  403.         [
  404.           "in",
  405.           "const",
  406.           "Elm_Genlist_Item_Class*",
  407.           "itc",
  408.           ""
  409.         ],
  410.         [
  411.           "in",
  412.           "const",
  413.           "void*",
  414.           "data",
  415.           ""
  416.         ],
  417.         [
  418.           "in",
  419.           "",
  420.           "Elm_Object_Item*",
  421.           "parent",
  422.           ""
  423.         ],
  424.         [
  425.           "in",
  426.           "",
  427.           "Elm_Genlist_Item_Type",
  428.           "type",
  429.           ""
  430.         ],
  431.         [
  432.           "in",
  433.           "",
  434.           "Evas_Smart_Cb",
  435.           "func",
  436.           ""
  437.         ],
  438.         [
  439.           "in",
  440.           "const",
  441.           "void*",
  442.           "func_data",
  443.           ""
  444.         ],
  445.         [
  446.           "out",
  447.           "",
  448.           "Elm_Object_Item*",
  449.           "ret",
  450.           ""
  451.         ]
  452.       ]
  453.     },
  454.     "clear": {
  455.       "comment": "Remove all items from a given genlist widget.",
  456.       "parameters": []
  457.     },
  458.     "item_append": {
  459.       "comment": "Append a new item in a given genlist widget.",
  460.       "parameters": [
  461.         [
  462.           "in",
  463.           "const",
  464.           "Elm_Genlist_Item_Class*",
  465.           "itc",
  466.           ""
  467.         ],
  468.         [
  469.           "in",
  470.           "const",
  471.           "void*",
  472.           "data",
  473.           ""
  474.         ],
  475.         [
  476.           "in",
  477.           "",
  478.           "Elm_Object_Item*",
  479.           "parent",
  480.           ""
  481.         ],
  482.         [
  483.           "in",
  484.           "",
  485.           "Elm_Genlist_Item_Type",
  486.           "type",
  487.           ""
  488.         ],
  489.         [
  490.           "in",
  491.           "",
  492.           "Evas_Smart_Cb",
  493.           "func",
  494.           ""
  495.         ],
  496.         [
  497.           "in",
  498.           "const",
  499.           "void*",
  500.           "func_data",
  501.           ""
  502.         ],
  503.         [
  504.           "out",
  505.           "",
  506.           "Elm_Object_Item*",
  507.           "ret",
  508.           ""
  509.         ]
  510.       ]
  511.     },
  512.     "item_sorted_insert": {
  513.       "comment": "Insert a new item into the sorted genlist object",
  514.       "parameters": [
  515.         [
  516.           "in",
  517.           "const",
  518.           "Elm_Genlist_Item_Class*",
  519.           "itc",
  520.           ""
  521.         ],
  522.         [
  523.           "in",
  524.           "const",
  525.           "void*",
  526.           "data",
  527.           ""
  528.         ],
  529.         [
  530.           "in",
  531.           "",
  532.           "Elm_Object_Item*",
  533.           "parent",
  534.           ""
  535.         ],
  536.         [
  537.           "in",
  538.           "",
  539.           "Elm_Genlist_Item_Type",
  540.           "type",
  541.           ""
  542.         ],
  543.         [
  544.           "in",
  545.           "",
  546.           "Eina_Compare_Cb",
  547.           "comp",
  548.           ""
  549.         ],
  550.         [
  551.           "in",
  552.           "",
  553.           "Evas_Smart_Cb",
  554.           "func",
  555.           ""
  556.         ],
  557.         [
  558.           "in",
  559.           "const",
  560.           "void*",
  561.           "func_data",
  562.           ""
  563.         ],
  564.         [
  565.           "out",
  566.           "",
  567.           "Elm_Object_Item*",
  568.           "ret",
  569.           ""
  570.         ]
  571.       ]
  572.     }
  573.   },
  574.   "implements": [
  575.     [
  576.       "elm_interface_scrollable",
  577.       "policy",
  578.       "set_get"
  579.     ],
  580.     [
  581.       "elm_widget",
  582.       "theme",
  583.       "method"
  584.     ],
  585.     [
  586.       "elm_widget",
  587.       "event",
  588.       "method"
  589.     ],
  590.     [
  591.       "elm_widget",
  592.       "focus_next",
  593.       "method"
  594.     ],
  595.     [
  596.       "elm_widget",
  597.       "access",
  598.       "method"
  599.     ],
  600.     [
  601.       "elm_widget",
  602.       "sub_object_del",
  603.       "method"
  604.     ],
  605.     [
  606.       "Evas_Object_Smart",
  607.       "resize",
  608.       "method"
  609.     ],
  610.     [
  611.       "Evas_Object_Smart",
  612.       "member_add",
  613.       "method"
  614.     ],
  615.     [
  616.       "elm_layout",
  617.       "sub_object_add_enable",
  618.       "method"
  619.     ],
  620.     [
  621.       "elm_layout",
  622.       "sizing_eval",
  623.       "method"
  624.     ],
  625.     [
  626.       "Evas_Object_Smart",
  627.       "del",
  628.       "method"
  629.     ],
  630.     [
  631.       "elm_widget",
  632.       "sub_object_add",
  633.       "method"
  634.     ],
  635.     [
  636.       "elm_widget",
  637.       "translate",
  638.       "method"
  639.     ],
  640.     [
  641.       "elm_widget",
  642.       "on_focus",
  643.       "method"
  644.     ],
  645.     [
  646.       "elm_widget",
  647.       "focus_next_manager_is",
  648.       "method"
  649.     ],
  650.     [
  651.       "elm_widget",
  652.       "focus_direction_manager_is",
  653.       "method"
  654.     ],
  655.     [
  656.       "Eo Base",
  657.       "constructor",
  658.       "method"
  659.     ],
  660.     [
  661.       "Evas_Object_Smart",
  662.       "add",
  663.       "method"
  664.     ],
  665.     [
  666.       "elm_interface_scrollable",
  667.       "policy",
  668.       "set_get"
  669.     ],
  670.     [
  671.       "elm_interface_scrollable",
  672.       "bounce_allow",
  673.       "set_get"
  674.     ],
  675.     [
  676.       "Evas_Object_Smart",
  677.       "move",
  678.       "method"
  679.     ],
  680.     [
  681.       "elm_interface_scrollable",
  682.       "bounce_allow",
  683.       "set_get"
  684.     ]
  685.   ],
  686.   "old_styled_signals": [
  687.     [
  688.       "focused",
  689.       ""
  690.     ],
  691.     [
  692.       "unfocused",
  693.       ""
  694.     ]
  695.   ]
  696. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement