summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_text_image_item_factory.eo
blob: 7911c839816e0f9d21f7d8672161d580f157bd0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
class Efl.Ui.Text.Image_Item_Factory (Efl.Object, Efl.Canvas.Text.Item_Factory)
{
   [[Factory that creates images given key string

     The key can be either a full image path, or associated with one. The
     factory will fallback if key was not matches with an image, and try
     to load it as a full path.

     @since 1.21
   ]]
   methods {
      matches_add {
         [[Associates given name with a filename of an image.

          This can be used for quick retrieval (instead of
          providing actual filenames.
         ]]
         params {
            name: string; [[the name associated with filename]]
            filename: string; [[the image filename]]
            key: string; [[the key to use (in cases of loading an EET file]]
         }
         return: bool;
      }
      matches_del {
         [[Associated given name with a filename of an image.

          This can be used for quick retrieval (instead of
          providing actual filenames.
         ]]
         params {
            key: string; [[the key to use (in cases of loading an EET file]]
         }
         return: bool;
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Canvas.Text.Item_Factory.create;
   }
}