From c506f5f078b6abc789602603c481168575cf7260 Mon Sep 17 00:00:00 2001
authorMartin Jansa <Martin.Jansa@gmail.com>
Fri, 3 Feb 2012 07:32:40 +0000 (07:32 +0000)
committerJihoon Kim <imfine98@gmail.com>
Fri, 3 Feb 2012 07:32:40 +0000 (07:32 +0000)
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Thu, 2 Feb 2012 20:04:51 +0100
Subject: [PATCH] elm_entry: add missing elm_entry_input_panel_enabled_get

* it was in elm_entry.h but without implementation

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
SVN revision: 67693

src/lib/elm_entry.c

index a4d117c..a44bb4c 100644 (file)
@@ -3487,3 +3487,13 @@ elm_entry_input_panel_enabled_set(Evas_Object *obj, Eina_Bool enabled)
    edje_object_part_text_input_panel_enabled_set(wd->ent, "elm.text", enabled);
 }
 
+EAPI Eina_Bool
+elm_entry_input_panel_enabled_get(Evas_Object *obj)
+{
+   ELM_CHECK_WIDTYPE(obj, widtype) EINA_TRUE;
+   Widget_Data *wd = elm_widget_data_get(obj);
+   if (!wd) return EINA_TRUE;
+
+   return wd->input_panel_enable;
+}
+