diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-19 14:09:11 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-19 19:51:45 -0500 |
commit | a07a3a82e978b719d6a07329a56ea013329688a9 (patch) | |
tree | 371157c960db200a2698bbf53565956ed5155faf /libgd.m4 | |
parent | 1223eade34911247d480f1ff3324b7c5cdc52191 (diff) | |
download | libgd-a07a3a82e978b719d6a07329a56ea013329688a9.tar.gz |
Introduce GdHeaderButton
GdHeaderButton is a simple interface for buttons on header bars and main
toolbars.
The interface allows to get/set a label, a symbolic icon name, and
control whether the label should use Pango markup.
Three base classes are available, for simple, toggle and menu buttons,
which will automatically set appropriate style classes according to the
property values and the type of button.
Diffstat (limited to 'libgd.m4')
-rw-r--r-- | libgd.m4 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -81,15 +81,23 @@ AC_DEFUN([LIBGD_INIT], [ # main-toolbar: AM_CONDITIONAL([LIBGD_MAIN_TOOLBAR],[_LIBGD_IF_OPTION_SET([main-toolbar],[true],[false])]) _LIBGD_IF_OPTION_SET([main-toolbar],[ + _LIBGD_SET_OPTION([_header-button]) AC_DEFINE([LIBGD_MAIN_TOOLBAR], [1], [Description]) ]) # header-bar: AM_CONDITIONAL([LIBGD_HEADER_BAR],[_LIBGD_IF_OPTION_SET([header-bar],[true],[false])]) _LIBGD_IF_OPTION_SET([header-bar],[ + _LIBGD_SET_OPTION([_header-button]) AC_DEFINE([LIBGD_HEADER_BAR], [1], [Description]) ]) + # _header-button: + AM_CONDITIONAL([LIBGD__HEADER_BUTTON],[_LIBGD_IF_OPTION_SET([_header-button],[true],[false])]) + _LIBGD_IF_OPTION_SET([_header-button],[ + AC_DEFINE([LIBGD__HEADER_BUTTON], [1], [Description]) + ]) + # margin-container: AM_CONDITIONAL([LIBGD_MARGIN_CONTAINER],[_LIBGD_IF_OPTION_SET([margin-container],[true],[false])]) _LIBGD_IF_OPTION_SET([margin-container],[ |