| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Replace all uses on check buttons by the corresponding
check button api.
|
|
|
|
|
|
|
| |
Add a paragraph about running the example apps
uninstalled in the README, and verify that the
standalone Makefiles actually work. Hint: some
didn't.
|
|
|
|
|
|
|
| |
Rename GtkGridLayoutChild:left-attach/top-attach to
GtkGridLayoutChild:column/row. Update all users.
Fixes: #2967
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Most of the time show-title-buttons is set to TRUE. Go ahead and make that
the default.
|
|
|
|
|
|
|
| |
In 99.9% of all cases, these are just NULL, NULL.
So just do away with these arguments, people can
use the setters for the rare cases where they want
the scrolled window to use a different adjustment.
|
|
|
|
| |
The appmenu-related GtkApplication apis are going away.
|
| |
|
| |
|
| |
|
|
|
|
| |
These are all on GtkBox or enumerating children.
|
|
|
|
|
| |
Replace calls to gtk_widget_destroy on windows
with gtk_window_destroy.
|
|
|
|
|
|
|
|
|
| |
Redo this series of examples from 2013, and adapt it to modern
way of doing things. The biggest differences are that we use
a headerbar right from the start, and don't mention the app
menu.
Fixes: #2730
|
|
|
|
|
| |
This signal is a replacement for this (ab)use
of the ::size-allocate signal, which is going away.
|
|
|
|
|
| |
Replace all uses of gtk_container_add on overlays
by gtk_overlay_set_child.
|
| |
|
|
|
|
|
| |
Replace all uses of gtk_container_add on windows
by gtk_window_set_child.
|
|
|
|
|
| |
Replace all uses of gtk_container_add on popovers
by gtk_scrolled_window_set_child.
|
|
|
|
|
| |
Replace all uses of gtk_container_add for
frames with gtk_frame_set_child.
|
|
|
|
|
|
|
|
| |
Use window title, or custom title widget if it's set. Remove 'title'
property.
Update demos and tests to set the title on the window instead of
headerbar.
|
|
|
|
|
| |
Frames that don't draw frames are not very useful,
so just drop the shadow-type property.
|
|
|
|
|
|
| |
The only place where we are still using <Primary> is
in tests, to ensure we keep parsing it. Otherwise,
<Control> is now the preferred syntax.
|
|
|
|
|
|
| |
And fix all the warnings and errors generated by doing so.
See #2491
|
|
|
|
| |
Replace it with margin-start, -end, -top, -bottom throughout.
|
|
|
|
|
| |
Stop using gtk_main and gtk_main_quit in tests and
examples. These APIs are on the way out.
|
| |
|
|
|
|
|
| |
The name just made it hard for people to find the
right gesture to use.
|
|
|
|
|
| |
Replace all uses of gtk_widget_get_surface by
gtk_native_get_surface.
|
|
|
|
|
| |
These were leftovers from an earlier conversion
that did not properly strip empty elements.
|
| |
|
|
|
|
| |
Run gtk4-builder-tool simplify --3to4 over all ui files.
|
|
|
|
| |
Avoid duplicating GtkEditable APIs. Port existing users.
|
|
|
|
| |
More GtkSearchBar entry -> editable fixups.
|
|
|
|
| |
This conversion was done with the help of gtk4-builder-tool.
|
|\
| |
| |
| |
| | |
Drop GtkButtonBox
See merge request GNOME/gtk!554
|
| |
| |
| |
| |
| | |
This widget does not seem worth keeping,
and we want to get rid of child properties.
|
|/
|
|
|
| |
We dropped the '+' and the major.minor version from the pkg-config file
name.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
In search-bar example, we can use gtk_search_bar_set_key_capture_widget()
which would simplify handling keyboard events.
|
|
|
|
|
| |
The search entry was taking the whole window size.
Let's reduce the size so as to have more natural size.
|
| |
|
|
|
|
| |
Gtk4 added an icon-name property for GtkButton.
|
|
|
|
|
| |
We do have a gtk_text_buffer_get_line_count() function
to get the line count.
|
|
|
|
| |
In gtk4, widgets are visible by default.
|
|
|
|
|
|
|
|
|
| |
The last parameter of the signal callback from .ui
is the template's object from which the class is
derived.
And so, we already have access to the window object.
Let's just use it.
|
|
|
|
|
| |
Only derivable classes are required to have private members
so that derived classes can't override them.
|