summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_surface_x11.eo
blob: c5ed11e3cf44cedb436c4fc620b5a495fedd700a (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
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 (Eo.Base, 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; }
         values {
            visual: void_ptr; [[X11 Visual for this Pixmap.]]
            pixmap: ulong;  [[X11 Pixmap ID.]]
         }
      }
   }
   implements {
      Eo.Base.constructor;
      Eo.Base.destructor;
      Efl.Canvas.Surface.native_buffer.set;
   }
}