entry.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005, Ian Paul Larsen 
00003  *
00004  * Permission is hereby granted, free of charge, to any person obtaining 
00005  * a copy of this software and associated documentation files (the "Software"), 
00006  * to deal in the Software without restriction, including without limitation 
00007  * the rights to use, copy, modify, merge, publish, distribute, sublicense, 
00008  * and/or sell copies of the Software, and to permit persons to whom the 
00009  * Software is furnished to do so, subject to the following conditions:
00010  *
00011  * The above copyright notice and this permission notice shall be included 
00012  * in all copies or substantial portions of the Software.
00013  *
00014  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 
00015  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00016  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
00017  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR 
00018  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 
00019  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 
00020  * OTHER DEALINGS IN THE SOFTWARE. 
00021  */
00022 
00029 #ifndef __ENTRY_H
00030 #define __ENTRY_H
00031 
00032 #include "ntw.h"
00033 
00038 char *
00039 ntw_entry_get_text(ntwWidget *widget);
00040 
00047 int
00048 ntw_entry_set_text(ntwWidget *widget, char *text);
00049 
00055 uint8
00056 ntw_entry_get_editable(ntwWidget *widget);
00057 
00064 int
00065 ntw_entry_set_editable(ntwWidget *widget, uint8 editable);
00066 
00072 int32
00073 ntw_entry_get_max_length(ntwWidget *widget);
00074 
00081 int
00082 ntw_entry_set_max_length(ntwWidget *widget, int32 max_length);
00083 
00089 uint8
00090 ntw_entry_get_visibility(ntwWidget *widget);
00091 
00098 int
00099 ntw_entry_set_visibility(ntwWidget *widget, uint8 visibility);
00100 
00104 ntwWidget *
00105 ntw_entry_new();
00106 
00107 
00108 void
00109 ntw_entry_initialize_callback();
00110 
00111 #endif

Generated on Wed Jun 28 17:00:07 2006 for NTW Server C Library by  doxygen 1.4.6