summaryrefslogtreecommitdiff
path: root/gtk/gtkwindow.h
Commit message (Collapse)AuthorAgeFilesLines
* Convert headers to #pragma onceMatthias Clasen2023-03-311-3/+1
| | | | The conversion was done by guard2one.
* gtk: Clean up docs syntaxMatthias Clasen2021-05-221-2/+2
| | | | Replace leftover gtk-doc syntax (#Type) with backquotes.
* window: Add a way to disable F10 shortcutMatthias Clasen2021-03-141-0/+6
| | | | | | This is needed for terminal emulators. Fixes: #3727
* gtk/window: remove GtkWindowGeometryInfo from public header fileDavid Lechner2020-12-301-1/+0
| | | | | GtkWindowGeometryInfo is only used by static methods in gtkwindow.c so it doesn't need to be in the public header file.
* Properly remove gtk_window_get_sizeMatthias Clasen2020-12-071-4/+0
| | | | | It was still in the headers and the docs, but did not have an implementation anymore.
* gtk/window: Add 'fullscreen' prop and gtk_window_is_fullscreen()Jonas Ådahl2020-12-071-0/+3
| | | | | This makes it possible to set 'fullscreen' to 'true' in a .ui file to start an application in fullscreen mode.
* gtk/window: Remove gtk_window_resize()Jonas Ådahl2020-12-071-4/+0
| | | | | Use gtk_window_set_default_size() or change the size of the widget inside the window to get the same effect.
* Replace "gchar" with "char"Benjamin Otte2020-07-251-7/+7
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-8/+8
|
* window: Remove _set_has_user_ref_countMatthias Clasen2020-05-111-3/+0
|
* window: Add gtk_window_destroyMatthias Clasen2020-05-111-0/+3
| | | | | This is a replacement for gtk_widget_destroy for toplevels. For now, it is just a wrapper.
* window: Derive from GtkWidgetMatthias Clasen2020-05-041-3/+3
| | | | | | | | | | | | | | | | | We want to remove GtkBin and GtkContainer as they don't provide much useful functionality anymore. This requires us to move get_request_mode and compute_expand down. Update the accessible implementation to match, remove remnants of container implementations in GtkWindow subclasses, and fix livecycle issues around destroy vs dispose in GtkAssistant. After this commit, using gtk_container_add on window subclasses is not allowed anymore, but adding childing with <child> in ui files still works. See #2681
* window: Add a child propertyMatthias Clasen2020-05-041-0/+6
|
* accels: Remove GtkAccelGroupBenjamin Otte2020-03-251-6/+0
|
* window: Remove all old mnemonic handling APIEmmanuele Bassi2020-03-251-14/+0
|
* window: Get rid of public APIs that shouldn't beBenjamin Otte2020-03-251-11/+0
| | | | | | Event controllers should have replaced all of them. And if they haven't, apps need to fix their code (I'm looking at you Gimp).
* Revert "Merge branch 'disable-window-test' into 'master'"Matthias Clasen2020-03-191-0/+31
| | | | | This reverts commit 3ac4c76b18cc89a841ce09f0943539f16988fd21, reversing changes made to 6ec96d2e989d029a303b8b20ec72b86f974c0e87.
* accels: Remove GtkAccelGroupBenjamin Otte2020-03-181-6/+0
|
* window: Remove all old mnemonic handling APIEmmanuele Bassi2020-03-181-14/+0
|
* window: Get rid of public APIs that shouldn't beBenjamin Otte2020-03-181-11/+0
| | | | | | Event controllers should have replaced all of them. And if they haven't, apps need to fix their code (I'm looking at you Gimp).
* Drop focus-related propertiesMatthias Clasen2020-03-141-10/+0
| | | | We don't use these, and they are only implemented on X11.
* window: Drop keep above/belowMatthias Clasen2020-03-141-4/+0
|
* window: Drop stickyMatthias Clasen2020-03-141-4/+0
| | | | | This is an X11-only concept that we don't have on Wayland.
* window: Drop gtk_window_set_attached_toMatthias Clasen2020-03-141-5/+0
| | | | We are no longer attaching windows to widgets.
* window: Drop type hintsMatthias Clasen2020-03-111-5/+0
|
* Drop gtk_window_begin_move/resize_dragMatthias Clasen2020-03-111-14/+0
| | | | | These are just simple wrappers around GdkSurface api, and we don't need them.
* events: reorganize gettersMatthias Clasen2020-02-211-2/+2
| | | | | | | | | | Restructure the getters for event fields to be more targeted at particular event types. Update all callers, and replace all direct event struct access with getters. As a side-effect, this drops some unused getters.
* window: Remove GtkWindowType and window->typeBenjamin Otte2020-02-141-28/+0
| | | | | And remove code that was making decisions on the type and just use the part for toplevels.
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-1/+1
|
* Rename "iconify" to "minimize"Emmanuele Bassi2019-11-161-2/+2
| | | | | | The "iconified" state is mostly an X11-ism; every other platform calls this state "minimized" because it may not involve turning a window into an icon at all.
* window: Drop gtk_window_set_positionMatthias Clasen2019-05-291-26/+0
| | | | | This is heavily using global coordinates, and can't be guaranteed to work across wms / platforms.
* Padding reviewMatthias Clasen2019-05-191-5/+1
| | | | | | | | | | | | | | | Ensure that the class structs of all subclassable types have sufficient padding (standardizing on 8 slots, here). GtkApplication GtkWidget GtkContainer GtkWindow GtkDialog GtkApplicationWindow GtkToolItem GtkBin
* Drop gtk_window_activate_defaultMatthias Clasen2019-04-281-2/+0
| | | | | This api has been replaced by an action that can be activated with gtk_widget_activate_action.
* Rename gtk_window_set_defaultMatthias Clasen2019-04-281-1/+1
| | | | | | Call it gtk_window_set_default_widget, to match the getter, and the property name. Update all callers.
* Drop gtk_window_activate_focusMatthias Clasen2019-04-281-2/+0
| | | | | | | This api wasn't used anywhere in GTK. And since we've dropped the variant for the default widget, this one should go too. If it is needed, it should become and action too.
* window: Remove dropped api from headersMatthias Clasen2019-04-231-15/+0
| | | | This was forgotten in fed2db1493606342.
* Remove GtkWindow::roleMatthias Clasen2019-03-271-5/+0
| | | | | | | | | ...and the setter/getter for it. This is a very old X session management thing, and you will be hard-pressed to find a session manager that can make use of it, and even harder-pressed to find apps using it to their advantage.
* Remove GtkWindow::gravityMatthias Clasen2019-03-261-6/+0
| | | | | | This was used to interpret the position passed to gtk_window_move. Since that is gone, gravity is no longer useful.
* Drop gtk_window_move and gtk_window_get_positionMatthias Clasen2019-03-261-8/+0
| | | | | These functions operate with global coordinates, which are not available on Wayland.
* Avoid root coordinates in begin_drag/move apisMatthias Clasen2019-03-261-4/+4
| | | | | | | | | Change the all the begin_drag and begin_move apis in GdkSurface and GtkWindow to expect surface coordinates. Update the x11 implementation to translate to root coordinates where it matters. Wayland is ignoring the coordinates anyway.
* window: Remove ::set-focusMatthias Clasen2019-03-161-4/+0
| | | | | The focus-widget is now a property, so we don't need this signal anymore.
* window: Undo the deprection of gtk_window_presentMatthias Clasen2019-02-261-1/+1
| | | | | | | | After considerable discussion, we came to the conclusion that the convenience of this API wins over the correctness of gtk_window_present_with_time(), in particular since we don't have a good mechanism to carry timestamps from the events to the places where we present windows.
* window: Deprecate gtk_window_present()Bastien Nocera2019-02-251-1/+1
| | | | And expect gtk_window_present_with_time() to be used instead.
* window: Remove default icon listTimm Bäder2019-02-051-4/+0
|
* window: Remove icon listTimm Bäder2019-02-051-5/+0
|
* window: Remove set_default_iconTimm Bäder2019-02-051-2/+0
|
* window: Remove icon propertyTimm Bäder2019-02-051-5/+0
|
* window: Remove _set_default_icon_from_fileTimm Bäder2019-02-051-3/+0
|
* window: Remove set_icon_from_fileTimm Bäder2019-02-051-4/+0
| | | | | Not all backends support setting window icons from raw pixel data, so remove the public API in GtkWindow for it.
* window: Add gtk_window_get_toplevels()Benjamin Otte2018-09-161-0/+2
| | | | This one returns a list of all toplevel windows.