*
*
*
* This example serves two main purposes:
* - testing conversion (long description
* follows here)
* - catching bugs
* - having an example
*
* Nothing more to say.
*/]]>
SECTION:objecttitleGtkdocObjectshort_descriptionclass for gtk-doc unit testsee_also#GtkdocIfaceImageobject.png
This example serves two main purposes:
- testing conversion (long description
follows here)
- catching bugs
- having an example
Nothing more to say.]]>
/**
* SECTION:object2
* @title: GtkdocObject2
* @short_description: class with interface for gtk-doc unit test
* @see_also: #GtkdocIface
*
* This file contains non-sense code for the sole purpose of testing the docs.
*
* Internals
* =========
*
* All the internal details go here or not:
* - single item list
*/
SECTION:object2titleGtkdocObject2short_descriptionclass with interface for gtk-doc unit testsee_also#GtkdocIfaceThis file contains non-sense code for the sole purpose of testing the docs.
Internals
=========
All the internal details go here or not:
- single item list
* This will only work if you have called g_type_init() before.
*
*
* Returns: the instance or %NULL in case of an error
* Since: 0.1
*/]]>
gtkdoc_object_new
This will only work if you have called g_type_init() before.
]]>returnsthe instance or %NULL in case of an errorsince0.1gtkdoc_object_set_otestselfthe objectvaluethe new otest value, whose description extends further than one
line will allowSet the #GtkdocObject:otest property. This is a long paragraph.
Oh, btw. setting the property directly saves us one method.deprecatedsince0.5
*
* Negative frobnication can lead to unexpected behaviour.
*
*
*
* Since: 0.5
*/]]>
gtkdoc_object_frobnicateselfthe objectnnumber of iterations
Negative frobnication can lead to unexpected behaviour.
]]>since0.5
/**
* gtkdoc_object_fooify:
* @self: the object
* @...: a NULL terminated list of arguments
*
* Fooify the content of @self.
*
* Returns: %TRUE for success
*/
gtkdoc_object_fooifyselfthe object...a NULL terminated list of argumentsFooify the content of @self.returns%TRUE for success
/**
* GtkdocObject::otest:
* @self: myself
*
* The event has been triggered.
*/
GtkdocObject::otestselfmyselfThe event has been triggered.
/**
* GtkdocObject::dep-otest:
* @self: myself
*
* Here's an example signal handler.
* |[
* static gchar*
* otest_callback (GObject *o,
* gpointer user_data)
* {
* gdouble value;
*
* value = abs (o->value);
*
* return value;
* }
* ]|
*
* Deprecated: Use the #GtkdocObject::otest signal instead.
*/
GtkdocObject::dep-otestselfmyselfHere's an example signal handler.
|[
static gchar*
otest_callback (GObject *o,
gpointer user_data)
{
gdouble value;
value = abs (o->value);
return value;
}
]|deprecatedUse the #GtkdocObject::otest signal instead.
/**
* GtkdocObject::strings-changed:
*
* Something has happened.
*/
GtkdocObject::strings-changedSomething has happened.
/**
* GtkdocObject::variant-changed:
*
* Something has happened.
*/
GtkdocObject::variant-changedSomething has happened.
/**
* GtkdocObject:otest:
*
* Since: 0.1
*/
GtkdocObject:otestsince0.1
/**
* GtkdocObject:dep-otest:
*
* Deprecated: use #GtkdocObject:otest property
*/
GtkdocObject:dep-otestdeprecateduse #GtkdocObject:otest property