Emmanuele Bassi
17518ef89b
build: Improve consistency of the "coding" style
...
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.
2017-05-03 15:10:57 +01:00
Tim-Philipp Müller
7966ab6001
meson: demos: disable add_install_script() calls that don't work right yet
...
Errors out. Might really wants a script and not a binary.
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
b6722b0a36
meson: demos: update and sync up with Makefiles
2017-05-03 15:10:53 +01:00
Tim-Philipp Müller
d6a824476d
meson: gtk-demo: update and sync up with Makefile.am
2017-05-03 15:10:53 +01:00
Timm Bäder
4fcca9945f
meson: update build files
2017-05-03 15:10:52 +01:00
Timm Bäder
6dd6660c68
meson: Conditionally check for dependencies
2017-05-03 15:10:52 +01:00
Timm Bäder
0748c415da
meson: Build gtk utils
2017-05-03 15:10:52 +01:00
Timm Bäder
2144b776b2
meson: Generate demos.h for gtk3-demo
2017-05-03 15:10:51 +01:00
Timm Bäder
fe42d645ad
meson: Build gtk3-demo
2017-05-03 15:10:51 +01:00
Timm Bäder
082cf3553d
meson: Build gtk marshallers
...
And fix libgtk_dep/libgdk_dep to link_with the shared lib
2017-05-03 15:10:50 +01:00
Timm Bäder
5475768d32
Meson build v2
2017-05-03 15:10:50 +01:00
Timm Bäder
2c174319ea
widget-factory: Fix listbox row alignment
2017-05-01 21:21:40 +02:00
Matthias Clasen
92b0d2e8ea
Remove GtkWindow::hide-titlebar-when-maximized
...
This was only every implemented under X11, and with CSD,
this is clearly in the application realm. We should not
pretend that we can support it on the toolkit level.
https://bugzilla.gnome.org/show_bug.cgi?id=775061
2017-05-01 13:26:46 -04:00
Timm Bäder
db4b1d28f5
label: Remove angle property
2017-04-25 20:30:37 +02:00
Timm Bäder
fb927d1993
box: Remove center child
2017-04-25 20:30:37 +02:00
Timm Bäder
f053a63d74
container: Remove include_internals parameter from forall
...
with include_internals=TRUE, this is the same as the (still private)
gtk_widget_forall, or just using the children/sibling accessors in a
loop.
2017-04-25 20:30:37 +02:00
Timm Bäder
c92b7d4224
box: Remove fill child property
...
GtkWidget:halign and GtkWidget:valign are sufficient
2017-04-25 20:30:37 +02:00
Timm Bäder
5729ea7744
box: Remove expand child property
...
GtkWidget already has hexpand/vexpand properties.
2017-04-25 20:30:37 +02:00
Timm Bäder
4945e28f08
widget-factory: Add dummy listbox placeholder
...
It doesn't do anything and isn't visible anyway, but it tests that
adding and removing placeholders works
2017-04-25 20:29:02 +02:00
Carlos Garnacho
8c707e29ff
gtk-demo: Add 3fg touchpad swipe handling to gestures demo
...
We can handle those on wayland, so we should show it's possible.
2017-03-02 18:25:04 +01:00
Emmanuele Bassi
51010da740
Use gtk_show_uri_on_window() in GtkLabel
...
Avoid the deprecated gtk_show_uri(), and allow activating link in
sandboxed applications.
https://bugzilla.gnome.org/show_bug.cgi?id=778726
2017-02-16 16:37:55 +01:00
Timm Bäder
f4341ee9f7
widget: Remove show-all property
...
Doesn't make sense anymore now that gtk_widget_show_all is gone.
2017-01-20 21:37:07 +01:00
Timm Bäder
ea897c6df4
Remove gtk_widget_show_all
2017-01-20 21:37:04 +01:00
Timm Bäder
020d366ed6
widget-factory: Remove some gtk3-widget-factory leftovers
2017-01-20 21:33:37 +01:00
Timm Bäder
8b3f5ce9a4
widget-factory: Adapt to GtkWidget visibility changes
...
Make the infobar and the toolbar invisible by default and remove all the
lines showing the other widgets.
2017-01-20 21:33:37 +01:00
Matthias Clasen
b355c80977
widget-factory: Add a system tab to the about dialog
...
Just for trying it out.
2017-01-12 15:30:11 -05:00
Timm Bäder
58c252d5e6
infobar demo: Adapt to GtkInfoBar changes
...
Bind GtkToggleButton:active to GtkInfoBar:revealed instead of :visible.
2017-01-12 09:18:52 +01:00
Chun-wei Fan
ea58ebe76d
Visual Studio builds: Move project files to win32/
...
It was suggested that the project files to be moved to win32/, so that we can
have one less layer of directories we need to go down into to reach the project files.
2017-01-09 15:38:48 +08:00
Timm Bäder
1e6fce97a5
gtkfishbowl: Remove gtk_container_snapshot_child call
2017-01-07 18:08:53 +01:00
Benjamin Otte
4fdf880b6e
gtk-demo: Make icon counter work from ui file
...
Gets rid of update always being 1 frame late.
2017-01-07 02:09:40 +01:00
Benjamin Otte
cd8e41e491
gtk-demo: Add GtkFishbowl
...
Avoids usage of GtkFixed where child properties eat up all the CPU time.
And that's kinda not what I want to benchmark.
2017-01-07 02:09:40 +01:00
Daniel Boles
49c452e4f9
demos/icon-browser: increase default window size
...
...to get more than 1 row of icons to browse!
https://bugzilla.gnome.org/show_bug.cgi?id=776560
I've bumped the size a bit further, to 1024x768
2017-01-04 13:59:04 -05:00
Benjamin Otte
2f5737cc1c
gtk-demo: queue_draw() when the color changes
2017-01-03 23:35:22 +01:00
Matthias Clasen
2cb975ea77
Make gtk4-icon-browser work
...
It was using no-longer-existing widgets and properties.
2016-12-16 12:18:33 -05:00
Timm Bäder
d45e5ef3dc
widget-factory: Use GtkButton:icon-name to construct icon buttons
2016-12-04 12:00:45 +01:00
Emmanuele Bassi
c8b92cb0d2
demos: Remove undefined function call
...
The gtk_container_set_border_width() function has been removed from
the GTK+ 4.x API.
2016-11-29 23:29:10 +00:00
Matthias Clasen
ee1ae7f9ed
gtk-demo: Add a demo for tabs
...
One of the least-appreciated features in pango.
It deserves a demo.
2016-11-29 16:40:24 -05:00
Matthias Clasen
7625beec50
fishbowl: Fix up initial text
...
Avoid the text changing from "0 fish" to "0 icons" right
after opening the fishbowl demo.
2016-11-20 06:15:19 -05:00
Benjamin Otte
1912d992d8
gtk-demo: Allow locking of icon count in fishbowl demo
...
I'm not sure I'm proud of the hack to get the changing icon into the UI
file without having to write code. But it works.
2016-11-20 05:29:03 +01:00
Benjamin Otte
979b56e86f
gtk-demo: Update drawing area usage to new APIs
...
A few demos are broken because they do input on drawing areas.
2016-11-18 06:40:53 +01:00
Matthias Clasen
77aa562415
gtk-demo: Set local-only to FALSE for the file chooser
...
No good reason for that.
2016-11-17 08:51:16 -05:00
Caolán McNamara
ce36ac93f4
spin entry should be a child of spin context
...
https://bugzilla.gnome.org/show_bug.cgi?id=774609
2016-11-17 05:55:20 -05:00
Matthias Clasen
23354ff6e7
widget-factory: Better progressbar testing
...
Hook the two top progressbars up to the scale with marks.
Your turn, Lapo.
2016-11-14 08:21:31 -05:00
Benjamin Otte
2e284451ff
gtk-demo: Add fishbowl demo
2016-11-05 03:35:46 +01:00
Chun-wei Fan
21b061b0dd
demos/application: Call the right program
...
We need to update the call to gtk4-application-demo, plus include the
correct icon file for this.
2016-11-02 12:23:41 +08:00
Timm Bäder
5071206d60
widget: Remove app-paintable
2016-10-31 19:28:28 +01:00
Matthias Clasen
50a75b37a9
More gtk-demo spacing fixes
2016-10-26 20:37:23 -04:00
Matthias Clasen
76aeb706ef
gtk-demo: Start to fix up the spacing
...
Replace some cases of lost border-width with margins.
2016-10-26 15:03:04 -04:00
Matthias Clasen
b2284ef48f
Fix widget-factory appearance, a bit
...
Use margins instead of border-width, for now.
2016-10-26 14:42:11 -04:00
Alexander Larsson
723b588b5d
Make gdk.la and gsk.la a noninst helper library
...
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
2016-10-26 16:34:15 +02:00