summaryrefslogtreecommitdiff
path: root/examples/application6
Commit message (Collapse)AuthorAgeFilesLines
* examples: Simplify .ui filesMohammed Sadiq2018-05-072-11/+2
| | | | Run gtk4-builder-tool recursively
* examples: Fix Makefiles to use gtk4 for buildMohammed Sadiq2018-05-071-2/+2
|
* Drop Autotools buildEmmanuele Bassi2017-08-141-47/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* meson: examples: updateTim-Philipp Müller2017-05-031-14/+5
| | | | | Mostly style changes. Don't create resource source files with spaces in them, that's tempting our luck.
* Build examplesTimm Bäder2017-05-031-0/+23
|
* Make gdk.la and gsk.la a noninst helper libraryAlexander Larsson2016-10-261-1/+0
| | | | | | | | 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
* Rename Makefile references from 3.0 to 4.0Matthias Clasen2016-10-071-2/+2
| | | | | This is almost certainly incomplete. Needs careful scrutiny
* examples: use G_DECLARE_FINAL_TYPE in applicationsMohammed Sadiq2016-09-106-35/+5
| | | | | | | | 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
* Fix example MakefilesMatthias Clasen2016-07-031-1/+1
| | | | | | | Put OBJS before LIBS on the commandline to make things work better. https://bugzilla.gnome.org/show_bug.cgi?id=768142
* tutorial: Drop excessive margin from headerbarMatthias Clasen2016-02-271-1/+0
| | | | | It is no longer necessary to add extra margins around the center child in a headerbar.
* examples: Clean up the standalone MakefilesEmmanuele Bassi2015-05-261-8/+9
| | | | | Do not hardcode GCC as the compiler; use $(shell) expansion instead of backticks; split the built source into its own variable.
* examples: Fix clean rule in stand alone MakefilesEmmanuele Bassi2014-12-061-1/+2
| | | | Remove all the built files, including the exampleapp binary.
* Add standalone Makefile for the examplesEmmanuele Bassi2014-12-021-0/+33
| | | | | | | 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
* Beautify example Makefiles a bitMatthias Clasen2014-11-291-22/+21
|
* Make include order consistent in example applicationsMatthias Clasen2014-11-282-2/+4
| | | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=740537
* example: Modernize the prefs dialogMatthias Clasen2014-04-172-22/+1
| | | | | We should show the current best practice for this kind of dialog, and use a headerbar with a window close button.
* example: Port to gtk_application_set_accels_for_actionMatthias Clasen2014-04-172-1/+4
| | | | | Instead of hardcoding an accelerator in the ui file, use gtk_application_set_accels_for_action.
* example: Fix indentationMatthias Clasen2014-04-173-113/+120
|
* example: Fix up marginsMatthias Clasen2014-04-171-0/+1
| | | | | | 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.
* examples: Use git.mkJasper St. Pierre2013-08-071-0/+2
|
* example: Use declared callbacks where possibleMatthias Clasen2013-07-273-37/+46
| | | | | Replace manual signal connections with signal handlers declared in the ui file, where possible.
* Another round of template binding api changesMatthias Clasen2013-07-262-4/+4
| | | | | | | | | | | 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.
* Rename the widget template APIEmmanuele Bassi2013-07-262-4/+4
| | | | | | | | | | | | | | | | | | | | 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
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-262-4/+4
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* Getting started: Use <choices> in the schemaMatthias Clasen2013-07-241-6/+6
| | | | | The use of a manually-specified enum is a little unusual. This is really meant to be done by <choices>.
* Add a new example appMatthias Clasen2013-07-2013-0/+574
Add a new example to the getting started part of the docs. The focus of this example is on 'new stuff': GtkApplication, templates, settings, gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer, GtkListBox, GtkMenuButton, etc. It is being developed in several steps. Each step is put in a separate directory below examples/: application1, ..., application8. This is a little repetitive, but lets us use the code of all examples in the documentation.