Method
PanelMenuManagerset_attribute_string
Declaration [src]
void
panel_menu_manager_set_attribute_string (
PanelMenuManager* self,
GMenu* menu,
guint position,
const char* attribute,
const char* value
)
Description [src]
Overwrites an attribute for a menu that was created by
PanelMenuManager.
This can be useful when you want to update an attribute such as “accel” when an accelerator has changed due to user mappings.
| Available since: | 1.4 |
Parameters
menu |
GMenu |
The menu that was retreived with |
|
| The data is owned by the caller of the function. | |
position |
guint |
The index of the item in the menu. |
|
attribute |
const char* |
The attribute to change. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
value |
const char* |
The new value for the attribute. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. |