| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The conversion was done by guard2one.
|
|
|
|
| |
Replace leftover gtk-doc syntax (#Type) with backquotes.
|
|
|
|
|
|
| |
This is needed for terminal emulators.
Fixes: #3727
|
|
|
|
|
| |
GtkWindowGeometryInfo is only used by static methods in gtkwindow.c
so it doesn't need to be in the public header file.
|
|
|
|
|
| |
It was still in the headers and the docs, but did
not have an implementation anymore.
|
|
|
|
|
| |
This makes it possible to set 'fullscreen' to 'true' in a .ui file to
start an application in fullscreen mode.
|
|
|
|
|
| |
Use gtk_window_set_default_size() or change the size of the widget
inside the window to get the same effect.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is a replacement for gtk_widget_destroy for toplevels.
For now, it is just a wrapper.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
|
| |
This reverts commit 3ac4c76b18cc89a841ce09f0943539f16988fd21, reversing
changes made to 6ec96d2e989d029a303b8b20ec72b86f974c0e87.
|
| |
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
We don't use these, and they are only implemented on X11.
|
| |
|
|
|
|
|
| |
This is an X11-only concept that we don't have
on Wayland.
|
|
|
|
| |
We are no longer attaching windows to widgets.
|
| |
|
|
|
|
|
| |
These are just simple wrappers around GdkSurface
api, and we don't need them.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
And remove code that was making decisions on the type and just use
the part for toplevels.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is heavily using global coordinates, and
can't be guaranteed to work across wms / platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
This api has been replaced by an action that
can be activated with gtk_widget_activate_action.
|
|
|
|
|
|
| |
Call it gtk_window_set_default_widget, to match
the getter, and the property name. Update all
callers.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This was forgotten in fed2db1493606342.
|
|
|
|
|
|
|
|
|
| |
...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.
|
|
|
|
|
|
| |
This was used to interpret the position passed
to gtk_window_move. Since that is gone, gravity
is no longer useful.
|
|
|
|
|
| |
These functions operate with global coordinates,
which are not available on Wayland.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The focus-widget is now a property, so we don't need
this signal anymore.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
And expect gtk_window_present_with_time() to be used instead.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Not all backends support setting window icons from raw pixel data, so
remove the public API in GtkWindow for it.
|
|
|
|
| |
This one returns a list of all toplevel windows.
|