Signal patch
[dia.git] / lib / prop_widgets.h
blob1bb775af4dfec64744178f538d1ef690f241e915
1 /* Dia -- a diagram creation/manipulation program -*- c -*-
2 * Copyright (C) 1998 Alexander Larsson
4 * Property system for dia objects/shapes.
5 * Copyright (C) 2000 James Henstridge
6 * Copyright (C) 2001 Cyrille Chepelov
7 * Major restructuration done in August 2001 by C. Chepelov
9 * Property types for "widget" types (static, buttons, notebooks, frames, etc.)
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 #ifndef PROP_WIDGETS_H
26 #define PROP_WIDGETS_H
28 #include "properties.h"
29 #include "dia_xml.h"
30 #include "text.h"
33 typedef struct {
34 Property common;
35 } StaticProperty;
37 typedef struct {
38 Property common;
39 } ButtonProperty;
41 typedef struct {
42 Property common;
43 gboolean collapsible;
44 gboolean collapsed;
45 } FrameProperty;
47 typedef struct {
48 Property common;
49 } MulticolProperty;
51 typedef struct {
52 Property common;
53 } NotebookProperty;
55 typedef struct {
56 Property common;
57 gint selected;
58 GPtrArray *lines;
59 gint w_selected;
60 } ListProperty;
62 void prop_widgets_register(void);
64 #endif