00001 /* 00002 lkmonitor (Linux Kernel Monitor) 00003 00004 Application for monitoring and tuning a Linux kernel. 00005 00006 Copyright (C) 2005,2006 Fernando ApesteguĂa 00007 00008 This program is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU General Public License 00010 as published by the Free Software Foundation; either version 2 00011 of the License, or (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program; if not, write to the Free Software 00020 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00021 */ 00022 00023 #include <gnome.h> 00024 00025 /* 00026 * Public Functions. 00027 */ 00028 00029 /* 00030 * This function returns a widget in a component created by Glade. 00031 * Call it with the toplevel widget in the component (i.e. a window/dialog), 00032 * or alternatively any widget in the component, and the name of the widget 00033 * you want returned. 00034 */ 00035 GtkWidget* lookup_widget (GtkWidget *widget, 00036 const gchar *widget_name); 00037 00038 00039 00040 /* 00041 * Private Functions. 00042 */ 00043 00044 /* This is used to create the pixmaps used in the interface. */ 00045 GtkWidget* create_pixmap (GtkWidget *widget, 00046 const gchar *filename); 00047 00048 /* This is used to create the pixbufs used in the interface. */ 00049 GdkPixbuf* create_pixbuf (const gchar *filename); 00050 00051 /* This is used to set ATK action descriptions. */ 00052 void glade_set_atk_action_description (AtkAction *action, 00053 const gchar *action_name, 00054 const gchar *description);