- Parameters
-
parent | The widget's parent |
name | The name of the widget. |
- Returns
- a newly created icon, free with widget_free
Definition at line 139 of file icon.c.
References _widget::draw, _widget::free, _widget::get_desired_height, _widget::get_desired_width, icon_draw(), _icon::icon_fetch_id, icon_free(), icon_get_desired_height(), icon_get_desired_width(), icon_resize(), _widget::resize, rofi_icon_fetcher_query(), rofi_theme_get_double(), rofi_theme_get_integer(), rofi_theme_get_string(), _icon::size, WIDGET, _icon::widget, widget_init(), WIDGET_TYPE_UNKNOWN, _icon::xalign, and _icon::yalign.
Referenced by rofi_view_add_widget().