You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

46 lines
1.8 KiB

  1. /*
  2. * Copyright (C) 2009-2010 Nick Schermer <nick@xfce.org>
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __PANEL_BUILDER_H__
  19. #define __PANEL_BUILDER_H__
  20. #include <gtk/gtk.h>
  21. #include <libxfce4panel/libxfce4panel.h>
  22. /* Hook to make sure GtkBuilder knows are the XfceTitledDialog object */
  23. #define PANEL_UTILS_LINK_4UI \
  24. if (xfce_titled_dialog_get_type () == 0) \
  25. return;
  26. GtkBuilder *panel_utils_builder_new (XfcePanelPlugin *panel_plugin,
  27. const gchar *buffer,
  28. gsize length,
  29. GObject **dialog_return) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
  30. void panel_utils_show_help (GtkWindow *parent,
  31. const gchar *page,
  32. const gchar *offset);
  33. gboolean panel_utils_grab_available (void);
  34. void panel_utils_set_atk_info (GtkWidget *widget,
  35. const gchar *name,
  36. const gchar *description);
  37. #endif /* !__PANEL_BUILDER_H__ */