Class Table
Definition
- Namespace:
- ElmSharp
- Assembly:
- ElmSharp.dll
The Table is a container widget to arrange other widgets in a table where items can span multiple columns or rows. Inherits Container.
[Obsolete("This has been deprecated in API12")]
public class Table : Container, IAccessibleObject
- Inheritance
- Implements
Constructors
View SourceTable(EvasObject)
Creates and initializes a new instance of the Table class.
Declaration
[Obsolete("This has been deprecated in API12")]
public Table(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | A EvasObject to which the new Table instance will be attached. |
Properties
View SourceHomogeneous
Sets or gets whether the layout of this table is homogeneous.
Declaration
[Obsolete("This has been deprecated in API12")]
public bool Homogeneous { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
True for homogeneous, False for no homogeneous.
PaddingX
Sets or gets the horizontal padding between the cells.
Declaration
[Obsolete("This has been deprecated in API12")]
public int PaddingX { get; set; }
Property Value
Type | Description |
---|---|
int |
PaddingY
Sets or gets the vertical padding between the cells.
Declaration
[Obsolete("This has been deprecated in API12")]
public int PaddingY { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceClear()
Removes all the child objects from a table object.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Clear()
CreateHandle(EvasObject)
Creates a widget handle.
Declaration
[Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | parent | Parent EvasObject. |
Returns
Type | Description |
---|---|
System.IntPtr | Handle IntPtr. |
Overrides
View SourceGetPartColor(string)
Gets the color of a particular part of the table.
Declaration
[Obsolete("This has been deprecated in API12")]
public override Color GetPartColor(string part)
Parameters
Type | Name | Description |
---|---|---|
string | part | The name of part class, it could be 'bg', 'elm.swllow.content'. |
Returns
Type | Description |
---|---|
Color | The color of a particular part. |
Overrides
View SourcePack(EvasObject, int, int, int, int)
Adds a subobject on the table with the coordinates passed.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Pack(EvasObject obj, int col, int row, int colspan, int rowspan)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The subobject to be added to the table. |
int | col | The column number. |
int | row | The row number. |
int | colspan | The column span. |
int | rowspan | The row span. |
SetPartColor(string, Color)
Sets the color for a particular part of the table.
Declaration
[Obsolete("This has been deprecated in API12")]
public override void SetPartColor(string part, Color color)
Parameters
Type | Name | Description |
---|---|---|
string | part | The name of part class. |
Color | color | The color. |
Overrides
View SourceUnpack(EvasObject)
Removes the child from the table.
Declaration
[Obsolete("This has been deprecated in API12")]
public void Unpack(EvasObject obj)
Parameters
Type | Name | Description |
---|---|---|
EvasObject | obj | The subobject. |