~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to pidgin/minidialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-05 19:44:21 UTC
  • mfrom: (62.1.1 maverick-security) (2.3.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101105194421-8r8o4pzw2m5j4hiy
Tags: 1:2.7.5-1ubuntu1
Resync on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
 *   <dd>The Gtk stock id of an icon for the dialog, or @c NULL for no icon.
74
74
 *       @see pidginstock.h
75
75
 *   </dd>
 
76
 *   <dt><tt>"custom-icon"</tt> (<tt>GdkPixbuf *</tt>)</dt>
 
77
 *   <dd>The custom icon to use instead of a stock one (overrides the "icon-name" property).</dd>
76
78
 * </dl>
77
79
 */
78
80
typedef struct {
108
110
/** Get the GType of #PidginMiniDialog. */
109
111
GType pidgin_mini_dialog_get_type (void);
110
112
 
111
 
/** Creates a new #PidginMiniDialog.  This is a shortcut for creating the dialog
 
113
/** Creates a new #PidginMiniDialog with a stock icon. This is a shortcut for creating the dialog
112
114
 *  with @c g_object_new() then setting each property yourself.
113
115
 *  @return a new #PidginMiniDialog.
114
116
 */
115
117
PidginMiniDialog *pidgin_mini_dialog_new(const gchar *title,
116
118
        const gchar *description, const gchar *icon_name);
117
119
 
 
120
/** Creates a new #PidginMiniDialog with a custom icon. This is a shortcut for creating the dialog
 
121
 *  with @c g_object_new() then setting each property yourself.
 
122
 *  @return a new #PidginMiniDialog.
 
123
 */
 
124
PidginMiniDialog *pidgin_mini_dialog_new_with_custom_icon(const gchar *title,
 
125
        const gchar *description, GdkPixbuf *custom_icon);
 
126
 
118
127
/** Shortcut for setting a mini-dialog's title via GObject properties.
119
128
 *  @param mini_dialog a mini-dialog
120
129
 *  @param title       the new title for @a mini_dialog
137
146
void pidgin_mini_dialog_set_icon_name(PidginMiniDialog *mini_dialog,
138
147
        const char *icon_name);
139
148
 
 
149
/** Shortcut for setting a mini-dialog's custom icon via GObject properties.
 
150
 *  @param mini_dialog a mini-dialog
 
151
 *  @param icon_name   the pixbuf to use as a custom icon
 
152
 */
 
153
void pidgin_mini_dialog_set_custom_icon(PidginMiniDialog *mini_dialog,
 
154
        GdkPixbuf *custom_icon);
 
155
 
140
156
/** Adds a new button to a mini-dialog, and attaches the supplied callback to
141
157
 *  its <tt>clicked</tt> signal.  After a button is clicked, the dialog is
142
158
 *  destroyed.