dropdownbox.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile: dropdownbox.h,v $
00003                              -------------------
00004     cvs         : $Id: dropdownbox.h,v 1.1 2004/08/06 06:28:48 aquamaniac Exp $
00005     begin       : Mon Feb 09 2004
00006     copyright   : (C) 2004 by Martin Preuss
00007     email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *                                                                         *
00011  *   This library is free software; you can redistribute it and/or         *
00012  *   modify it under the terms of the GNU Lesser General Public            *
00013  *   License as published by the Free Software Foundation; either          *
00014  *   version 2.1 of the License, or (at your option) any later version.    *
00015  *                                                                         *
00016  *   This library is distributed in the hope that it will be useful,       *
00017  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00018  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     *
00019  *   Lesser General Public License for more details.                       *
00020  *                                                                         *
00021  *   You should have received a copy of the GNU Lesser General Public      *
00022  *   License along with this library; if not, write to the Free Software   *
00023  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston,                 *
00024  *   MA  02111-1307  USA                                                   *
00025  *                                                                         *
00026  ***************************************************************************/
00027 
00028 #ifndef GWEN_UI_DROPDOWNBOX_H
00029 #define GWEN_UI_DROPDOWNBOX_H
00030 
00031 #include <gwenhywfar/misc.h>
00032 #include <gwenhywfar/inherit.h>
00033 #include <gwenhywfar/ui/widget.h>
00034 #include <gwenhywfar/stringlist.h>
00035 #include <gwenhywfar/buffer.h>
00036 
00037 
00038 #define GWEN_DROPDOWNBOX_FLAGS_EDIT 0x00010000
00039 
00040 
00041 
00042 GWEN_WIDGET *GWEN_DropDownBox_new(GWEN_WIDGET *parent,
00043                                   GWEN_TYPE_UINT32 flags,
00044                                   const char *name,
00045                                   int x, int y,
00046                                   int width, int height,
00047                                   const GWEN_STRINGLIST *sl);
00048 
00049 GWEN_BUFFER *GWEN_DropDownBox_GetText(const GWEN_WIDGET *w, int asAscii);
00050 
00051 int GWEN_DropDownBox_AddChoice(GWEN_WIDGET *w, const char *s);
00052 
00053 
00054 #endif
00055 
00056 
00057 
00058 
00059 

Generated on Wed Mar 8 22:38:26 2006 for gwenhywfar by  doxygen 1.4.6