summaryrefslogtreecommitdiff
path: root/examples/properties
Commit message (Collapse)AuthorAgeFilesLines
* Glib::Property: Update for compatibility with Gtk::BuilderKjell Ahlstedt2019-06-271-0/+4
| | | | | | | | | When an object is created by GtkBuilder, the GObject-derived C object is created and its properties set before there is a C++ wrapper to store the property values in. Glib::custom_set_property_callback() stores property values in a data structure reached via a GQuark in the object. PropertyBase::lookup_property() copies those property values to the PropertyBase objects when the C++ wrapper is created.
* Update the Free Software Foundation address in copyright noticesKjell Ahlstedt2017-08-301-2/+1
| | | | Bug 786824
* Run clang-format on the examples.Murray Cumming2016-02-261-46/+51
|
* Revert "C++11: Use auto in examples."Murray Cumming2013-06-271-2/+0
| | | | | | This reverts commit 9b0554e2c9deca2399e654e7984c9dfe3b67e387. This was not meant to be in the master branch.
* C++11: Use auto in examples.Murray Cumming2013-06-261-0/+2
|
* Remove the reduced API options and code, as discussed on mailing list.Murray Cumming2010-05-311-4/+0
| | | | | | | | | * configure.ac: Removed the --enable-api-exceptions, --enable-api-properties, --enable-api-vfuncs and --enable-api-default-signal-handlers options. * build/reduced.m4: Removed. * tools/m4/*.m4: * tools/pm/Output.pm: Remove any use of ifdefs and auto_ptr for reduced API. * *.[hg|ccg|h|cc]: Remove the idefed code.
* Convert examples/ sub-tree to non-recursive buildDaniel Elstner2009-08-091-6/+0
| | | | | | | | | | | | * examples/Makefile.am: Rewrite to a non-recursive build of all example programs with a single control file. Hook the build of the example programs to the make check target. * examples/Makefile.am_fragment: Delete obsolete file. * examples/*/Makefile.am: Delete obsolete files. * examples/README: Delete file, as it was empty anyway apart from a single whitespace character. * configure.ac (AC_CONFIG_FILES): Remove examples/*/Makefile output files from the list.
* Only compile the properties example if properties are enabled.David King2009-07-171-0/+5
|
* Omit unused parameter names to avoid warningDaniel Elstner2009-06-241-1/+1
| | | | | | | | * tools/extra_defs_gen/generate_defs_gio.cc (main): Omit names of unused function parameters, to fix the build with fatal warnings enabled. * examples/properties/properties_example.cc (main): ditto, * tests/giomm_ioerror/main.cc (main): ditto.
* Add small Glib::Property exampleJonathon Jongsma2009-05-162-0/+87
* examples/properties/Makefile.am * examples/properties/properties_example.cc * .gitignore * configure.ac * examples/Makefile.am: add a brief example of using properties with a Glib::Object-derived class