| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
These are all on GtkBox or enumerating children.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Replace all uses of gtk_container_add on popovers
by gtk_scrolled_window_set_child.
|
|
|
|
| |
Replace it with margin-start, -end, -top, -bottom throughout.
|
|
|
|
|
| |
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.
|
|
|
|
| |
This conversion was done with the help of gtk4-builder-tool.
|
|
|
|
|
| |
We dropped the '+' and the major.minor version from the pkg-config file
name.
|
|
|
|
| |
Gtk4 added an icon-name property for GtkButton.
|
|
|
|
| |
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.
|
|
|
|
| |
Run gtk4-builder-tool recursively
|
| |
|
|
|
|
|
| |
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
|
|
|
|
|
| |
We are officially switching to Meson as the default build system for
GTK+.
|
|
|
|
|
| |
Mostly style changes. Don't create resource source files
with spaces in them, that's tempting our luck.
|
| |
|
|
|
|
|
|
|
|
| |
This merged gtk, gdk and gsk into one library, making it possible to
have internal private APIs between gtk them, as well as producing more
efficient code.
https://bugzilla.gnome.org/show_bug.cgi?id=773100
|
|
|
|
|
| |
This is almost certainly incomplete.
Needs careful scrutiny
|
|
|
|
|
|
|
|
| |
G_DECLARE_FINAL_TYPE was introduced in glib 2.44.
We shall use that now so that lots of boilerplate code can
be reduced.
https://bugzilla.gnome.org/show_bug.cgi?id=770278
|
|
|
|
|
|
|
| |
Put OBJS before LIBS on the commandline to make things
work better.
https://bugzilla.gnome.org/show_bug.cgi?id=768142
|
|
|
|
|
| |
It is no longer necessary to add extra margins around the
center child in a headerbar.
|
|
|
|
|
| |
Do not hardcode GCC as the compiler; use $(shell) expansion instead of
backticks; split the built source into its own variable.
|
|
|
|
| |
Remove all the built files, including the exampleapp binary.
|
|
|
|
|
|
|
| |
We want to allow people to build the examples easily, without
necessarily requiring them to build the whole of GTK+.
https://bugzilla.gnome.org/show_bug.cgi?id=741041
|
| |
|
|
|
|
|
| |
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=740537
|
| |
|
| |
|
| |
|
|
|
|
| |
Another application of image-button.
|
|
|
|
| |
The image-button style class takes care of it.
|
|
|
|
|
| |
We should show the current best practice for this kind of
dialog, and use a headerbar with a window close button.
|
|
|
|
|
| |
Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.
|
|
|
|
|
|
| |
This makes the code match what we show in the screenshots. This
broke when headerbars were changed to allow titles to extend into
the margin.
|
| |
|
|
|
|
| |
This updates the examples for the new GtkSearchEntry api.
|
|
|
|
|
| |
Replace manual signal connections with signal handlers
declared in the ui file, where possible.
|
|
|
|
|
|
|
|
|
|
|
| |
We rename the gtk_widget_class_bind_template_child{_internal}
macros by appending a _private to their name. Otherwise, it
would be too magic to pass the 'public' names as arguments,
but affect a member of the Private struct. At the same time,
Add two new macros with the old names,
gtk_widget_class_bind_template_child{_internal} that operate
on members of the instance struct.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The macros and functions are inconsistently named, and are not tied to
the "template" concept - to the point that it seems plausible to use
them without setting the template.
The new naming scheme is as follows:
gtk_widget_class_bind_template_child_full
gtk_widget_class_bind_template_callback_full
With the convenience macros:
gtk_widget_class_bind_template_child
gtk_widget_class_bind_template_child_internal
gtk_widget_class_bind_template_callback
https://bugzilla.gnome.org/show_bug.cgi?id=700898
https://bugzilla.gnome.org/show_bug.cgi?id=700896
|