Cell
This page has been automatically translated using the Google Translate API services. We are working on improving texts. Thank you for your understanding and patience.
Functions
Label* | cell_label (...) |
Button* | cell_button (...) |
PopUp* | cell_popup (...) |
Edit* | cell_edit (...) |
Combo* | cell_combo (...) |
ListBox* | cell_listbox (...) |
UpDown* | cell_updown (...) |
Slider* | cell_slider (...) |
Progress* | cell_progress (...) |
View* | cell_view (...) |
TextView* | cell_textview (...) |
ImageView* | cell_imageview (...) |
TableView* | cell_tableview (...) |
SplitView* | cell_splitview (...) |
Panel* | cell_panel (...) |
Layout* | cell_layout (...) |
void | cell_enabled (...) |
void | cell_visible (...) |
void | cell_focus (...) |
void | cell_padding (...) |
void | cell_padding2 (...) |
void | cell_padding4 (...) |
void | cell_dbind (...) |
Cells are the inner elements of a Layout and will house a control or a (Figure 1) sublayout.
- Use layout_cell to get the cell.
- Use cell_button to get the control inside.
- Use cell_layout to get the inner sublayout.
- Use cell_enabled to enable or disable the controls.
- Use cell_visible to show and hide the content.
- Use cell_focus to assign keyboard focus.
- Use cell_padding to set the (Figure 2) padding.
cell_label ()
Get the label inside the cell.
Label* cell_label(Cell *cell);
cell | The cell. |
Return
The control.
cell_button ()
Get the button inside the cell.
Button* cell_button(Cell *cell);
cell | The cell. |
Return
The control.
cell_popup ()
Get the popup inside the cell.
PopUp* cell_popup(Cell *cell);
cell | The cell. |
Return
The control.
cell_edit ()
Get the edit inside the cell.
Edit* cell_edit(Cell *cell);
cell | The cell. |
Return
The control.
cell_combo ()
Get the combo inside the cell.
Combo* cell_combo(Cell *cell);
cell | The cell. |
Return
The control.
cell_listbox ()
Get the listbox inside the cell.
ListBox* cell_listbox(Cell *cell);
cell | The cell. |
Return
The control.
cell_updown ()
Get the updown inside the cell.
UpDown* cell_updown(Cell *cell);
cell | The cell. |
Return
The control.
cell_slider ()
Get the slider inside the cell.
Slider* cell_slider(Cell *cell);
cell | The cell. |
Return
The control.
cell_progress ()
Get the progress inside the cell.
Progress* cell_progress(Cell *cell);
cell | The cell. |
Return
The control.
cell_view ()
Get the view inside the cell.
View* cell_view(Cell *cell);
cell | The cell. |
Return
The view.
cell_textview ()
Get the textview inside the cell.
TextView* cell_textview(Cell *cell);
cell | The cell. |
Return
The control.
cell_imageview ()
Get the imageview inside the cell.
ImageView* cell_imageview(Cell *cell);
cell | The cell. |
Return
The control.
cell_tableview ()
Get the tableview inside the cell.
TableView* cell_tableview(Cell *cell);
cell | The cell. |
Return
The control.
cell_splitview ()
Get the splitview inside the cell.
SplitView* cell_splitview(Cell *cell);
cell | The cell. |
Return
The control.
cell_panel ()
Get the panel inside the cell.
Panel* cell_panel(Cell *cell);
cell | The cell. |
Return
The control.
cell_layout ()
Get the layout inside the cell.
Layout* cell_layout(Cell *cell);
cell | The cell. |
Return
El layout.
cell_enabled ()
Activate or deactivate a cell.
void cell_enabled(Cell *cell, const bool_t enabled);
cell | The cell. |
enabled | Enabled or not. |
cell_visible ()
Show or hide a cell.
void cell_visible(Cell *cell, const bool_t visible);
cell | The cell. |
visible | Visible or not. |
cell_focus ()
Set the keyboard focus on the cell.
void cell_focus(Cell *cell);
cell | The cell. |
cell_padding ()
Set an inner margin.
void cell_padding(Cell *cell, const real32_t pall);
cell | The cell. |
pall | Inner margin. |
cell_padding2 ()
Set an inner margin.
void cell_padding2(Cell *cell, const real32_t ptb, const real32_t plr);
cell | The cell. |
ptb | Upper and lower margin. |
plr | Left and right margin. |
cell_padding4 ()
Set an inner margin.
void cell_padding4(Cell *cell, const real32_t pt, const real32_t pr, const real32_t pb, const real32_t pl);
cell | The cell. |
pt | Top margin. |
pr | Right margin. |
pb | Bottom margin. |
pl | Left margin. |
cell_dbind ()
Associates a cell with the field of a struct
.
void cell_dbind(Cell *cell, type, mtype, mname);
1 |
cell_dbind(cell, Product, String*, description); |
cell | The cell. |
type | The |
mtype | The |
mname | Field name. |
Remarks
See GUI Data binding.