Alexander Mikhaylenko
7c3b30036e
headerbar: Show title buttons by default
...
Most of the time show-title-buttons is set to TRUE. Go ahead and make that
the default.
2020-07-02 23:51:16 +05:00
Matthias Clasen
d2430c70bd
Refresh the tutorial examples
...
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
2020-05-11 08:15:56 -04:00
Matthias Clasen
f950172731
Remove a few stray <packing/> elements
...
These were leftovers from an earlier conversion
that did not properly strip empty elements.
2019-04-05 20:52:29 -04:00
Matthias Clasen
7ac250dea7
Convert all ui files
...
Run gtk4-builder-tool simplify --3to4 over all ui files.
2019-03-27 13:36:24 -04:00
Matthias Clasen
4ace873046
Update ui files to new stack syntax
...
This conversion was done with the help of gtk4-builder-tool.
2019-02-08 00:09:44 -05:00
Mohammed Sadiq
47872e5172
examples: Use icon-name property to set button icons
...
Gtk4 added an icon-name property for GtkButton.
2018-05-09 15:28:28 +05:30
Mohammed Sadiq
772c994fd0
examples: Simplify .ui files
...
Run gtk4-builder-tool recursively
2018-05-07 22:30:40 +05:30
Matthias Clasen
2301d8d90b
enums: Change GtkIconSize values
...
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
2017-11-15 14:22:17 -05:00
Matthias Clasen
213f74fe82
tutorial: Drop excessive margin from headerbar
...
It is no longer necessary to add extra margins around the
center child in a headerbar.
2016-02-27 23:28:17 -05:00
Matthias Clasen
db189a892b
Update examples for new open-menu icon
2014-07-15 21:31:13 -04:00
Matthias Clasen
46bc284165
Use view-content-menu-symbolic in example apps
2014-07-08 08:30:56 -04:00
Matthias Clasen
c923ea9bc4
example: Use popover for gears menu
2014-04-17 22:55:40 -04:00
Matthias Clasen
763250e04d
example: Make gears button square
...
Another application of image-button.
2014-04-17 22:55:40 -04:00
Matthias Clasen
35f4243315
example: Make search button square
...
The image-button style class takes care of it.
2014-04-17 22:55:39 -04:00
Matthias Clasen
c502ff73fe
example: Fix up margins
...
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.
2014-04-17 22:55:37 -04:00
Matthias Clasen
c9c8272028
Make examples use search-changed signal
...
This updates the examples for the new GtkSearchEntry api.
2013-08-02 00:56:00 +02:00
Matthias Clasen
c9ce98714d
example: Use declared callbacks where possible
...
Replace manual signal connections with signal handlers
declared in the ui file, where possible.
2013-07-27 21:00:33 -04:00
Matthias Clasen
15453349ea
Getting started: Add an example for property actions
...
This example demonstrates property actions and object binding.
2013-07-24 07:31:05 -04:00