gwenhywfar  4.7.0beta
w_vspacer.c
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Sun May 16 2010
3  copyright : (C) 2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * Please see toplevel file COPYING for license details *
8  ***************************************************************************/
9 
10 
11 
12 
13 
14 static GWENHYWFAR_CB
17  int index,
18  int value,
19  int doSignal) {
20  GtkWidget *g;
21 
23  assert(g);
24 
25  switch(prop) {
27  gtk_widget_set_sensitive(GTK_WIDGET(g), (value==0)?FALSE:TRUE);
28  return 0;
29 
31  gtk_widget_grab_focus(GTK_WIDGET(g));
32  return 0;
33 
34  default:
35  break;
36  }
37 
39  "Function is not appropriate for this type of widget (%s)",
41  return GWEN_ERROR_INVALID;
42 }
43 
44 
45 
46 
47 static GWENHYWFAR_CB
50  int index,
51  int defaultValue) {
52  GtkWidget *g;
53 
55  assert(g);
56 
57  switch(prop) {
59  return (gtk_widget_get_sensitive(GTK_WIDGET(g))==TRUE)?1:0;
60 
62  return (gtk_widget_has_focus(GTK_WIDGET(g))==TRUE)?1:0;
63  return 0;
64 
65  default:
66  break;
67  }
68 
70  "Function is not appropriate for this type of widget (%s)",
72  return defaultValue;
73 }
74 
75 
76 
78  GtkWidget *g;
79  uint32_t flags;
80  GWEN_WIDGET *wParent;
81 
82  flags=GWEN_Widget_GetFlags(w);
83  wParent=GWEN_Widget_Tree_GetParent(w);
84 
85  g=gtk_vbox_new(FALSE, 0);
87 
90 
93 
94  if (wParent)
96 
97  return 0;
98 }
99 
100