Top | ![]() |
![]() |
![]() |
![]() |
GtefApplication extends the GtkApplication class.
Note that GtefApplication extends the GtkApplication class but without subclassing it, because several libraries might want to extend GtkApplication and an application needs to be able to use all those extensions at the same time.
GtefApplication *
gtef_application_get_from_gtk_application
(GtkApplication *gtk_app
);
Returns the GtefApplication of gtk_app
. The returned object is guaranteed
to be the same for the lifetime of gtk_app
.
Since: 2.0
GtefApplication *
gtef_application_get_default (void
);
Convenience function that calls g_application_get_default()
followed by
gtef_application_get_from_gtk_application()
. The object returned by
g_application_get_default()
must be a GtkApplication.
Since: 2.0
GtkApplication *
gtef_application_get_application (GtefApplication *gtef_app
);
Since: 2.0
GtefActionInfoStore *
gtef_application_get_app_action_info_store
(GtefApplication *gtef_app
);
Returns an initially empty GtefActionInfoStore reserved for the application-specific actions. Libraries should not add GtefActionInfo's to this store. Libraries should provide their own store if they want to share GtefActionInfo's.
Since: 2.0
void gtef_application_open_simple (GtefApplication *gtef_app
,GFile *file
);
Calls g_application_open()
with a single file and an empty hint.
Since: 2.0
“application”
property“application” GtkApplication *
The GtkApplication.
Flags: Read / Write / Construct Only
Since: 2.0