aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-30 14:29:40 -0500
committerTed Gould <ted@canonical.com>2009-04-30 14:29:40 -0500
commit877ac7aac626a3c8ce4bdd601eff9fb92fe64911 (patch)
tree3d8fbfd79e1ce257e6a7d025b9e7c9b9f4e260d4
parentdd49cd3da4456be72f5aae8ba0900c80b637409c (diff)
downloadlibayatana-indicator-877ac7aac626a3c8ce4bdd601eff9fb92fe64911.tar.gz
libayatana-indicator-877ac7aac626a3c8ce4bdd601eff9fb92fe64911.tar.bz2
libayatana-indicator-877ac7aac626a3c8ce4bdd601eff9fb92fe64911.zip
Adding in IndicateIndicatorClass documentation.
-rw-r--r--libindicate/indicator.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/libindicate/indicator.h b/libindicate/indicator.h
index 138a48c..dc057f4 100644
--- a/libindicate/indicator.h
+++ b/libindicate/indicator.h
@@ -68,6 +68,37 @@ struct _IndicateIndicator {
GObject parent;
};
+/**
+ IndicateIndicatorClass:
+
+ All of the functions that are used to modify or change data that is
+ in the indicator. Typically gets subclassed by other types of
+ indicators, for example #IndicateIndicatorMessages.
+
+ @hide: #IndicateIndicator::hide
+
+ @show: #IndicateIndicator::show
+
+ @user_display: #IndicateIndicator::user-display
+
+ @modified: #IndicateIndicator::modified
+
+ @get_type: Returns a constant string for the type of this indicator.
+ Typically gets overridden by subclasses and defines the type of
+ the indicator.
+
+ @set_property: Called when #indicate_indicator_set_property is called
+ and should set the value. While typically it is overridden by
+ subclasses they usually handle special properties themselves and
+ then call the superclass for storage.
+
+ @get_property: Called when #indicate_indicator_get_property is called
+ and should return the value requested. Many times this is left alone.
+
+ @list_properties: Called when #indicate_indicator_list_properties is called
+ and returns a list of the properties available. Again this can be
+ overridden by subclasses to handle special properties.
+*/
struct _IndicateIndicatorClass {
GObjectClass parent_class;