summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_widget.eo
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-09-25 15:33:31 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-26 17:58:07 +0900
commite9dfcb44ffe370f6507d563f45676609bd93a41a (patch)
tree2f16541b4afde5d4a623bcdbe54a75fa4345b240 /src/lib/elementary/elm_widget.eo
parent839c4ed395f4aa20c3d8089bad828f2ebdc95a4b (diff)
widget: Implement translation API in layout
This moves the API entry points from Widget to Layout parts. I don't think the other widgets support translation, but that is easy to fix. The actual code implementation remains in elm_widget.c. Legacy-only widgets are covered by Part_Legacy, while all EO widgets that have text inherit from Layout (except Win but I don't think the window title was translatable in legacy). This removes 2/3 remaining part APIs from Widget. Ref T5363
Diffstat (limited to 'src/lib/elementary/elm_widget.eo')
-rw-r--r--src/lib/elementary/elm_widget.eo17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/elementary/elm_widget.eo b/src/lib/elementary/elm_widget.eo
index 123c8baecc..679b7beff0 100644
--- a/src/lib/elementary/elm_widget.eo
+++ b/src/lib/elementary/elm_widget.eo
@@ -296,23 +296,6 @@ abstract Elm.Widget (Efl.Canvas.Group, Elm.Interface.Atspi_Accessible,
296 translatable: bool; [[$true if translatable, $false otherwise]] 296 translatable: bool; [[$true if translatable, $false otherwise]]
297 } 297 }
298 } 298 }
299 translatable_part_text_get @const {
300 [[Get translatable part text]]
301 return: string; [[Part text]]
302 params {
303 @in part: string; [[Part name]]
304 }
305 }
306 @property domain_translatable_part_text {
307 [[Domain translatable text part property]]
308 set {
309 }
310 values {
311 part: string; [[Part name]]
312 domain: string; [[Domain name]]
313 label: string; [[Label]]
314 }
315 }
316 299
317 /* Internal hooks. */ 300 /* Internal hooks. */
318 widget_sub_object_add @protected { 301 widget_sub_object_add @protected {