tEnums and placeholder function created to support gtk_frame_set_shadow_type un… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a9cbba58a735667178c125a56ae735bac45661e2 | |
parent f2389c43adcb2fa396a1c7a246a3f2cd31f781d9 | |
Author: Ben Webb <[email protected]> | |
Date: Mon, 8 Apr 2002 13:08:41 +0000 | |
Enums and placeholder function created to support gtk_frame_set_shadow_type | |
under Win32. | |
Diffstat: | |
M src/gtkport/gtkport.c | 4 ++++ | |
M src/gtkport/gtkport.h | 10 ++++++++++ | |
2 files changed, 14 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c | |
t@@ -1571,6 +1571,10 @@ void gtk_frame_set_size(GtkWidget *widget, GtkAllocatio… | |
gtk_container_set_size(widget, &child_alloc); | |
} | |
+void gtk_frame_set_shadow_type (GtkFrame *frame, GtkShadowType type) | |
+{ | |
+} | |
+ | |
void gtk_container_size_request(GtkWidget *widget, | |
GtkRequisition *requisition) | |
{ | |
diff --git a/src/gtkport/gtkport.h b/src/gtkport/gtkport.h | |
t@@ -101,6 +101,15 @@ typedef enum { | |
GDK_INPUT_EXCEPTION = 1 << 2 | |
} GdkInputCondition; | |
+typedef enum | |
+{ | |
+ GTK_SHADOW_NONE, | |
+ GTK_SHADOW_IN, | |
+ GTK_SHADOW_OUT, | |
+ GTK_SHADOW_ETCHED_IN, | |
+ GTK_SHADOW_ETCHED_OUT | |
+} GtkShadowType; | |
+ | |
#define GDK_KP_0 0xFFB0 | |
#define GDK_KP_1 0xFFB1 | |
#define GDK_KP_2 0xFFB2 | |
t@@ -573,6 +582,7 @@ GtkWidget *gtk_radio_button_new_with_label(GSList *group, | |
GtkWidget *gtk_radio_button_new_with_label_from_widget(GtkRadioButton *group, | |
const gchar *label); | |
GtkWidget *gtk_frame_new(const gchar *text); | |
+void gtk_frame_set_shadow_type (GtkFrame *frame, GtkShadowType type); | |
GtkWidget *gtk_text_new(GtkAdjustment *hadj, GtkAdjustment *vadj); | |
GtkWidget *gtk_entry_new(); | |
void gtk_entry_set_visibility(GtkEntry *entry, gboolean visible); |