/* AntiRight (c) 2002-2005 Jeffrey Bedard jefbed@e-list.net This file is part of AntiRight. AntiRight is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. AntiRight is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with AntiRight; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef AR_RESOURCE_H #define AR_RESOURCE_H void antiright_xmstring_resource(Widget widget, String name, char *string); /* This sets a widget's value before creation. The resource arguments are stored in antiright_arguments. The number of arguments are stored in antiright_number_arguments. */ void antiright_set(String name, /* This is the resource name. */ XtArgVal value); /* This is the value of the resource. If it is a variable, it will have to be casted to XtArgVal. */ /* This function sets the resource values of WIDGET to the ones contained in antiright.arguments. */ void antiright_set_values(Widget widget); /* This gets the resource values of WIDGET. */ void antiright_get_values(Widget widget); /* This sets the tooltip, if available, of WIDGET. */ void antiright_set_tooltip(Widget widget, char *tooltip_string); #endif /* AR_RESOURCE_H */