forked from AuroraMiddleware/gtk
GtkApplicationWindow: more docs
This commit is contained in:
parent
762616dd75
commit
f10f3bc7e4
@ -347,8 +347,10 @@ gtk_application_window_real_forall_internal (GtkContainer *container,
|
||||
|
||||
|
||||
static void
|
||||
gtk_application_window_get_property (GObject *object, guint prop_id,
|
||||
GValue *value, GParamSpec *pspec)
|
||||
gtk_application_window_get_property (GObject *object,
|
||||
guint prop_id,
|
||||
GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GtkApplicationWindow *window = GTK_APPLICATION_WINDOW (object);
|
||||
|
||||
@ -364,8 +366,10 @@ gtk_application_window_get_property (GObject *object, guint prop_id,
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_application_window_set_property (GObject *object, guint prop_id,
|
||||
const GValue *value, GParamSpec *pspec)
|
||||
gtk_application_window_set_property (GObject *object,
|
||||
guint prop_id,
|
||||
const GValue *value,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
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));
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_application_window_new:
|
||||
* @application: a #GtkApplication
|
||||
*
|
||||
* Creates a new #GtkApplicationWindow.
|
||||
*
|
||||
* Returns: a newly created #GtkApplicationWindow
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
GtkWidget *
|
||||
gtk_application_window_new (GtkApplication *application)
|
||||
{
|
||||
@ -908,3 +922,5 @@ gtk_application_window_get_app_menu (GtkApplicationWindow *window)
|
||||
|
||||
return menu;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user