Main Page | Modules | File List

mbutil.h

00001 #ifndef _MBUTIL_H_ 00002 #define _MBUTIL_H_ 00003 00004 /* libmb 00005 * Copyright (C) 2002 Matthew Allum 00006 * 00007 * This library is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2 of the License, or (at your option) any later version. 00011 * 00012 * This library is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this library; if not, write to the 00019 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00020 * Boston, MA 02111-1307, USA. 00021 */ 00022 00023 #include <stdio.h> 00024 #include <unistd.h> 00025 #include <stdlib.h> 00026 #include <string.h> 00027 #include <sys/types.h> 00028 #include <sys/stat.h> 00029 #include <dirent.h> 00030 #include <signal.h> 00031 #include <errno.h> 00032 #include <sys/wait.h> 00033 00034 #include <X11/Xlib.h> 00035 #include <X11/Xutil.h> 00036 #include <X11/Xatom.h> 00037 00038 #include "libmb/mbconfig.h" 00039 00053 int mb_exec (const char *cmd); 00054 00062 Window mb_single_instance_get_window(Display *dpy, const char *bin_name); 00063 00071 Bool mb_single_instance_is_starting(Display *dpy, const char *bin_name); 00072 00079 void mb_util_window_activate(Display *dpy, Window win); 00080 00087 Pixmap mb_util_get_root_pixmap(Display *dpy); 00088 00096 char *mb_util_get_theme_full_path(const char *theme_name); 00097 00099 void 00100 mb_util_animate_startup(Display *dpy, 00101 int x, 00102 int y, 00103 int width, 00104 int height); 00105 00106 00109 #endif

Generated on Fri Jul 16 03:29:21 2004 for LibMB by doxygen 1.3.7