aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/efl_canvas_surface_x11.eo
blob: 2da2e39044c3b5196cd2605b8f503a7d03908f5e (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
struct Efl.Canvas.Surface.X11_Pixmap
{
   [[The type used by @Efl.Canvas.Surface.native_buffer.]]
   visual: void_ptr; [[X11 Visual for this Pixmap.]]
   pixmap: ulong;  [[X11 Pixmap ID.]]
}

class Efl.Canvas.Surface.X11 (Efl.Object, Efl.Canvas.Surface)
{
   [[Native X11 surface for Efl canvas]]

   methods {
      @property pixmap {
         [[This is a helper for @Efl.Canvas.Surface.native_buffer.]]
         get {}
         set {
            return: bool; [[$true on success, $false otherwise]]
         }
         values {
            visual: void_ptr; [[X11 Visual for this Pixmap.]]
            pixmap: ulong;  [[X11 Pixmap ID.]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Object.destructor;
      Efl.Canvas.Surface.native_buffer { set; }
   }
}