Stripped Down Zenity For MCPI-Reborn
This repository has been archived on 2024-11-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
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
data Bug #667711 - man page points to nonexisting doc 2013-11-23 21:02:29 -02:00
help Updated Swedish translation 2015-03-15 21:07:39 +00:00
m4 Update autotools configuration 2011-02-15 21:20:50 +00:00
po Updated Russian translation 2015-03-31 20:05:30 +00:00
src ADD gchar **extra_label TO struct ZenityData 2015-04-21 13:00:44 +02:00
.bzrignore Added Finnish translation Added screenshots Added translated screenshot 2008-09-18 19:35:06 +00:00
.cvsignore move to automake 1.9 and several cleanups (Fixes bug #341056). Patch from 2006-05-10 03:37:14 +00:00
AUTHORS Update text files to reflect zenity in year 2010. 2010-05-28 00:59:10 +01:00
autogen.sh autogen.sh: Use configure.ac instead configura.in 2011-02-15 21:23:13 +00:00
ChangeLog Add ChangeLog with commit message instructions 2009-08-10 22:04:47 +01:00
ChangeLog.pre-git Rename ChangeLog to ChangeLog.pre-git 2009-08-10 22:04:47 +01:00
configure.ac Bump to 3.16.1 2015-04-21 09:43:56 +02:00
COPYING revert back to GNU LGPL. 2006-12-02 11:05:10 +00:00
HACKING Update text files to reflect zenity in year 2010. 2010-05-28 00:59:10 +01:00
MAINTAINERS Update text files to reflect zenity in year 2010. 2010-05-28 00:59:10 +01:00
Makefile.am Port to new documentation infrastructure 2012-08-21 19:17:12 -03:00
NEWS Bump to 3.16.1 2015-04-21 09:43:56 +02:00
README Update text files to reflect zenity in year 2010. 2010-05-28 00:59:10 +01:00
THANKS Update text files to reflect zenity in year 2010. 2010-05-28 00:59:10 +01:00
TODO add a Zenity wiki page reference. 2005-09-17 03:06:51 +00:00
zenity.doap doap: add <programming-language> 2014-07-31 20:04:19 +02:00

Zen Understanding -
===================
This is zenity - a rewrite of gdialog, the GNOME port of dialog
which allows you to display dialog boxes from the commandline
and shell scripts. If you understand, things are just as they 
are. If you don't understand, things are just as they are.

This software is licensed under the LGPL.

Zen Requirements -
==================
scrollkeeper and intltool.
gtk+-2.0