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.
 
 
 
 
 

50 lines
2.1 KiB

  1. /*
  2. * Copyright (C) 2006-2007 Jasper Huijsmans <jasper@xfce.org>
  3. * Copyright (C) 2008-2010 Nick Schermer <nick@xfce.org>
  4. *
  5. * This library is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU Lesser General Public
  7. * License as published by the Free Software Foundation; either
  8. * version 2.1 of the License, or (at your option) any later version.
  9. *
  10. * This library is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. * Lesser General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU Lesser General Public
  16. * License along with this library; if not, write to the Free Software
  17. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  18. */
  19. /* #if !defined(LIBXFCE4PANEL_INSIDE_LIBXFCE4PANEL_H) && !defined(LIBXFCE4PANEL_COMPILATION)
  20. #error "Only <libxfce4panel/libxfce4panel.h> can be included directly, this file may disappear or change contents"
  21. #endif */
  22. #ifndef __XFCE_PANEL_CONVENIENCE_H__
  23. #define __XFCE_PANEL_CONVENIENCE_H__
  24. #include <gtk/gtk.h>
  25. #include <libxfce4panel/xfce-panel-macros-46.h>
  26. G_BEGIN_DECLS
  27. GtkWidget *xfce_panel_create_button (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
  28. GtkWidget *xfce_panel_create_toggle_button (void) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
  29. const gchar *xfce_panel_get_channel_name (void);
  30. GdkPixbuf *xfce_panel_pixbuf_from_source_at_size (const gchar *source,
  31. GtkIconTheme *icon_theme,
  32. gint dest_width,
  33. gint dest_height) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
  34. GdkPixbuf *xfce_panel_pixbuf_from_source (const gchar *source,
  35. GtkIconTheme *icon_theme,
  36. gint size) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
  37. G_END_DECLS
  38. #endif /* !__XFCE_PANEL_CONVENIENCE_H__ */