rofi 1.7.5
container
Collaboration diagram for container:

Typedefs

typedef struct _container container
 

Functions

containercontainer_create (widget *parent, const char *name)
 
void container_add (container *container, widget *child)
 

Detailed Description

Typedef Documentation

◆ container

typedef struct _container container

Abstract handle to the container widget internal state.

Definition at line 44 of file container.h.

Function Documentation

◆ container_add()

void container_add ( container * container,
widget * child )
Parameters
containerHandle to the container widget.
childHandle to the child widget to pack.

Add a widget to the container.

Definition at line 67 of file container.c.

References _container::child, _widget::parent, WIDGET, and widget_update().

Referenced by rofi_view_add_widget().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ container_create()

container * container_create ( widget * parent,
const char * name )
Parameters
parentThe widget's parent
nameThe name of the widget.
Returns
a newly created container, free with widget_free

Definition at line 102 of file container.c.

References container_draw(), container_find_mouse_target(), container_free(), container_get_desired_height(), container_resize(), container_set_state(), container_update(), _widget::draw, _widget::find_mouse_target, _widget::free, _widget::get_desired_height, _widget::resize, _widget::set_state, _widget::update, WIDGET, _container::widget, widget_init(), and WIDGET_TYPE_UNKNOWN.

Referenced by rofi_view_add_widget().

Here is the call graph for this function:
Here is the caller graph for this function: