Cross-platform C SDK logo

Cross-platform C SDK

Cell

❮ Back
Next ❯
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

GuiControl*cell_control (...)
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 (...)
voidcell_enabled (...)
voidcell_visible (...)
voidcell_padding (...)
voidcell_padding2 (...)
voidcell_padding4 (...)
voidcell_dbind (...)

Cells are the inner elements of a Layout and will house a control or a sublayout (Figure 1).


cell_control ()

Get control of the inside of the cell.

GuiControl*
cell_control(Cell *cell);
cell

The cell.

Return

The control.


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.

Remarks

If the cell contains a sublayout, the command will affect all controls recursively.


cell_visible ()

Show or hide a cell.

void
cell_visible(Cell *cell,
             const bool_t visible);
cell

The cell.

visible

Visible or not.

Remarks

If the cell contains a sublayout, the command will affect all controls recursively.


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 struct type.

mtype

The struct field type.

mname

Field name.

Remarks

See GUI Data binding.

❮ Back
Next ❯