Top | ![]() |
![]() |
![]() |
![]() |
TeplApplication extends the GtkApplication class.
Note that TeplApplication 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.
TeplApplication *
tepl_application_get_from_gtk_application
(GtkApplication *gtk_app
);
Returns the TeplApplication of gtk_app
. The returned object is guaranteed
to be the same for the lifetime of gtk_app
.
Since: 2.0
TeplApplication *
tepl_application_get_default (void
);
Convenience function that calls g_application_get_default()
followed by
tepl_application_get_from_gtk_application()
. The object returned by
g_application_get_default()
must be a GtkApplication.
Since: 2.0
GtkApplication *
tepl_application_get_application (TeplApplication *tepl_app
);
Since: 2.0
AmtkActionInfoStore *
tepl_application_get_app_action_info_store
(TeplApplication *tepl_app
);
Returns an initially empty AmtkActionInfoStore reserved for the application-specific actions. Libraries should not add AmtkActionInfo's to this store. Libraries should provide their own store if they want to share AmtkActionInfo's.
Since: 2.0
AmtkActionInfoStore *
tepl_application_get_tepl_action_info_store
(TeplApplication *tepl_app
);
The returned AmtkActionInfoStore contains AmtkActionInfo's for all the GAction's listed in the class description of TeplApplicationWindow.
Since: 3.0
void tepl_application_open_simple (TeplApplication *tepl_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