summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_surface_x11.eo
blob: 6f4744d123fd71c7126a23a5c06342720c7c82af (plain)
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; }
   }
}