|
Etk_Bin
Detailed Description
The Etk_Bin widget is a container that can contain only one child.
The Etk_Bin widget is mainly used as a base class for containers that only have one child (such as Etk_Alignment, Etk_Window, Etk_Frame...).
- Object Hierarchy:
-
- Properties:
- "child": The child of the bin.
Type: Pointer (Etk_Widget *)Access: Read/WriteDefault Value: NULL
Define Documentation
#define ETK_BIN_TYPE (etk_bin_type_get()) |
#define ETK_BIN |
( |
obj |
|
) |
(ETK_OBJECT_CAST((obj), ETK_BIN_TYPE, Etk_Bin)) |
#define ETK_IS_BIN |
( |
obj |
|
) |
(ETK_OBJECT_CHECK_TYPE((obj), ETK_BIN_TYPE)) |
Function Documentation
Sets the child of the bin.
- Parameters:
-
| bin | a bin |
| child | the widget to add to the bin |
Gets the child of the bin.
- Parameters:
-
- Returns:
- Returns the child of the bin or NULL if it doesn't have a child
|
|