hyle_picker_desc_t(3)libhyle-source

NAME

hyle_picker_desc_t - Descriptor of one picker field.

SYNOPSIS

#include <picker.h>

Data Fields

const char * key
const char * label
const char * source
int multi
const char * get_form_id
const char * url_tmpl
const hyle_option_t * page_opts
const hyle_option_t * sel
const char * q
int page
const char * search_param
const char * page_param
int allow_add

Detailed Description

Descriptor of one picker field.

Field Documentation

int hyle_picker_desc_t::allow_add

1 = inline record creation enabled, 0 = selection only.

const char* hyle_picker_desc_t::get_form_id

Sibling GET form id.

const char* hyle_picker_desc_t::key

Form field name.

const char* hyle_picker_desc_t::label

Human label.

int hyle_picker_desc_t::multi

0 = radio (single), 1 = checkbox (multi).

int hyle_picker_desc_t::page

Pagination state.

const hyle_option_t* hyle_picker_desc_t::page_opts

Current page options (borrowed).

const char* hyle_picker_desc_t::page_param

Custom page input name; NULL defaults to "pick_page_<key>".

const char* hyle_picker_desc_t::q

Current search term.

const char* hyle_picker_desc_t::search_param

Custom search input name; NULL defaults to "pick_q_<key>".

const hyle_option_t* hyle_picker_desc_t::sel

Pinned selections (borrowed).

const char* hyle_picker_desc_t::source

Target dataset id, e.g. "grp.items".

const char* hyle_picker_desc_t::url_tmpl

Fragment URL with {q},{page},{sel} slots.

Author

Generated automatically by Doxygen for libhyle-source from the source code.