summaryrefslogtreecommitdiff
path: root/examples/bp
Commit message (Collapse)AuthorAgeFilesLines
* Fix compile_resources present source directoryWilliam Roy2023-03-071-1/+1
| | | | | | | | | In certain scenarios, address the issue where gnome.compile_resources fails to transmit the present source directory. This is most notably visible with MSBuild.
* examples: Stop using gtk_widget_show/hideMatthias Clasen2022-12-131-2/+2
|
* Deprecate GtkDialogMatthias Clasen2022-10-291-0/+2
| | | | | GtkDialog is too flexible in terms of UI (headerbars vs action bar, etc), and has archaic APIs. It is time to retire it.
* bloatpad: Stop using a comboboxMatthias Clasen2022-10-211-10/+11
| | | | Replace GtkComboBoxText with GtkDropDown+GtkStringList.
* demos and examples: Ignore deprecationsMatthias Clasen2022-10-111-0/+2
| | | | | | For now, just ignore deprecations. Eventually, we will have to go through, drop demos that are for wholly deprecated widgets, and update others.
* examples: Use textures over pixbufsBenjamin Otte2021-09-171-2/+2
|
* bloatpad: Add icons as resourcesMatthias Clasen2021-06-166-0/+5
| | | | | This can serve as a useful example for how to add themed icons as resources.
* bloatpad: Give the toolbar a faceliftMatthias Clasen2021-06-161-10/+18
| | | | Make it look more like a toolbar.
* bloatpad: Improve accel dialogMatthias Clasen2021-06-161-4/+37
| | | | Make this dialog a bit less of an eyesore.
* bloatpad: Bring back the menubarMatthias Clasen2021-06-051-5/+6
| | | | This was lost at some point.
* examples: Remove requires from ui filesMatthias Clasen2020-11-101-1/+0
| | | | | No need to check requires for things that are shipped with GTK.
* Replace "gchar" with "char"Benjamin Otte2020-07-251-19/+19
|
* Replace "gint" with "int"Benjamin Otte2020-07-251-6/+6
|
* scrolledwindow: Don't take adjustments in new()Matthias Clasen2020-06-241-1/+1
| | | | | | | 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.
* bloatpad: Pass common_cflags to the buildTimm Bäder2020-05-192-1/+2
|
* bloatpad: Avoid a few theoretical compiler warningsTimm Bäder2020-05-181-7/+6
|
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-8/+8
| | | | These are all on GtkBox or enumerating children.
* Use gtk_window_destroyMatthias Clasen2020-05-111-1/+1
| | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* Use gtk_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* Replace most uses of <Primary> with <Control>Matthias Clasen2020-04-061-8/+8
| | | | | | 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.
* bloatpad: Use a box, not a toolbarBenjamin Otte2020-02-071-19/+13
|
* entry, spin button: Drop redundant APIMatthias Clasen2019-02-281-2/+2
| | | | Avoid duplicating GtkEditable APIs. Port existing users.
* examples: Simplify .ui filesMohammed Sadiq2018-05-072-13/+0
| | | | Run gtk4-builder-tool recursively
* textview: Redo clipboard handlingBenjamin Otte2017-12-031-8/+2
| | | | | | Instead of using GtkClipboard and handling everything ourselves, we now put GtkTextBuffer into the GdkClipboard and register (de)serializers for text/plain.
* widget: gtk_widget_get_clipboard => gtk_widget_get_old_clipboardBenjamin Otte2017-12-031-1/+1
| | | | | Just rename the function, so the previous one can be used for the new clipboard.
* Drop Autotools buildEmmanuele Bassi2017-08-141-32/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* build: Improve consistency of the "coding" styleEmmanuele Bassi2017-05-031-2/+2
| | | | | | We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation.
* meson: examples: updateTim-Philipp Müller2017-05-031-11/+3
| | | | | 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/+13
|
* Remove gtk_widget_show_allTimm Bäder2017-01-201-2/+2
|
* Rename Makefile references from 3.0 to 4.0Matthias Clasen2016-10-071-2/+2
| | | | | This is almost certainly incomplete. Needs careful scrutiny
* bloatpad: replace single quotes with double quotes in menus.uiPiotr Drąg2016-09-241-39/+39
| | | | | Double quotes are more friendly to some l10n tools, and this sets a good example for application authors to follow.
* bloatpad: Make shortcuts window updateMatthias Clasen2016-04-171-7/+48
| | | | | This tests the just added functionality to make shortcuts track changes in their actions accelerators.
* Add a help overlay to bloatpadMatthias Clasen2016-04-174-1/+56
| | | | | This will let us explore the (non-)interaction between help overlays and editing shortcuts.
* GtkMenuTracker: add hidden-when='macos-menubar'Ryan Lortie2014-12-221-0/+2
| | | | | | | | | | | | | | | | Provide a mechanism for hiding the "Quit", "About" and "Preferences" menu items from the normal places in a traditional menubar layout (in the File and Edit menus) when the menu is being rendered in the Mac OS menubar. These items can already be found in the application menu. With this feature, applications can now define a single menu to use in all 'traditional' scenarios. Use this new attribute in Bloatpad. https://bugzilla.gnome.org/show_bug.cgi?id=741610
* Use resources for iconsMatthias Clasen2014-12-021-17/+14
| | | | | | This fixes icons after the recent directory reshuffling, and is just the right thing to do, since these icons are in resources anyway.
* bloatpad: Add a close button to the accel dialogMatthias Clasen2014-07-191-0/+7
|
* build: Fix make distRico Tzschichholz2014-07-081-0/+2
|
* Bloatpad: fix up iconsMatthias Clasen2014-07-071-5/+5
| | | | | | The references to png files were doubly broken: first, by the icon theme changes, and more recently, by the move of bloatpad. Fix them up.
* bloatpad: use Gtk's automated menu loadingRyan Lortie2014-07-074-9/+4
| | | | | | | | We move our menus.ui file into Gtk's namespace so that it will get picked up. Accordingly, we no longer have to do any of the work for ourselves... https://bugzilla.gnome.org/show_bug.cgi?id=722092
* bloatpad: use resourcesRyan Lortie2014-07-074-84/+105
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=722092
* bloatpad: move into private subdirRyan Lortie2014-07-072-0/+783
Move bloatpad to ./examples/bp/ so that we can start treating it as more of a "normal" app instead of just jamming everything into a single .c file. We don't use the name "bloatpad" for the directory in order not to create 'git pull' pain with the probably-already-existing executable of the same name. https://bugzilla.gnome.org/show_bug.cgi?id=722092