pidgin/pidgininvitedialog.h

changeset 42620
72178a341eb8
parent 42467
2b1d9d0770f2
equal deleted inserted replaced
42619:3dd7cd0eabf1 42620:72178a341eb8
62 * G_CALLBACK(invite_response), NULL); 62 * G_CALLBACK(invite_response), NULL);
63 * 63 *
64 * } 64 * }
65 * ]| 65 * ]|
66 * 66 *
67 * Since: 3.0.0 67 * Since: 3.0
68 */ 68 */
69 69
70 #define PIDGIN_TYPE_INVITE_DIALOG pidgin_invite_dialog_get_type() 70 #define PIDGIN_TYPE_INVITE_DIALOG pidgin_invite_dialog_get_type()
71 71
72 PIDGIN_AVAILABLE_IN_3_0 72 PIDGIN_AVAILABLE_IN_3_0
79 * 79 *
80 * Creates a new #PidginInviteDialog to invite someone to @conversation. 80 * Creates a new #PidginInviteDialog to invite someone to @conversation.
81 * 81 *
82 * Returns: (transfer full): The new #PidginInviteDialog instance. 82 * Returns: (transfer full): The new #PidginInviteDialog instance.
83 * 83 *
84 * Since: 3.0.0 84 * Since: 3.0
85 */ 85 */
86 PIDGIN_AVAILABLE_IN_3_0 86 PIDGIN_AVAILABLE_IN_3_0
87 GtkWidget *pidgin_invite_dialog_new(PurpleChatConversation *conversation); 87 GtkWidget *pidgin_invite_dialog_new(PurpleChatConversation *conversation);
88 88
89 /** 89 /**
93 * 93 *
94 * Sets the contact that should be invited. This function is intended to be 94 * Sets the contact that should be invited. This function is intended to be
95 * used to prepopulate the dialog in cases where you just need to prompt the 95 * used to prepopulate the dialog in cases where you just need to prompt the
96 * user for an invite message. 96 * user for an invite message.
97 * 97 *
98 * Since: 3.0.0 98 * Since: 3.0
99 */ 99 */
100 PIDGIN_AVAILABLE_IN_3_0 100 PIDGIN_AVAILABLE_IN_3_0
101 void pidgin_invite_dialog_set_contact(PidginInviteDialog *dialog, const gchar *contact); 101 void pidgin_invite_dialog_set_contact(PidginInviteDialog *dialog, const gchar *contact);
102 102
103 /** 103 /**
107 * Gets the contact that was entered in @dialog. This string is only valid as 107 * Gets the contact that was entered in @dialog. This string is only valid as
108 * long as @dialog exists. 108 * long as @dialog exists.
109 * 109 *
110 * Returns: (transfer none): The contact that was entered. 110 * Returns: (transfer none): The contact that was entered.
111 * 111 *
112 * Since: 3.0.0 112 * Since: 3.0
113 */ 113 */
114 PIDGIN_AVAILABLE_IN_3_0 114 PIDGIN_AVAILABLE_IN_3_0
115 const gchar *pidgin_invite_dialog_get_contact(PidginInviteDialog *dialog); 115 const gchar *pidgin_invite_dialog_get_contact(PidginInviteDialog *dialog);
116 116
117 /** 117 /**
120 * @message: The message that should be displayed. 120 * @message: The message that should be displayed.
121 * 121 *
122 * Sets the message to be displayed in @dialog. The main use case is to 122 * Sets the message to be displayed in @dialog. The main use case is to
123 * prepopulate the message. 123 * prepopulate the message.
124 * 124 *
125 * Since: 3.0.0 125 * Since: 3.0
126 */ 126 */
127 PIDGIN_AVAILABLE_IN_3_0 127 PIDGIN_AVAILABLE_IN_3_0
128 void pidgin_invite_dialog_set_message(PidginInviteDialog *dialog, const gchar *message); 128 void pidgin_invite_dialog_set_message(PidginInviteDialog *dialog, const gchar *message);
129 129
130 /** 130 /**
134 * Gets the message that was entered in @dialog. The returned value is only 134 * Gets the message that was entered in @dialog. The returned value is only
135 * valid as long as @dialog exists. 135 * valid as long as @dialog exists.
136 * 136 *
137 * Returns: (transfer none): The message that was entered in @dialog. 137 * Returns: (transfer none): The message that was entered in @dialog.
138 * 138 *
139 * Since: 3.0.0 139 * Since: 3.0
140 */ 140 */
141 PIDGIN_AVAILABLE_IN_3_0 141 PIDGIN_AVAILABLE_IN_3_0
142 const gchar *pidgin_invite_dialog_get_message(PidginInviteDialog *dialog); 142 const gchar *pidgin_invite_dialog_get_message(PidginInviteDialog *dialog);
143 143
144 /** 144 /**
148 * Gets the #PurpleChatConversation that @dialog was created for. 148 * Gets the #PurpleChatConversation that @dialog was created for.
149 * 149 *
150 * Returns: (transfer none): The #PurpleChatConversation that @dialog was 150 * Returns: (transfer none): The #PurpleChatConversation that @dialog was
151 * created with. 151 * created with.
152 * 152 *
153 * Since: 3.0.0 153 * Since: 3.0
154 */ 154 */
155 PIDGIN_AVAILABLE_IN_3_0 155 PIDGIN_AVAILABLE_IN_3_0
156 PurpleChatConversation *pidgin_invite_dialog_get_conversation(PidginInviteDialog *dialog); 156 PurpleChatConversation *pidgin_invite_dialog_get_conversation(PidginInviteDialog *dialog);
157 157
158 G_END_DECLS 158 G_END_DECLS

mercurial