pidgin/gtkutils.h

changeset 41058
18f3ea2e7e6d
parent 40991
d92defc9ba95
child 41086
631e6cba8635
equal deleted inserted replaced
41057:0a4177bbb1c4 41058:18f3ea2e7e6d
60 60
61 typedef gboolean (*PidginFilterBuddyCompletionEntryFunc) (const PidginBuddyCompletionEntry *completion_entry, gpointer user_data); 61 typedef gboolean (*PidginFilterBuddyCompletionEntryFunc) (const PidginBuddyCompletionEntry *completion_entry, gpointer user_data);
62 62
63 63
64 G_BEGIN_DECLS 64 G_BEGIN_DECLS
65
66 /**
67 * pidgin_dialog_get_vbox_with_properties:
68 * @dialog: The dialog window
69 * @homogeneous: TRUE if all children are to be given equal space allotments.
70 * @spacing: the number of pixels to place by default between children
71 *
72 * Retrieves the main content box (vbox) from a pidgin dialog window
73 *
74 * Returns: (transfer none): The main vbox from @dialog.
75 */
76 GtkWidget *pidgin_dialog_get_vbox_with_properties(GtkDialog *dialog, gboolean homogeneous, gint spacing);
77
78 /**
79 * pidgin_dialog_get_vbox:
80 * @dialog: The dialog window
81 *
82 * Retrieves the main content box (vbox) from a pidgin dialog window
83 *
84 * Returns: (transfer none): the main vbox from @dialog.
85 */
86 GtkWidget *pidgin_dialog_get_vbox(GtkDialog *dialog);
87
88 /**
89 * pidgin_dialog_add_button:
90 * @dialog: The dialog window
91 * @label: The label for the button
92 * @callback: (scope call): The callback function for the button
93 * @callbackdata: The user data for the callback function
94 *
95 * Add a button to a dialog created by #pidgin_create_dialog.
96 *
97 * Returns: (transfer full): The created button.
98 */
99 GtkWidget *pidgin_dialog_add_button(GtkDialog *dialog, const char *label,
100 GCallback callback, gpointer callbackdata);
101
102 /**
103 * pidgin_dialog_get_action_area:
104 * @dialog: The dialog window
105 *
106 * Retrieves the action area (button box) from a pidgin dialog window
107 *
108 * Returns: (transfer none): The action area (button box) from @dialog.
109 */
110 GtkWidget *pidgin_dialog_get_action_area(GtkDialog *dialog);
111 65
112 /** 66 /**
113 * pidgin_separator: 67 * pidgin_separator:
114 * @menu: The menu to add a separator to. 68 * @menu: The menu to add a separator to.
115 * 69 *

mercurial