Packages
granite
Granite
Widgets
ModeButton
n_items
selected
ModeButton
append
append_icon
append_pixbuf
append_text
clear_children
remove
set_active
set_item_visible
mode_added
mode_changed
mode_removed
append_icon
Description:
public
int
append_icon
(
string
icon_name,
IconSize
size)
Appends icon to ModeButton
Parameters:
icon_name
name of icon to append
size
desired size of icon
Returns:
index of appended item