zenity/src
Gama Anderson ba5ea0386d ADD gchar **extra_label TO struct ZenityData
this is done to keep the name of the extra buttons

ADD general option "extra-button" with string array as argument

	This will upon consecutive calls save the name of buttons in an array of strings

To all MODES, except notification.c and about.c ADD
  if (data->extra_label) {
    gint i=0;
    while(data->extra_label[i]!=NULL){
      gtk_dialog_add_button (GTK_DIALOG (dialog), data->extra_label[i], i);
      i++;
    }
  }

	This add the extra buttons to the dialog. The response is the number of the button

To all MODES response, except notification.c and about.c ADD
    default:
      if (response < g_strv_length(zen_data->extra_label))
        printf("%s\n",zen_data->extra_label[response]);

	This will print the button name to stdout when they are pressed

ADD question option "switch"

	This will suppress the standard "ok" and "cancel" button in question. This just wort in combination with --extra-button, otherwise error is raised.

	https://bugzilla.gnome.org/show_bug.cgi?id=118016
2015-04-21 13:00:44 +02:00
..
.cvsignore Up the gicker. 2004-07-19 01:01:58 +00:00
about.c Remove deprecated methods. 2014-05-16 18:06:21 -03:00
calendar.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
color.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
entry.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
fileselection.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
forms.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
gdialog.in Fix quote and output bugs in the gdialog wrapper #128149. 2003-12-01 23:27:45 +00:00
main.c Adding missed files and code for --forms option. 2011-01-17 12:20:21 -02:00
Makefile.am Enable html support in --text-info option. This fix bug #598655, thanks for the work from Francis Meyvis francis.meyvis at gmail dot com. Two new options in --text-info: * --html - enable HTML support. * --url - load an url 2011-07-19 14:39:05 -03:00
msg.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
notification.c Don't quit zenity when the input stream is closed 2014-10-21 11:24:45 +02:00
option.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
option.h Updated FSF's address 2014-01-31 14:24:40 +01:00
password.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
progress.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
scale.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
text.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
tree.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
util.c ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
util.h allow build if GDK_WINDOWING_X11 not set 2015-04-21 11:00:41 +02:00
zenity.h ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
zenity.ui Bug #700249 - Progress dialog does not wrap 2014-10-22 15:35:22 +02:00