Property
Description:
[ CCode ( has_construct_function = false ) ]
public Property (string key, PropType type, Text label, string? icon, Text tooltip, bool sensitive, bool visible, PropState state, PropList? prop_list)
public Property (string key, PropType type, Text label, string? icon, Text tooltip, bool sensitive, bool visible, PropState state, PropList? prop_list)
Creates a new Property.
Parameters:
key |
Unique Identity for the Property. |
type | |
label |
Text shown in UI. |
icon |
Icon file for the Property. |
tooltip |
Message shown if mouse hovered the Property. |
sensitive |
Whether the Property is sensitive to keyboard and mouse event. |
visible |
Whether the Property is visible. |
state |
IBusPropState of Property. |
prop_list |
PropList that contains sub IBusProperties. |
Returns:
A newly allocated Property. |