summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_app.eo
blob: d7117ba093679fd7e544d3c4be17032209cd245a (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
43
44
45
46
47
48
49
50
51
52
import efl_types;

abstract Efl.App extends Efl.Loop implements Efl.Core.Command_Line
{
   [[Object representing the application itself]]
   data: null;
   methods {
      @property app_main @class {
         [[ Returns the app object that is representing this process

            Note: This function call only works in the main loop thread of the process.
         ]]
         get {}
         values {
            app : Efl.App; [[Application for this process]]
         }
      }
      @property build_efl_version {
         [[ Indicates the version of EFL with which this application was
            compiled against/for.

           This might differ from @.efl_version.
         ]]
         get {}
         values {
            @cref version: Efl.Version; [[Efl build version]]
         }
      }
      @property efl_version {
         [[ Indicates the currently running version of EFL.

           This might differ from @.build_efl_version.
         ]]
         get {}
         values {
            @cref version: Efl.Version; [[Efl version]]
         }
      }
   }
   events {
      pause: void; [[Called when the application is not going be displayed or otherwise used by a user for some time]]
      resume: void; [[Called before a window is rendered after a pause event]]
      standby: void; [[Called when the application's windows are all destroyed]]
      terminate: void; [[Called before starting the shutdown of the application]]
      signal,usr1: void; [[System specific, but on unix maps to SIGUSR1 signal to the process - only called on main loop object]]
      signal,usr2: void; [[System specific, but on unix maps to SIGUSR2 signal to the process - only called on main loop object]]
      signal,hup: void; [[System specific, but on unix maps to SIGHUP signal to the process - only called on main loop object]]
   }
   implements {
      Efl.Task.priority { get; set; }
   }
}