~ubuntu-branches/ubuntu/natty/xfce4-weather-plugin/natty-proposed

« back to all changes in this revision

Viewing changes to panel-plugin/config_dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Emanuele Rocca
  • Date: 2004-07-11 12:09:48 UTC
  • Revision ID: james.westby@ubuntu.com-20040711120948-l35brbd021chm9lv
Tags: upstream-0.3.9
ImportĀ upstreamĀ versionĀ 0.3.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CONFIG_DIALOG_H
 
2
#define CONFIG_DIALOG_H
 
3
 
 
4
#include "search_dialog.h"
 
5
#include "plugin.h"
 
6
#include <gtk/gtk.h>
 
7
 
 
8
#define OPTIONS_N 11
 
9
 
 
10
struct labeloption {
 
11
        gchar *name;
 
12
        enum datas number;
 
13
};
 
14
 
 
15
struct xfceweather_dialog {
 
16
        GtkWidget *dialog;
 
17
        GtkWidget *opt_unit;
 
18
        GtkWidget *txt_loc_code;
 
19
 
 
20
        GtkWidget *tooltip_yes;
 
21
        GtkWidget *tooltip_no;
 
22
 
 
23
        GtkWidget *opt_xmloption;
 
24
        GtkWidget *lst_xmloption;
 
25
        GtkListStore *mdl_xmloption;
 
26
 
 
27
        struct xfceweather_data *wd;
 
28
};
 
29
 
 
30
struct xfceweather_dialog *create_config_dialog(struct xfceweather_data *data,
 
31
                GtkContainer *container, 
 
32
                GtkWidget *done);
 
33
 
 
34
void set_callback_config_dialog(struct xfceweather_dialog *dialog, 
 
35
                void(cb)(struct xfceweather_data *));
 
36
#endif