Changeset 3153

Show
Ignore:
Timestamp:
12/19/07 17:57:20
Author:
pvanhoof
Message:

2007-12-19 Philip Van Hoof <pvanhoof@gnome.org>

        • New documentaiton style, third commit (libtinymailui-gtk)
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r3151 r3153  
     12007-12-19  Philip Van Hoof <pvanhoof@gnome.org> 
     2 
     3        * New documentaiton style, third commit (libtinymailui-gtk) 
     4 
    152007-12-18  Philip Van Hoof <pvanhoof@gnome.org> 
    26 
  • trunk/libtinymailui-gtk/tny-gtk-account-list-model.c

    r2944 r3153  
    1818 */ 
    1919 
     20/** 
     21 * TnyGtkAccountListModel: 
     22 * 
     23 * A #GtkTreeModel for #TnyAccount instances 
     24 * 
     25 * Note that a #TnyGtkAccountListModel is a #TnyList too. You can use the 
     26 * #TnyList API on instances of this type too. 
     27 * 
     28 * Note that you must make sure that you unreference #TnyAccount instances that 
     29 * you get out of the instance column of this type using the #GtkTreeModel API 
     30 * gtk_tree_model_get(). 
     31 * 
     32 * free-function: g_object_unref 
     33 **/ 
     34 
    2035#include <config.h> 
    2136 
     
    4661 * tny_gtk_account_list_model_new: 
    4762 * 
    48  * Create a new #GtkTreeModel instance suitable for showing a list of accounts. 
    49  * Note that when using gtk_combo_box_set_model or gtk_tree_view_set_model, the  
    50  * view will add its reference to your model instance. If you want the view to 
    51  * become the owner, you must get rid of your initial reference. 
    52  * 
     63 * Create a new #GtkTreeModel suitable for showing a list of accounts. Note 
     64 * that when using gtk_combo_box_set_model() or gtk_tree_view_set_model(), 
     65 * the view will add its reference to your model instance. If you want the 
     66 * view to become the owner, you must get rid of your initial reference. 
     67 * 
     68 * Example: 
    5369 * <informalexample><programlisting> 
    5470 * GtkTreeModel *model = tny_gtk_account_list_model_new (); 
    5571 * GtkTreeView *view = ...; 
     72 * tny_account_store_get_accounts (accstore, TNY_LIST (model), ...); 
    5673 * gtk_tree_view_set_model (view, model); 
    57  * g_object_unref (model); // this is probably what you want to do 
     74 * g_object_unref (model); 
    5875 * </programlisting></informalexample> 
    5976 * 
    60  * Return value: a new #GtkTreeModel instance suitable for showing accounts 
     77 * returns (caller-owns): a new #GtkTreeModel for accounts 
     78 * since: 1.0 
     79 * audience: application-developer 
    6180 **/ 
    6281GtkTreeModel* 
     
    261280} 
    262281 
     282/** 
     283 * tny_gtk_account_list_model_get_type: 
     284 * 
     285 * GType system helper function 
     286 * 
     287 * returns: a #GType 
     288 **/ 
    263289GType 
    264290tny_gtk_account_list_model_get_type (void) 
     
    305331 * GType system helper function 
    306332 * 
    307  * Return value: a GType 
     333 * returns: a #GType 
    308334 **/ 
    309335GType  
  • trunk/libtinymailui-gtk/tny-gtk-attach-list-model.c

    r3035 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkAttachListModel: 
     22 * 
     23 * A #GtkTreeModel for #TnyMimePart instances that happen to be attachments too. 
     24 * 
     25 * Note that a #TnyGtkAttachListModel is a #TnyList too. You can use the 
     26 * #TnyList API on instances of this type too. 
     27 * 
     28 * Note that you must make sure that you unreference #TnyMimePart instances 
     29 * that you get out of the instance column of this type using the #GtkTreeModel 
     30 * API gtk_tree_model_get(). 
     31 * 
     32 * free-function: g_object_unref 
     33 **/ 
    1934 
    2035#include <config.h> 
     
    121136 * tny_gtk_attach_list_model_new: 
    122137 * 
    123  * Get a new #GtkTreeModel instance suitable for showing #TnyMimePart. 
    124  * 
    125  * Return value: a new #GtkTreeModel instance suitable for showing a #TnyMimePart 
     138 * Get a new #GtkTreeModel for #TnyMimePart instances that are attachments. 
     139 * 
     140 * returns (caller-owns) a new #GtkTreeModel #TnyMimePart instances 
     141 * since: 1.0 
     142 * audience: application-developer 
    126143 **/ 
    127144GtkTreeModel* 
     
    345362} 
    346363 
     364 
     365/** 
     366 * tny_gtk_attach_list_model_get_type: 
     367 * 
     368 * GType system helper function 
     369 * 
     370 * returns: a #GType 
     371 **/ 
    347372GType 
    348373tny_gtk_attach_list_model_get_type (void) 
     
    390415 * GType system helper function 
    391416 * 
    392  * Return value: a GType 
     417 * returns: a #GType 
    393418 **/ 
    394419GType  
  • trunk/libtinymailui-gtk/tny-gtk-attachment-mime-part-view.c

    r2825 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkAttachmentMimePartView: 
     22 * 
     23 * A #TnyMimePartView for showing a #TnyMimePart that is also an attachment 
     24 * 
     25 * free-function: g_object_unref 
     26 **/ 
    1927 
    2028#include <config.h> 
     
    120128/** 
    121129 * tny_gtk_attachment_mime_part_view_new: 
    122  * @iview: A #TnyGtkAttachListModel instance 
     130 * @iview: A #TnyGtkAttachListModel 
    123131 *  
    124  * Create a new #TnyMimePartView instance implemented for Gtk+ 
     132 * Create a new #TnyMimePartView for showing MIME parts that are attachments. 
     133 * The @iview parameter that you must pass is the #GtkTreeModel containing the 
     134 * #TnyMimePart instances that are attachments. 
    125135 *  
    126  * Return value: a new #TnyMimePartView instance implemented for Gtk+ 
     136 * returns (caller-owns): a new #TnyMimePartView for showing MIME parts that are attachments 
     137 * since: 1.0 
     138 * audience: application-developer 
    127139 **/ 
    128140TnyMimePartView* 
     
    203215 * GType system helper function 
    204216 * 
    205  * Return value: a GType 
     217 * returns: a #GType 
    206218 **/ 
    207219GType  
  • trunk/libtinymailui-gtk/tny-gtk-expander-mime-part-view.c

    r3040 r3153  
    1818 */ 
    1919 
     20/** 
     21 * TnyGtkExpanderMimePartView: 
     22 * 
     23 * A #TnyMimePartView that wraps another #TnyMimePartView into a #GtkExpander. 
     24 * The type is a #TnyMimePartView by itself too (it decorates the one it wraps). 
     25 * 
     26 * free-function: g_object_unref 
     27 **/ 
     28 
    2029#include <config.h> 
     30 
    2131#include <gtk/gtk.h> 
    2232 
     
    103113/** 
    104114 * tny_gtk_expander_mime_part_view_set_view: 
    105  * @self: a #TnyGtkMsgView instance 
    106  * @view: a #TnyMimePartView to decorate 
    107  * 
    108  * Set the @view to decorate with @self. The @view instance must inherit the  
    109  * #GtkWidget type. 
     115 * @self: a #TnyGtkMsgView 
     116 * @view: a #TnyMimePartView to make expandable 
     117 * 
     118 * Set @view to become decorated and expanded by @self. The @view must inherit 
     119 * #GtkWidget and implement #TnyMimePartView. 
     120 * 
     121 * since: 1.0 
     122 * audience: application-developer 
    110123 **/ 
    111124void 
     
    114127        TnyGtkExpanderMimePartViewPriv *priv = TNY_GTK_EXPANDER_MIME_PART_VIEW_GET_PRIVATE (self); 
    115128 
     129        g_assert (GTK_IS_WIDGET (view)); 
     130 
    116131        if (priv->decorated) 
    117132                gtk_container_remove (GTK_CONTAINER (self), GTK_WIDGET (priv->decorated)); 
     
    129144/** 
    130145 * tny_gtk_expander_mime_part_view_new: 
    131  * @view: the #TnyMimePartView to make expandable 
    132  * 
    133  * Create a new #TnyMimePartView for Gtk+ that wraps another mime part view with 
    134  * an expander (#GtkExpander). The @view instance must inherit the  
    135  * #GtkWidget type. The returned value will inherit #GtkExpander. 
    136  * 
    137  * Return value: a new #TnyMimePartView instance implemented for Gtk+ 
     146 * @view: a #TnyMimePartView to make expandable 
     147 * 
     148 * Create a new #TnyMimePartView that wraps another mime part view with 
     149 * a #GtkExpander. The @view instance must inherit #GtkWidget. The  
     150 * returned value will inherit #GtkExpander. 
     151 * 
     152 * returns (caller-owns): a new #TnyMimePartView 
     153 * since: 1.0 
     154 * audience: application-developer 
    138155 **/ 
    139156TnyMimePartView* 
  • trunk/libtinymailui-gtk/tny-gtk-folder-store-tree-model.c

    r3141 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20 
     21/** 
     22 * TnyGtkFolderStoreTreeModel: 
     23 * 
     24 * A #GtkTreeModel for #TnyFolderStore instances that'll become #TnyFolderStoreObserver 
     25 * and #TnyFolderObserver (in case the #TnyFolderStore instance is a #TnyFolder 
     26 * too) of each added #TnyFolderStore and each of its children en grandchildren 
     27 * (recursively). 
     28 * 
     29 * It will detect changes in the instance's tree structure this way and it will 
     30 * adapt itself to a new situation automatically. It also contains columns that 
     31 * contain certain popular numbers (like the unread and the total counts of 
     32 * #TnyFolder instances). 
     33 * 
     34 * Note that a #TnyGtkFolderStoreTreeModel is a #TnyList too. You can use the 
     35 * #TnyList API on instances of this type too. 
     36 * 
     37 * Note that you must make sure that you unreference #TnyFolderStore instances 
     38 * that you get out of the instance column of this type using the #GtkTreeModel 
     39 * API gtk_tree_model_get(). 
     40 * 
     41 * free-function: g_object_unref 
     42 **/ 
    1943 
    2044#include <config.h> 
     
    475499/** 
    476500 * tny_gtk_folder_store_tree_model_new: 
    477  * @query: the #TnyFolderStoreQuery that will be used to retrieve the folders of each folder_store 
    478  * 
    479  * Create a new #GtkTreeModel instance suitable for showing   
    480  * #TnyFolderStore instances 
     501 * @query: the #TnyFolderStoreQuery that will be used to retrieve the child folders of each #TnyFolderStore 
     502 * 
     503 * Create a new #GtkTreeModel for showing #TnyFolderStore instances 
    481504 *  
    482  * Return value: a new #GtkTreeModel instance suitable for showing   
    483  * #TnyFolderStore instances 
     505 * returns (caller-owns): a new #GtkTreeModel for #TnyFolderStore instances 
     506 * since: 1.0 
     507 * audience: application-developer 
    484508 **/ 
    485509GtkTreeModel* 
     
    597621/** 
    598622 * tny_gtk_folder_store_tree_model_prepend: 
    599  * @self: A #TnyGtkFolderStoreTreeModel instance 
    600  * @item: A #TnyFolderStore instance to add 
     623 * @self: a #TnyGtkFolderStoreTreeModel 
     624 * @item: a #TnyFolderStore to add 
    601625 * @root_name: The node's root name  
    602626 * 
    603627 * Prepends an item to the model 
     628 * 
     629 * since: 1.0 
     630 * audience: application-developer 
    604631 **/ 
    605632void 
     
    638665/** 
    639666 * tny_gtk_folder_store_tree_model_append: 
    640  * @self: A #TnyGtkFolderStoreTreeModel instance 
    641  * @item: A #TnyFolderStore instance to add 
     667 * @self: a #TnyGtkFolderStoreTreeModel 
     668 * @item: a #TnyFolderStore to add 
    642669 * @root_name: The node's root name  
    643670 * 
    644671 * Appends an item to the model 
     672 * 
     673 * since: 1.0 
     674 * audience: application-developer 
    645675 **/ 
    646676void 
     
    10691099 * GType system helper function 
    10701100 * 
    1071  * Return value: a GType 
     1101 * returns: a #GType 
    10721102 **/ 
    10731103GType 
     
    11301160 * GType system helper function 
    11311161 * 
    1132  * Return value: a GType 
     1162 * returns: a #GType 
    11331163 **/ 
    11341164GType 
  • trunk/libtinymailui-gtk/tny-gtk-header-list-model.c

    r2913 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkFolderStoreTreeModel: 
     22 * 
     23 * A #GtkTreeModel for #TnyHeader instances. Just like with any other #TnyList, 
     24 * you can use it together with a #TnyFolderMonitor. You will typically fill 
     25 * instances of this type using tny_folder_get_headers(). 
     26 * 
     27 * Note that a #TnyGtkFolderStoreTreeModel is a #TnyList too. You can use the 
     28 * #TnyList API on instances of this type too. This is what #TnyFolderMonitor 
     29 * does too. 
     30 * 
     31 * Note that you must make sure that you unreference #TnyHeader instances that  
     32 * you get out of the instance column of this type using the #GtkTreeModel API 
     33 * gtk_tree_model_get(). 
     34 * 
     35 * free-function: g_object_unref 
     36 **/ 
    1937 
    2038#include <config.h> 
     
    216234/** 
    217235 * tny_gtk_header_list_model_received_date_sort_func: 
    218  * @model: The GtkTreeModel the comparison is within 
    219  * @a : A GtkTreeIter in model 
    220  * @b : Another GtkTreeIter in model 
    221  * @user_data: Data passed 
    222  * 
    223  * A GtkTreeIterCompareFunc that sorts using the received date 
    224  * 
    225  * Return value: a negative integer, zero, or a positive integer  
     236 * @model: a #GtkTreeModel the comparison is within 
     237 * @a : a #GtkTreeIter in @model 
     238 * @b : another #GtkTreeIter in @model 
     239 * @user_data: user data passed 
     240 * 
     241 * A #GtkTreeIterCompareFunc that sorts using the received date 
     242 * 
     243 * returns: a negative integer, zero, or a positive integer  
     244 * since: 1.0 
     245 * audience: application-developer, tinymail-developer 
    226246 **/ 
    227247gint  
     
    248268/** 
    249269 * tny_gtk_header_list_model_sent_date_sort_func: 
    250  * @model: The GtkTreeModel the comparison is within 
    251  * @a : A GtkTreeIter in model 
    252  * @b : Another GtkTreeIter in model 
    253  * @user_data: Data passed 
    254  * 
    255  * A GtkTreeIterCompareFunc that sorts using the sent date 
    256  * 
    257  * Return value: a negative integer, zero, or a positive integer  
     270 * @model: the #GtkTreeModel the comparison is within 
     271 * @a : a GtkTreeIter in @model 
     272 * @b : another GtkTreeIter in @model 
     273 * @user_data: user data passed 
     274 * 
     275 * A @GtkTreeIterCompareFunc that sorts using the sent date 
     276 * 
     277 * returns: a negative integer, zero, or a positive integer  
     278 * since: 1.0 
     279 * audience: application-developer, tinymail-developer 
    258280 **/ 
    259281gint   
     
    10351057/** 
    10361058 * tny_gtk_header_list_model_set_folder: 
    1037  * @self: A #TnyGtkHeaderListModel instance 
    1038  * @folder: a #TnyFolder instance 
     1059 * @self: a #TnyGtkHeaderListModel 
     1060 * @folder: a #TnyFolder 
    10391061 * @refresh: refresh first 
    1040  * @callback: a #TnyGetHeadersCallback 
    1041  * @status_callback: a #TnyStatusCallback 
     1062 * @callback (null-ok): a #TnyGetHeadersCallback or NULL 
     1063 * @status_callback (null-ok): a #TnyStatusCallback or NULL 
    10421064 * @user_data: user data for the callbacks 
    10431065 * 
    1044  * Set the folder where the #TnyHeader instances are located 
     1066 * Set the @folder of @self where #TnyHeader instances are located 
    10451067 *  
     1068 * since: 1.0 
     1069 * audience: application-developer 
    10461070 **/ 
    10471071void 
     
    11031127 * tny_gtk_header_list_model_new: 
    11041128 * 
    1105  * Create a new #GtkTreeModel instance suitable for showing lots of  
    1106  * #TnyHeader instances 
    1107  * 
    1108  * Return value: a new #GtkTreeModel instance suitable for showing lots of  
    1109  * #TnyHeader instances 
     1129 * Create a new #GtkTreeModel for #TnyHeader instances 
     1130 * 
     1131 * returns (caller-owns): a new #GtkTreeModel for #TnyHeader instances 
     1132 * since: 1.0 
     1133 * audience: application-developer 
    11101134 **/ 
    11111135GtkTreeModel* 
     
    11221146 * GType system helper function 
    11231147 * 
    1124  * Return value: a GType 
     1148 * returns: a #GType 
    11251149 **/ 
    11261150GType 
     
    11771201 * GType system helper function 
    11781202 * 
    1179  * Return value: a GType 
     1203 * returns: a #GType 
    11801204 **/ 
    11811205GType 
  • trunk/libtinymailui-gtk/tny-gtk-header-view.c

    r2825 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkHeaderView: 
     22 * 
     23 * A simple view for a #TnyHeader 
     24 * 
     25 * free-function: g_object_unref 
     26 **/ 
    1927 
    2028#include <config.h> 
     
    139147 * tny_gtk_header_view_new: 
    140148 * 
    141  * Create a new #TnyHeaderView instance implemented for Gtk+ 
    142  * 
    143  * Return value: a new #TnyHeaderView instance implemented for Gtk+ 
     149 * Create a new #TnyHeaderView 
     150 * 
     151 * returns (caller-owns): a new #TnyHeaderView 
     152 * since: 1.0 
     153 * audience: application-developer 
    144154 **/ 
    145155TnyHeaderView* 
     
    277287 * GType system helper function 
    278288 * 
    279  * Return value: a GType 
     289 * returns: a #GType 
    280290 **/ 
    281291GType  
  • trunk/libtinymailui-gtk/tny-gtk-image-mime-part-view.c

    r3151 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkImageMimePartView: 
     22 * 
     23 * A #TnyMimePartView that can render a #TnyMimePart that is an image. It's 
     24 * recommended to use this type together with a #TnyGtkExpanderMimePartView. 
     25 * 
     26 * free-function: g_object_unref 
     27 **/ 
    1928 
    2029#include <config.h> 
     
    137146/** 
    138147 * tny_gtk_image_mime_part_view_new: 
    139  * @status_callback: a #TnyStatusCallback for when status information happens 
    140  * @status_user_data: user data for @status_callback 
    141  * 
    142  * Create a new #TnyMimePartView for Gtk+. The returned value will inherit 
    143  * #GtkImage. It's recommended to use a #TnyGtkExpanderMimePartView to wrap this 
    144  * type. 
    145  * 
    146  * Return value: a new #TnyMimePartView instance implemented for Gtk+ 
     148 * @status_callback (null-ok): a #TnyStatusCallback or NULL 
     149 * @status_user_data (null-ok): user data for @status_callback 
     150 * 
     151 * Create a new #TnyMimePartView for displaying image #TnyMimePartView instances. 
     152 * The returned value inherits #GtkImage. It's recommended to use a 
     153 * #TnyGtkExpanderMimePartView to wrap this type. 
     154 * 
     155 * Whenever data must be retrieved or takes long to load, @status_callback will 
     156 * be called to let the outside world know about what this compenent is doing. 
     157 * 
     158 * returns (caller-owns): a new #TnyMimePartView for images 
     159 * since: 1.0 
     160 * audience: application-developer 
    147161 **/ 
    148162TnyMimePartView* 
  • trunk/libtinymailui-gtk/tny-gtk-lockable.c

    r2825 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkLockable: 
     22 * 
     23 * A #TnyLockable that has its tny_lockable_lock() and tny_lockable_ulock() 
     24 * implemented using gdk_threads_enter() and gdk_threads_leave(). 
     25 * 
     26 * free-function: g_object_unref 
     27 **/ 
    1928 
    2029#include <config.h> 
     
    7079 * tny_gtk_lockable_new: 
    7180 * 
    72  * Create a #TnyLockable instance that uses gdk_threads_enter and gdk_threads_leave 
     81 * Create a #TnyLockable that uses gdk_threads_enter() and gdk_threads_leave() 
    7382 * as lock and unlock implementations. 
    7483 * 
    75  * Return value: a new #TnyLockable instance implemented for Gtk+ 
     84 * returns (caller-owns): a new #TnyLockable 
     85 * since: 1.0 
     86 * audience: application-developer 
    7687 **/ 
    7788TnyLockable* 
  • trunk/libtinymailui-gtk/tny-gtk-mime-part-save-strategy.c

    r3071 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkMimePartSaveStrategy: 
     22 * 
     23 * a #TnyMimePartSaveStrategy that saves a #TnyMimePart using a file dialog 
     24 * in Gtk+ and GnomeVFS if available. 
     25 * 
     26 * free-function: g_object_unref 
     27 **/ 
    1928 
    2029#include <config.h> 
     
    182191/** 
    183192 * tny_gtk_mime_part_save_strategy_new: 
    184  * @status_callback: a #TnyStatusCallback for when status information happens 
     193 * @status_callback (null-ok): a #TnyStatusCallback for when status information happens or NULL 
    185194 * @status_user_data: user data for @status_callback 
    186195 * 
    187  * Create a new #TnyMimePartSaveStrategy instance implemented for Gtk+. It will 
    188  * use the GtkFileChooserDialog type and if available support for GnomeVFS. 
    189  * 
    190  * Return value: a new #TnyMimePartSaveStrategy instance implemented for Gtk+ 
     196 * Create a new #TnyMimePartSaveStrategy It will use the #GtkFileChooserDialog type and if 
     197 * available consume its support for GnomeVFS. 
     198 * 
     199 * Whenever data must be retrieved or takes long to load, @status_callback will 
     200 * be called to let the outside world know about what this compenent is doing. 
     201 * 
     202 * returns (caller-owns): a new #TnyMimePartSaveStrategy 
     203 * since: 1.0 
     204 * audience: application-developer 
    191205 **/ 
    192206TnyMimePartSaveStrategy* 
  • trunk/libtinymailui-gtk/tny-gtk-msg-view.c

    r3070 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkMsgView: 
     22 * 
     23 * a #TnyMsgView for showing a message in Gtk+. It's recommended to wrap instances 
     24 * of this type into a #GtkScrolledWindow. 
     25 * 
     26 * free-function: g_object_unref 
     27 **/ 
     28 
    1929 
    2030#include <config.h> 
     
    95105/** 
    96106 * tny_gtk_msg_view_get_display_html: 
    97  * @self: A #TnyGtkMsgView instance 
     107 * @self: a #TnyGtkMsgView 
    98108 * 
    99109 * Get whether or not to display text/html mime parts 
    100110 *  
    101  * Return value: whether or not to display text/html mime parts 
     111 * returns: whether or not to display text/html mime parts 
     112 * since: 1.0 
     113 * audience: application-developer 
    102114 **/ 
    103115gboolean  
     
    110122/** 
    111123 * tny_gtk_msg_view_get_display_rfc822: 
    112  * @self: A #TnyGtkMsgView instance 
     124 * @self: a #TnyGtkMsgView 
    113125 * 
    114126 * Get whether or not to display message/rfc822 mime parts 
    115127 * 
    116  * Return value: whether or not to display message/rfc822 mime parts 
     128 * returns: whether or not to display message/rfc822 mime parts 
     129 * since: 1.0 
     130 * audience: application-developer 
    117131 **/ 
    118132gboolean  
     
    125139/** 
    126140 * tny_gtk_msg_view_get_display_attachments: 
    127  * @self: A #TnyGtkMsgView instance 
     141 * @self: a #TnyGtkMsgView 
    128142 * 
    129143 * Get whether or not to display attachments 
    130144 * 
    131  * Return value: whether or not to display attachments 
     145 * returns: whether or not to display attachments 
     146 * since: 1.0 
     147 * audience: application-developer 
    132148 **/ 
    133149gboolean  
     
    140156/** 
    141157 * tny_gtk_msg_view_get_display_plain: 
    142  * @self: A #TnyGtkMsgView instance 
     158 * @self: a #TnyGtkMsgView 
    143159 * 
    144160 * Get whether or not to display text/plain mime parts 
    145161 *  
    146  * Return value: whether or not to display text/plain mime parts 
     162 * returns: whether or not to display text/plain mime parts 
     163 * since: 1.0 
     164 * audience: application-developer 
    147165 **/ 
    148166gboolean  
     
    156174/** 
    157175 * tny_gtk_msg_view_set_display_html: 
    158  * @self: A #TnyGtkMsgView instance 
     176 * @self: a #TnyGtkMsgView 
    159177 * @setting: whether or not to display text/html mime parts 
    160178 * 
     
    163181 * 
    164182 * Note that these settings only affect the instance in case an overridden 
    165  * implementation of tny_msg_view_create_mime_part_view_for doesn't handle 
     183 * implementation of tny_msg_view_create_mime_part_view_for() doesn't handle 
    166184 * creating a viewer for a mime part. 
    167185 *  
    168186 * So for example in case a more advanced implementation that inherits this 
    169187 * type implements viewing a text/html mime part, and will therefore not call 
    170  * this types original tny_msg_view_create_mime_part_view_for method for the 
    171  * mime part anymore, the setting isn't used. 
     188 * this types original tny_msg_view_create_mime_part_view_for() method for 
     189 * the mime part anymore, the setting isn't used. 
     190 * 
     191 * The effect, by default, of this setting is showing the HTML source code. 
     192 * 
     193 * since: 1.0 
     194 * audience: application-developer 
    172195 **/ 
    173196void  
     
    181204/** 
    182205 * tny_gtk_msg_view_set_display_rfc822: 
    183  * @self: A #TnyGtkMsgView instance 
     206 * @self: a #TnyGtkMsgView 
    184207 * @setting: whether or not to display message/rfc822 mime parts 
    185208 * 
     
    187210 * RFC822 inline message mime parts (forwards). Default is FALSE. 
    188211 * 
    189  * (Note that this support is unimplemented at this moment) 
    190  * 
    191212 * Note that these settings only affect the instance in case an overridden 
    192  * implementation of tny_msg_view_create_mime_part_view_for doesn't handle 
     213 * implementation of tny_msg_view_create_mime_part_view_for() doesn't handle 
    193214 * creating a viewer for a mime part. 
    194215 *  
    195216 * So for example in case a more advanced implementation that inherits this 
    196217 * type implements viewing a text/html mime part, and will therefore not call 
    197  * this types original tny_msg_view_create_mime_part_view_for method for the 
    198  * mime part anymore, the setting isn't used. 
     218 * this types original tny_msg_view_create_mime_part_view_for() method for 
     219 * the mime part anymore, the setting isn't used. 
     220 * 
     221 * since: 1.0 
     222 * audience: application-developer 
    199223 **/ 
    200224void  
     
    209233/** 
    210234 * tny_gtk_msg_view_set_display_attachments: 
    211  * @self: A #TnyGtkMsgView instance 
     235 * @self: a #TnyGtkMsgView 
    212236 * @setting: whether or not to display attachment mime parts 
    213237 * 
     
    217241 * 
    218242 * Note that these settings only affect the instance in case an overridden 
    219  * implementation of tny_msg_view_create_mime_part_view_for doesn't handle 
     243 * implementation of tny_msg_view_create_mime_part_view_for() doesn't handle 
    220244 * creating a viewer for a mime part. 
    221245 *  
    222246 * So for example in case a more advanced implementation that inherits this 
    223247 * type implements viewing a text/html mime part, and will therefore not call 
    224  * this types original tny_msg_view_create_mime_part_view_for method for the 
    225  * mime part anymore, the setting isn't used. 
     248 * this types original tny_msg_view_create_mime_part_view_for() method for 
     249 * the mime part anymore, the setting isn't used. 
     250 * 
     251 * since: 1.0 
     252 * audience: application-developer 
    226253 **/ 
    227254void  
     
    242269 * 
    243270 * Note that these settings only affect the instance in case an overridden 
    244  * implementation of tny_msg_view_create_mime_part_view_for doesn't handle 
     271 * implementation of tny_msg_view_create_mime_part_view_for() doesn't handle 
    245272 * creating a viewer for a mime part. 
    246273 *  
    247274 * So for example in case a more advanced implementation that inherits this 
    248275 * type implements viewing a text/html mime part, and will therefore not call 
    249  * this types original tny_msg_view_create_mime_part_view_for method for the 
    250  * mime part anymore, the setting isn't used. 
     276 * this types original tny_msg_view_create_mime_part_view_for() method for 
     277 * the mime part anymore, the setting isn't used. 
     278 * 
     279 * since: 1.0 
     280 * audience: application-developer 
    251281 **/ 
    252282void  
     
    303333/** 
    304334 * tny_gtk_msg_view_set_parented: 
    305  * @self: a #TnyGtkMsgView instance 
     335 * @self: a #TnyGtkMsgView 
    306336 * @parented: parented or not 
    307337 * 
    308338 * Set @self as parented. Usually internally used. 
     339 * 
     340 * since: 1.0 
     341 * audience: type-implementer, tinymail-developer 
    309342 **/ 
    310343void  
     
    318351/** 
    319352 * tny_gtk_msg_view_set_status_callback: 
    320  * @status_callback: a #TnyStatusCallback  
    321  * @stats_user_data: user data for @status_callback 
     353 * @status_callback (null-ok): a #TnyStatusCallback or NULL 
     354 * @stats_user_data (null-ok): user data for @status_callback 
    322355 * 
    323356 * Set the status callback info. This callback can be NULL and will be called 
    324357 * when status information happens. You can for example set a progress bar's 
    325358 * position here (for for example when downloading of a message takes place). 
     359 * 
     360 * since: 1.0 
     361 * audience: application-developer, type-implementer, tinymail-developer 
    326362 **/ 
    327363void  
     
    335371 
    336372/** 
    337  * tny_gtk_msg_view_set_status_callback: 
    338  * @status_callback: byref a #TnyStatusCallback  
    339  * @stats_user_data: byref user data for @status_callback 
     373 * tny_gtk_msg_view_get_status_callback: 
     374 * @status_callback (out): byref a #TnyStatusCallback  
     375 * @stats_user_data (out): byref user data for @status_callback 
    340376 * 
    341377 * Get the status callback info. Usually internally used. 
     378 * 
     379 * since: 1.0 
     380 * audience: type-implementer, tinymail-developer 
    342381 **/ 
    343382void  
     
    371410/** 
    372411 * tny_gtk_msg_view_create_mime_part_view_for_default: 
    373  * @self: a #TnyGtkMsgView instance 
    374  * @part: a #TnyMimePart instance 
     412 * @self: a #TnyGtkMsgView 
     413 * @part: a #TnyMimePart 
    375414 * 
    376415 * This is non-public API documentation 
     
    470509/** 
    471510 * tny_gtk_msg_view_display_part: 
    472  * @self: a #TnyGtkMsgView instance 
    473  * @part: a #TnyMimePart instance 
     511 * @self: a #TnyGtkMsgView 
     512 * @part: a #TnyMimePart 
    474513 * 
    475514 * This is non-public API documentation 
     
    557596/** 
    558597 * tny_gtk_msg_view_display_parts: 
    559  * @self: a #TnyGtkMsgView instance 
     598 * @self: a #TnyGtkMsgView 
    560599 * @parts: a #TnyList instance containing #TnyMimePart instances 
    561600 * @desc: description of the parent part (if any) 
     
    662701/** 
    663702 * tny_gtk_msg_view_mp_set_part_default: 
    664  * @self: a #TnyGtkMsgView instance 
    665  * @part: a #TnyMimePart instance 
     703 * @self: a #TnyGtkMsgView 
     704 * @part: a #TnyMimePart 
    666705 * 
    667706 * This is non-public API documentation 
     
    739778 * tny_gtk_msg_view_new: 
    740779 * 
    741  * Create a new #TnyMsgView instance implemented for Gtk+ 
    742  * 
    743  * Return value: a new #TnyMsgView instance implemented for Gtk+ 
     780 * Create a new #TnyMsgView 
     781 * 
     782 * returns (caller-owns): a new #TnyMsgView  
     783 * since: 1.0 
     784 * audience: application-developer 
    744785 **/ 
    745786TnyMsgView* 
     
    916957 * GType system helper function 
    917958 * 
    918  * Return value: a GType 
     959 * returns: a #GType 
    919960 **/ 
    920961GType  
  • trunk/libtinymailui-gtk/tny-gtk-msg-window.c

    r3040 r3153  
    2222 * TnyGtkMsgWindow: 
    2323 * 
     24 * A #TnyMsgView that is a #GtkWindow too. 
     25 * 
    2426 * All implementations are rather simple, they all simply forward the instruction 
    2527 * to a priv->msg_view instance which is a #TnyMsgView or the decorated one. 
    2628 * 
    2729 * Next to forwarding the instructions, this implementation also makes sure that 
    28  * priv->msg_view is embedded in a GtkWindow and that for example the window's 
     30 * priv->msg_view is embedded in a #GtkWindow and that for example the window's 
    2931 * title is set correctly (and things like that). 
    3032 * 
     
    3234 * message viewer. You can also again decorate it (I would recommend decorating 
    3335 * #TnyGtkMsgView in stead, in that case). 
     36 * 
     37 * free-function: g_object_unref 
    3438 **/ 
    3539 
     
    209213/** 
    210214 * tny_gtk_msg_window_set_view: 
    211  * @self: a #TnyGtkMsgView instance 
     215 * @self: a #TnyGtkMsgView 
    212216 * @view: a #TnyMsgView to decorate 
    213217 * 
    214  * Set the @view to decorate with @self. The @view instance must inherit the  
    215  * #GtkWidget type. 
     218 * Set @view to become decorated or windowed by @self. The @view must inherit 
     219 * #GtkWidget. 
     220 * 
     221 * since: 1.0 
     222 * audience: application-developer 
    216223 **/ 
    217224void  
     
    237244/** 
    238245 * tny_gtk_msg_window_new: 
    239  * @msgview: a #TnyMsgView to decorate 
    240  * 
    241  * Create a GtkWindow that implements #TnyMsgView by decorating @msgview. The  
     246 * @msgview: a #TnyMsgView to decorate or wrap with a #GtkWindow 
     247 * 
     248 * Create a #GtkWindow that implements #TnyMsgView by decorating @msgview. The  
    242249 * @view instance must inherit the #GtkWidget type. The returned value will 
    243250 * inherit #GtkWindow 
    244251 * 
    245  * Return value: a new #TnyMsgWindow instance implemented for Gtk+ 
     252 * returns: a new #TnyMsgWindow 
     253 * since: 1.0 
     254 * audience: application-developer 
    246255 **/ 
    247256TnyMsgWindow* 
  • trunk/libtinymailui-gtk/tny-gtk-password-dialog.c

    r2825 r3153  
    1818 */ 
    1919 
    20 /* TODO: Refactory this type to libtinymailui-gtk */ 
     20/** 
     21 * TnyGtkPasswordDialog: 
     22 * 
     23 * A #TnyPasswordGetter that will ask the user to enter the password in Gtk+ 
     24 * 
     25 * free-function: g_object_unref 
     26 **/ 
     27 
    2128#include <config.h> 
     29 
    2230#include <string.h> 
    2331#include <sys/mman.h> 
     
    121129 * Create a dialog window that will ask the user for a password 
    122130 * 
    123  * Return value: A new #GtkDialog password dialog instance implemented for Gtk+ 
     131 * returns (caller-owns): A new #GtkDialog password dialog 
     132 * since: 1.0 
     133 * audience: application-developer 
    124134 **/ 
    125135TnyPasswordGetter* 
  • trunk/libtinymailui-gtk/tny-gtk-pixbuf-stream.c

    r2975 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20 
     21/** 
     22 * TnyGtkPixbufStream: 
     23 * 
     24 * A #TnyStream for building a #GdkPixbuf from a stream in Tinymail, like when 
     25 * streaming a #TnyMimePart that is an image to a #GdkPixbuf that will be used 
     26 * by a #GtkImage. 
     27 * 
     28 * free-function: g_object_unref 
     29 **/ 
     30 
    1931#include <config.h> 
     32 
     33 
    2034#include <string.h> 
    2135#include <glib.h> 
     
    172186 * Create an adaptor instance between #TnyStream and #GdkPixbuf 
    173187 * 
    174  * Return value: a new #TnyStream instance 
     188 * returns (caller-owns): a new #TnyStream instance 
     189 * since: 1.0 
     190 * audience: application-developer 
    175191 **/ 
    176192TnyStream* 
  • trunk/libtinymailui-gtk/tny-gtk-text-buffer-stream.c

    r3099 r3153  
    1717 * Boston, MA 02110-1301, USA. 
    1818 */ 
     19 
     20/** 
     21 * TnyGtkTextBufferStream: 
     22 * 
     23 * A #TnyStream for building a #GtkTextBuffer from a stream in Tinymail, like when 
     24 * streaming a #TnyMimePart that is a plain text to a #GtkTextBuffer that will be 
     25 * used by a #GtkTextView. 
     26 * 
     27 * free-function: g_object_unref 
     28 **/ 
     29 
    1930#include <config.h> 
     31 
    2032#include <string.h> 
    2133#include <glib.h> 
     
    206218/** 
    207219 * tny_gtk_text_buffer_stream_set_text_buffer: 
    208  * @self: A #TnyGtkTextBufferStream instance 
    209  * @buffer: The #GtkTextBuffer to write to or read from