Main Page | Directories | File List | File Members

hn-others-button.h

00001 /* -*- mode:C; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
00002 /*
00003  * This file is part of maemo-af-desktop
00004  *
00005  * Copyright (C) 2006 Nokia Corporation.
00006  *
00007  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00008  *
00009  * This library is free software; you can redistribute it and/or
00010  * modify it under the terms of the GNU Lesser General Public License
00011  * as published by the Free Software Foundation; either version 2.1 of
00012  * the License, or (at your option) any later version.
00013  *
00014  * This library is distributed in the hope that it will be useful, but
00015  * WITHOUT ANY WARRANTY; without even the implied warranty of
00016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00017  * Lesser General Public License for more details.
00018  *
00019  * You should have received a copy of the GNU Lesser General Public
00020  * License along with this library; if not, write to the Free Software
00021  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00022  * 02110-1301 USA
00023  *
00024  */
00025 
00034 #ifndef HN_OTHERS_BUTTON_H
00035 #define HN_OTHERS_BUTTON_H
00036 
00037 #include "hn-wm-types.h"
00038 
00039 #include <gtk/gtktogglebutton.h>
00040 
00041 G_BEGIN_DECLS
00042 
00043 #define HN_TYPE_OTHERS_BUTTON              (hn_others_button_get_type ())
00044 #define HN_OTHERS_BUTTON(obj)              (G_TYPE_CHECK_INSTANCE_CAST ((obj), HN_TYPE_OTHERS_BUTTON, HNOthersButton))
00045 #define HN_IS_OTHERS_BUTTON(obj)           (G_TYPE_CHECK_INSTANCE_TYPE ((obj), HN_TYPE_OTHERS_BUTTON))
00046 #define HN_OTHERS_BUTTON_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), HN_TYPE_OTHERS_BUTTON, HNOthersButtonClass))
00047 #define HN_IS_OTHERS_BUTTON_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), HN_TYPE_OTHERS_BUTTON))
00048 #define HN_OTHERS_BUTTON_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), HN_TYPE_OTHERS_BUTTON, HNOthersButtonClass))
00049 
00050 typedef struct _HNOthersButton        HNOthersButton;
00051 typedef struct _HNOthersButtonPrivate HNOthersButtonPrivate;
00052 typedef struct _HNOthersButtonClass   HNOthersButtonClass;
00053 
00054 struct _HNOthersButton
00055 {
00056   GtkToggleButton parent_instance;
00057   HNOthersButtonPrivate *priv;
00058 };
00059 
00060 struct _HNOthersButtonClass
00061 {
00062   GtkToggleButtonClass parent_class;
00063 };
00064 
00065 GType hn_others_button_get_type (void) G_GNUC_CONST;
00066 
00067 GtkWidget *  hn_others_button_new                  (void);
00068 void         hn_others_button_dnotify_register     (HNOthersButton * button);
00069 void         hn_others_button_close_menu       (HNOthersButton * button);
00070 
00071 G_END_DECLS
00072 #endif /*HN_OTHERS_BUTTON_H*/

Generated on Thu Dec 21 11:26:51 2006 for maemo-af-desktop-documentation by  doxygen 1.4.2