2007-01-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+ * src/hildon-banner.c: Fixing documentation for HildonBanner.
+
+ * src/hildon-caption.c:
+ * src/hildon-caption.h: Fixing documentation for HildonCaption.
+
+ * src/hildon-code-dialog.c: Fixing documentation for HildonCodeDialog.
+
+ * src/hildon-controlbar.c: Fixing docuemtnation for HildonControlbar.
+
+2007-01-23 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
+
* src/hildon-banner.c:
* src/hildon-banner.h: Fixing documentation. Removing the n-lines
helper function.
*
*/
+/**
+ * SECTION:hildon-banner
+ * @short_description: A widget used to display timed notifications.
+ *
+ * #HildonBanner can be used to display a short, timed notification
+ * or information to the user. It can communicate that a
+ * task has been finished or the application state has changed.
+ * Banners should be used only to display non-critical pieces of
+ * information.
+ *
+ */
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* hildon_caption_get_type:
*
- * Initialises, and returns the type of a hildon caption.
+ * Initializes and returns the type of a hildon caption.
*
* @Returns: GType of #HildonCaption
*/
* The default seaparator character is ":"
* separately.
*/
-void hildon_caption_set_separator (HildonCaption *caption,
+void
+hildon_caption_set_separator (HildonCaption *caption,
const gchar *separator)
{
g_return_if_fail (HILDON_IS_CAPTION (caption));
/**
* hildon_caption_set_child_expand:
* @caption : a #HildonCaption
- * @expand : gboolean to determine is the child expandable
+ * @expand : gboolean to determine if the child is expandable
*
* Sets child expandability.
*/
*
* Keys to set the icon placement in #HildonCaption.
*
- * Since: 0.14.5
*/
typedef enum
{
*
*/
+/**
+ * SECTION:hildon-code-dialog
+ * @short_description: A keypad-like widget used to enter pincodes.
+ *
+ * #HildonCodeDialog displays a keypad that can be used to enter
+ * numerical pin codes or lock codes.
+ *
+ */
+
+/* FIXME We need property access in this widget */
+
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static GtkDialogClass* parent_class = NULL;
+/**
+ * hildon_code_dialog_get_type:
+ *
+ * Initializes and returns the type of a hildon code dialog.
+ *
+ * @Returns: GType of #HildonCodeDialog
+ */
GType G_GNUC_CONST
hildon_code_dialog_get_type (void)
{
gdouble new_value,
gpointer data);
+/**
+ * hildon_controlbar_get_type:
+ *
+ * Initializes and returns the type of a hildon control bar.
+ *
+ * @Returns: GType of #HildonControlbar
+ */
GType G_GNUC_CONST
hildon_controlbar_get_type (void)
{
/**
* HildonControlbar:value:
*
- * Controlbar value.
+ * Controlbar current value.
*/
g_object_class_install_property (gobject_class, PROP_VALUE,
g_param_spec_int ("value",
* @self: pointer to #HildonControlbar
* @value: value in range of >= 0 && < G_MAX_INT
*
- * Change the current value of the control bar to the specified value.
+ * Set the current value of the control bar to the specified value.
*/
void
hildon_controlbar_set_value (HildonControlbar * self,
* Event handler for button press
* Need to change button1 to button2 before passing this event to
* parent handler. (see specs)
- * Also updates button_press variable so that we can draw hilites
+ * Also updates button_press variable so that we can draw highlights
* correctly
*/
static gint