2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 public class Table : Container
26 public Table(EvasObject parent) : base(parent)
30 public bool Homogeneous
34 return Interop.Elementary.elm_table_homogeneous_get(Handle);
38 Interop.Elementary.elm_table_homogeneous_set(Handle, value);
51 Interop.Elementary.elm_table_padding_set(Handle, _paddingX, _paddingY);
64 Interop.Elementary.elm_table_padding_set(Handle, _paddingX, _paddingY);
68 public void Pack(EvasObject obj, int col, int row, int colspan, int rowspan)
71 throw new ArgumentNullException("obj");
72 Interop.Elementary.elm_table_pack(Handle, obj, col, row, colspan, rowspan);
76 public void Unpack(EvasObject obj)
79 throw new ArgumentNullException("obj");
80 Interop.Elementary.elm_table_unpack(Handle, obj);
86 Interop.Elementary.elm_table_clear(Handle, false);
90 protected override IntPtr CreateHandle(EvasObject parent)
92 return Interop.Elementary.elm_table_add(parent);