summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
Commit message (Collapse)AuthorAgeFilesLines
* GtkApplication: add 'active-window' propertyRyan Lortie2012-08-201-0/+3
|
* application: Add unique IDs for GtkApplicationWindowChristian Persch2012-05-031-0/+4
| | | | | | This will allow to refer to specific GtkApplicationWindows remotely by ID. https://bugzilla.gnome.org/show_bug.cgi?id=674409
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtk: Use versioned deprecationsMatthias Clasen2012-02-271-0/+9
| | | | | | | This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions in 3.2 and 3.4.
* GtkApplication: simplify session quit handlingRyan Lortie2012-02-211-3/+1
| | | | | | | | Instead of firing a 'quit' signal and expecting the application to do something that will cause it to quit, just call the new g_application_quit() API for ourselves. https://bugzilla.gnome.org/show_bug.cgi?id=670485
* GtkApplication: remove end session APIRyan Lortie2012-02-211-10/+0
| | | | | | | | This seems a bit "too powerful" and unlikely to be used by most applications. Remove it from now, until someone comes up with a strong desire for it. https://bugzilla.gnome.org/show_bug.cgi?id=670485
* move menus over from GLibRyan Lortie2012-01-181-2/+2
| | | | | | | App menu and menubar are now properties of GtkApplication and their bus location is exported using X window properties. https://bugzilla.gnome.org/show_bug.cgi?id=668118
* Rename GtkApplicationEndStyleMatthias Clasen2012-01-101-4/+4
| | | | Call it EndSession to make it clearer what this is about.
* Simplify logout notification apiMatthias Clasen2012-01-101-6/+0
| | | | | | | | | We don't expose ::quit-requested as API anymore. Instead, we expect users to register inhibitors when needed. Without quit-requested, there is no need for ::quit-cancelled and gtk_application_quit_response anymore. We still emit ::quit when the application is about to quit.
* Add gtk_application_end_sessionMatthias Clasen2012-01-071-0/+10
| | | | | This function allows applications to request that the user session be ended by logout/shutdown/reboot.
* GtkApplication: Add an inhibit apiMatthias Clasen2012-01-071-0/+17
| | | | | | This lets applications block logout and similar actions ahead of time. Currently only implemented for D-Bus, but Windows has very similar API since Vista.
* GtkApplication: Add logout notificationMatthias Clasen2012-01-071-1/+9
| | | | | | | | | This is fairly basic, allowing applications to learn when the session manager is about to end the session, and possibly block this. The only implementation at this point is using the org.gnome.SessionManager D-Bus interface of gnome-session. It should be straightforward to port the EggSMClient implementations for Windows and OS X.
* GtkApplication: add menu APIRyan Lortie2011-12-191-1/+8
| | | | | | | We add the app-menu and menubar public APIs to GtkApplication while leaving the implementation in GApplication. The actual implementation will be moved soon.
* GtkApplication: Add API to install accelerators for actionsMatthias Clasen2011-12-191-0/+7
|
* Clean up includesMatthias Clasen2011-12-191-1/+0
|
* Whitespace fixesMatthias Clasen2011-12-191-9/+9
|
* Remove no-longer existing functionMatthias Clasen2011-12-191-1/+0
|
* GtkApplication: add a way to get the appmenuMatthias Clasen2011-12-191-0/+3
| | | | | This function either returns a GtkMenu or NULL. Still to do: detect if the app menu is externally handled.
* Remove an unneeded includeMatthias Clasen2011-12-191-1/+0
|
* GtkApplication: Add window-added/-removed signalsMatthias Clasen2011-05-311-1/+6
| | | | | | | This is useful to let unrelated parts of an application (or plugins) learn about the windows of an application. Based on a patch by Matt Barnes, https://bugzilla.gnome.org/show_bug.cgi?id=641087
* gtk: add missing class paddingMichael Natterer2011-01-251-1/+1
| | | | | | Sorry for this late ABI break, but the newly added style classes definitely need padding, so I can just as well add missing padding globally.
* Some GtkApplication cleanupsMatthias Clasen2010-10-231-3/+0
| | | | | Remove no-longer-needed vfuncs, no longer existing functions, and improve the docs here and there.
* GtkApplication: add gtk_application_get_windows()Ryan Lortie2010-10-191-1/+9
| | | | | Return a GList of the GtkWindow objects for each window that has the application set as its "application" property.
* GtkApplication rewriteRyan Lortie2010-10-191-49/+15
|
* Tons of transfer annotationsMatthias Clasen2010-09-211-4/+4
|
* [GtkApplication] Add gtk_application_get_windows()Jonh Wendell2010-07-051-12/+13
| | | | Closes #623598.
* application: Allow sub-classes to override the Window creationEmmanuele Bassi2010-06-171-5/+7
| | | | | | | | | | | | | | | | | | Sub-classes of GtkApplication might want to override the way an application window is created - for instance, to hook into GtkBuilder or to set up some basic UI or state. A new GtkApplication::create_window() virtual function is added to the GtkApplicationClass vtable, which returns the newly created GtkWindow. The gtk_application_create_window() function calls the vfunc and adds the returned window to the list of windows managed by the application instance. Calling gtk_application_add_window() will also set the default window, if one is not already set. This commit also removes a spurious g_object_ref_sink() on the newly created GtkWindow.
* [GtkApplication] Update for GApplication API changesColin Walters2010-06-161-3/+3
| | | | Move appid parameter first to match GApplication.
* [GtkApplication] Update for GApplication API changesColin Walters2010-06-141-2/+6
| | | | | | We now implement "quit" and "action" signals here. https://bugzilla.gnome.org/show_bug.cgi?id=621003
* Add GtkApplicationMatthias Clasen2010-06-071-0/+100
This is a work in progress to stub out an application class. The primary goal is to provide a mechanism for applications to export GtkActions, and there is a standard "Quit" action. This is based on GApplication. Future work: * Add a way to say "This is my application menubar", which gets put into all toplevel windows on non-OS-X, and into the top on OS X. * Support session management. * Support application settings. https://bugzilla.gnome.org/show_bug.cgi?id=127958