GtkApplicationWindow: more docs

This commit is contained in:
Matthias Clasen 2011-11-30 23:59:32 -05:00 committed by Ryan Lortie
parent 762616dd75
commit f10f3bc7e4

View File

@ -347,8 +347,10 @@ gtk_application_window_real_forall_internal (GtkContainer *container,
static void static void
gtk_application_window_get_property (GObject *object, guint prop_id, gtk_application_window_get_property (GObject *object,
GValue *value, GParamSpec *pspec) guint prop_id,
GValue *value,
GParamSpec *pspec)
{ {
GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (object); GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (object);
@ -364,8 +366,10 @@ gtk_application_window_get_property (GObject *object, guint prop_id,
} }
static void static void
gtk_application_window_set_property (GObject *object, guint prop_id, gtk_application_window_set_property (GObject *object,
const GValue *value, GParamSpec *pspec) guint prop_id,
const GValue *value,
GParamSpec *pspec)
{ {
GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (object); GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (object);
@ -441,6 +445,16 @@ gtk_application_window_class_init (GtkApplicationWindowClass *class)
g_type_class_add_private (class, sizeof (GtkApplicationWindowPrivate)); g_type_class_add_private (class, sizeof (GtkApplicationWindowPrivate));
} }
/**
* gtk_application_window_new:
* @application: a #GtkApplication
*
* Creates a new #GtkApplicationWindow.
*
* Returns: a newly created #GtkApplicationWindow
*
* Since: 3.4
*/
GtkWidget * GtkWidget *
gtk_application_window_new (GtkApplication *application) gtk_application_window_new (GtkApplication *application)
{ {
@ -908,3 +922,5 @@ gtk_application_window_get_app_menu (GtkApplicationWindow *window)
return menu; return menu;
} }