summaryrefslogtreecommitdiffstats
path: root/lib/efl/edje.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/edje.rb')
-rw-r--r--lib/efl/edje.rb44
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/efl/edje.rb b/lib/efl/edje.rb
index cd062ff..4a2c4d9 100644
--- a/lib/efl/edje.rb
+++ b/lib/efl/edje.rb
@@ -1,14 +1,58 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
+require 'efl/evas'
require 'efl/ffi/edje'
#
module Efl
#
module Edje
#
+ class REdje < Efl::Evas::REvasObject
+ #
+ proxy_list [Efl::Edje,'edje_object_'].freeze
+ def part_object_get part
+ # EAPI const Evas_Object *edje_object_part_object_get (const Evas_Object *obj, const char *part);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_object_get @ptr, part
+ end
+ def part_swallow_get part
+ # EAPI Evas_Object *edje_object_part_swallow_get (const Evas_Object *obj, const char *part);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_swallow_get @ptr, part
+ end
+ def external_object_get part
+ # EAPI Evas_Object *edje_object_part_external_object_get (const Evas_Object *obj, const char *part);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_external_object_get @ptr, part
+ end
+ def external_content_get part, content
+ # EAPI Evas_Object *edje_object_part_external_content_get (const Evas_Object *obj, const char *part, const char *content);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_external_content_get @ptr, part, content
+ end
+ def part_box_remove part, child
+ # EAPI Evas_Object *edje_object_part_box_remove (Evas_Object *obj, const char *part, Evas_Object *child);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_box_remove @ptr, part, child
+ end
+ def part_box_remove_at part, pos
+ # EAPI Evas_Object *edje_object_part_box_remove_at (Evas_Object *obj, const char *part, unsigned int pos);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_box_remove_at @ptr, part, pos
+ end
+ def part_child_get part, col, row
+ # EAPI Evas_Object *edje_object_part_table_child_get (Evas_Object *obj, const char *part, unsigned int col, unsigned int row);
+ Efl::Evas::RevasObject.new Efl::Edje.edje_object_part_child_get @ptr, part, col, row
+ end
+ end
+ #
end
#
+ module Evas
+ #
+ class REvas
+ def edje_object_add
+ # EAPI Evas_Object *edje_object_add (Evas *evas);
+ Efl::Edje::REdje.new Efl::Edje.edje_object_add @ptr
+ end
+ end
+ #
+ end
end
#
# EOF