| 51 |
51 |
| 52 /** |
52 /** |
| 53 * Registers the PidginMenuTray class if necessary and returns the |
53 * Registers the PidginMenuTray class if necessary and returns the |
| 54 * type ID assigned to it. |
54 * type ID assigned to it. |
| 55 * |
55 * |
| 56 * @return The PidginMenuTray type ID |
56 * Returns: The PidginMenuTray type ID |
| 57 */ |
57 */ |
| 58 GType pidgin_menu_tray_get_type(void); |
58 GType pidgin_menu_tray_get_type(void); |
| 59 |
59 |
| 60 /** |
60 /** |
| 61 * Creates a new PidginMenuTray |
61 * Creates a new PidginMenuTray |
| 62 * |
62 * |
| 63 * @return A new PidginMenuTray |
63 * Returns: A new PidginMenuTray |
| 64 */ |
64 */ |
| 65 GtkWidget *pidgin_menu_tray_new(void); |
65 GtkWidget *pidgin_menu_tray_new(void); |
| 66 |
66 |
| 67 /** |
67 /** |
| 68 * Gets the box for the PidginMenuTray |
68 * Gets the box for the PidginMenuTray |
| 69 * |
69 * |
| 70 * @param menu_tray The PidginMenuTray |
70 * @menu_tray: The PidginMenuTray |
| 71 * |
71 * |
| 72 * @return The box that this menu tray is using |
72 * Returns: The box that this menu tray is using |
| 73 */ |
73 */ |
| 74 GtkWidget *pidgin_menu_tray_get_box(PidginMenuTray *menu_tray); |
74 GtkWidget *pidgin_menu_tray_get_box(PidginMenuTray *menu_tray); |
| 75 |
75 |
| 76 /** |
76 /** |
| 77 * Appends a widget into the tray |
77 * Appends a widget into the tray |
| 78 * |
78 * |
| 79 * @param menu_tray The tray |
79 * @menu_tray: The tray |
| 80 * @param widget The widget |
80 * @widget: The widget |
| 81 * @param tooltip The tooltip for this widget (widget requires its own X-window) |
81 * @tooltip: The tooltip for this widget (widget requires its own X-window) |
| 82 */ |
82 */ |
| 83 void pidgin_menu_tray_append(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
83 void pidgin_menu_tray_append(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
| 84 |
84 |
| 85 /** |
85 /** |
| 86 * Prepends a widget into the tray |
86 * Prepends a widget into the tray |
| 87 * |
87 * |
| 88 * @param menu_tray The tray |
88 * @menu_tray: The tray |
| 89 * @param widget The widget |
89 * @widget: The widget |
| 90 * @param tooltip The tooltip for this widget (widget requires its own X-window) |
90 * @tooltip: The tooltip for this widget (widget requires its own X-window) |
| 91 */ |
91 */ |
| 92 void pidgin_menu_tray_prepend(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
92 void pidgin_menu_tray_prepend(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
| 93 |
93 |
| 94 /** |
94 /** |
| 95 * Set the tooltip for a widget |
95 * Set the tooltip for a widget |
| 96 * |
96 * |
| 97 * @param menu_tray The tray |
97 * @menu_tray: The tray |
| 98 * @param widget The widget |
98 * @widget: The widget |
| 99 * @param tooltip The tooltip to set for the widget (widget requires its own X-window) |
99 * @tooltip: The tooltip to set for the widget (widget requires its own X-window) |
| 100 */ |
100 */ |
| 101 void pidgin_menu_tray_set_tooltip(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
101 void pidgin_menu_tray_set_tooltip(PidginMenuTray *menu_tray, GtkWidget *widget, const char *tooltip); |
| 102 |
102 |
| 103 G_END_DECLS |
103 G_END_DECLS |
| 104 |
104 |