comparison pidgin/gtkutils.h @ 19799:d5e2a4897bbc

Generic transience mechanism ... *shudder*
author Gabriel Schulhof <nix@go-nix.ca>
date Tue, 24 Jul 2007 19:54:26 +0000
parents 09b964413667
children e12bf2df9507
comparison
equal deleted inserted replaced
19798:13a779fe3f1e 19799:d5e2a4897bbc
61 PIDGIN_BROWSER_NEW_WINDOW, 61 PIDGIN_BROWSER_NEW_WINDOW,
62 PIDGIN_BROWSER_NEW_TAB 62 PIDGIN_BROWSER_NEW_TAB
63 63
64 } PidginBrowserPlace; 64 } PidginBrowserPlace;
65 #endif /* _WIN32 */ 65 #endif /* _WIN32 */
66
67 /**
68 * Designate new_toplevel as the preferred window for ensuring proper
69 * transience relationships for subsequent dialogs.
70 *
71 * @param new_toplevel The GtkWindow to be used for transience.
72 */
73 void pidgin_set_toplevel(GtkWindow *new_toplevel);
74
75 /**
76 * Retrieve the currently preferred toplevel window (set by a previous
77 * call top pidgin_set_toplevel()) and *not* since destroyed.
78 *
79 * @return The GtkWindow most recently given to pidgin_set_toplevel(), or #NULL.
80 * #NULL will be returned either if no toplevel has been set, or if the
81 * most recently set toplevel has since been destroyed.
82 */
83 GtkWindow *pidgin_get_toplevel();
66 84
67 /** 85 /**
68 * Sets up a gtkimhtml widget, loads it with smileys, and sets the 86 * Sets up a gtkimhtml widget, loads it with smileys, and sets the
69 * default signal handlers. 87 * default signal handlers.
70 * 88 *