Matthias Clasen
3c2a759c21
gtk3-demo: Add a markup demo
2015-07-29 13:57:25 -04:00
Matthias Clasen
1fb154e62a
gtk3-demo: Add a scrollbar context menu
...
Just to demonstrate the capability, not because this is
excellent UI.
2015-07-28 23:48:10 -04:00
Matthias Clasen
763bf27d9c
gtk3-demo: Add another overlay demo
2015-07-28 22:47:57 -04:00
Matthias Clasen
5c2759af3c
Use standard cursor names
...
This changes GTK+ to use gdk_cursor_new_from_name() with the
'standard' css names, instead of GdkCursorType.
https://bugzilla.gnome.org/show_bug.cgi?id=652085
2015-07-26 01:45:06 -04:00
Matthias Clasen
b847937772
gtk-demo: Expand the filter model example
...
Show normal filtering as well.
2015-07-24 14:27:08 -04:00
Timm Bäder
c28d0a7e0a
gtk3-demo: Don't use xalign on GtkCheckButton
2015-07-23 17:37:49 +02:00
Matthias Clasen
6a5586a416
gtk-demo: Add a filter model example
...
This shows computed columns.
2015-07-22 10:59:53 -04:00
Timm Bäder
3fc5d09890
gtk3-demo: Don't set xalign of GtkCheckButton
...
It's deprecated and doesn't make a difference here.
2015-07-22 06:58:08 +02:00
Matthias Clasen
0d7a9dc4b8
gtk-demo: Properly clean up timeouts in search entry demo
2015-07-21 21:12:36 -04:00
Timm Bäder
173ef4ee66
offscreen_window: Remove deprecated API calls
2015-07-20 21:02:58 +02:00
Matthias Clasen
770fc90e7c
gtk-demo: Check a return value
...
Found by coverity.
2015-07-17 16:11:16 -04:00
Matthias Clasen
109572286c
gtk3-demo: Group pango demos together
2015-06-28 22:46:53 -07:00
Matthias Clasen
f97786f5e9
gtk3-demo: Add a fancy text demo
...
This demonstrates rendering text with a pattern instead of a
single color.
2015-06-28 22:43:27 -07:00
Matthias Clasen
876a6b550b
gtk-demo: Make the info bar example wrap
2015-06-28 17:41:44 -04:00
Matthias Clasen
609e04ddcf
gtk-demo: Cosmetic changes
...
Clean up the code of many examples in minor ways, fix some memory
leaks, and avoid the use of dialogs where a regular toplevel works
just as well.
2015-06-28 17:41:35 -04:00
Matthias Clasen
be4a25231d
gtk-demo: Add a spin button example
...
More or less copied from the spin button example in testgtk.
2015-06-28 17:40:58 -04:00
Matthias Clasen
eab0df12a8
gtk-demo: Add forgotten source file
...
The font_features.c file was not added as a resource, so that
gtk3-demo could not display it.
2015-06-19 22:03:19 -04:00
Matthias Clasen
0a601b093c
gtk-demo: Many cosmetic fixes
...
Mostly update window titles, and some addition to descriptions.
2015-06-19 21:59:15 -04:00
Matthias Clasen
d6a52218d1
gtk3-demo: Improve the overlay demo
...
Add some more information to the description.
2015-06-19 20:09:55 -04:00
Matthias Clasen
afd75070a2
gtk-demo: A better overlay demo
...
This shows the new passthrough feature.
2015-06-19 18:16:19 -04:00
Chun-wei Fan
28b8541847
gtk-demo: Don't Distribute demos.h
...
Since demos.h is now generated according to the platform for which GTK+ is
built, don't distribute it. Generate a Windows-specific demos.h.win32 and
distribute that instead, in which the Visual Studio build files will copy
it to demos.h, so that the build will proceed normally.
https://bugzilla.gnome.org/show_bug.cgi?id=749622
2015-06-19 23:46:05 +08:00
Matthias Clasen
010a120351
Add a font features demo
...
This started life as a standalone tool, but it is nicer
to have it integrated in gtk3-demo.
2015-06-19 09:32:10 -04:00
Matthias Clasen
06726b4d4b
gtk-demo: Make hypertext demo work with touch
...
Make tapping on the links work.
2015-06-09 23:31:00 -04:00
Cosimo Cecchi
345f2a484b
Use built-in gtk-update-icon-cache
...
To generate the icon cache files.
We want to avoid a dependency loop if possible; additionally, on some
Debian-based systems gtk-update-icon-cache maps to the GTK2 version of
the utility and the GTK3 version is renamed to
gtk-update-icon-cache-3.0.
To avoid a build dependency on GTK2, use the binary that we just built
in-tree.
https://bugzilla.gnome.org/show_bug.cgi?id=749593
2015-05-24 12:08:33 -07:00
Matthias Clasen
90a8118838
Add a main category to desktop files
...
This makes desktop-file-validate happy.
2015-05-14 15:28:22 -04:00
Matthias Clasen
bce624e7a7
gtk3-demo: Add a page setup example
...
This mainly so I can fix deprecation warnings in the
page setup dialog.
2015-05-12 08:20:35 -04:00
Matthias Clasen
cfc07fdfcf
gtk-demo: Don't rely on gdk_cursor_get_image
...
This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.
2015-05-11 23:06:50 -04:00
Matthias Clasen
9d921ec148
gtk-demo: Port builder example away from GtkUIManager
...
This makes gtk3-demo deprecation-free.
2015-05-10 21:03:13 -04:00
Matthias Clasen
d89766ce41
gtk-demo: Remove an unncessary define
...
The changedisplay example no longer uses and deprecated
API, so don't disable deprecations.
2015-05-10 21:03:13 -04:00
Matthias Clasen
d3f1b3ee41
gtk-demo: Drop cursor name fallback code
...
GdkCursor itself will now do whats necessary to support these
names.
2015-05-08 13:34:25 -04:00
Matthias Clasen
36006eb918
gtk3-demo: Add a cursors demo
2015-05-07 21:29:58 -04:00
Emmanuele Bassi
721134b008
demo/glarea: Check errors on GtkGLArea
...
We should not call OpenGL API if GtkGLArea is in an error state.
https://bugzilla.gnome.org/show_bug.cgi?id=746746
2015-03-25 15:20:36 +00:00
Matthias Clasen
5c5464a469
radio-menu-item: Add join_group()
...
The other Radio* widgets have this convenience method that removes the
memory management of the opaque GSList used to handle the group from the
API usable from language bindings (especially the ones not based on
introspection).
This commit adds gtk_radio_menu_item_join_group().
https://bugzilla.gnome.org/show_bug.cgi?id=671362
2015-03-22 02:10:38 -04:00
Matthias Clasen
fa1bb8972a
gtk-demo: Plug a memory leak
2015-03-19 22:57:10 -04:00
Matthias Clasen
5dfbeb978f
gtk3-demo: Stop using follow-state
...
It is no longer needed.
2015-03-15 22:44:33 -04:00
Lars Uebernickel
f3110e4103
Rename GtkSidebar to GtkStackSidebar
...
GtkSidebar is too generic and doesn't fully convey what the widget does.
https://bugzilla.gnome.org/show_bug.cgi?id=744094
2015-02-13 18:01:56 +01:00
Emmanuele Bassi
6bf55142ee
demo: Change the resource path for the shaders
...
We need to use the same name as the "plugin" so that the main UI will
display the resources inside a notebook tab.
2015-02-09 19:32:38 +00:00
Emmanuele Bassi
3b4bf963f6
demo: Move the GLSL shaders to resources
...
It's easier to use them or modify them as separate files, instead of
inlined inside the C source.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:31 +00:00
Emmanuele Bassi
01d1cdc76c
demos: Update the GtkGLArea demo code
...
Same way we updated the testglarea test code.
https://bugzilla.gnome.org/show_bug.cgi?id=741946
2015-02-09 19:10:30 +00:00
Matthias Clasen
a0ecb44b41
gtk-demo: Show search entry signals
2015-01-24 08:44:30 -05:00
Matthias Clasen
531fa78601
gtk-demo: Make editable cells demo more robust
...
When removing all rows, trying to add rows would not work
and throw criticals. This is fallout from a recent change
to insert rows at the right position. Fix this by handling
the 'empty model' case separately.
https://bugzilla.gnome.org/show_bug.cgi?id=743157
2015-01-19 07:36:08 -05:00
Phillip Wood
6b26464fbb
Editable cells demo: Add new row at cursor
...
Adding rows to the bottom of the list is confusing as you cannot see
them if the window is small so it is not apparent that anything has
happened. Fix this by adding the new row immediately below the current
row and set the cursor on the new row so it is ready to be edited.
https://bugzilla.gnome.org/show_bug.cgi?id=721939
2014-12-07 18:53:30 -05:00
Rui Matos
e629aba1a2
Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable
...
Commit 655c75cab7
removed the need for
this variable but left a couple of uses in. Drop them.
2014-12-01 18:32:56 +01:00
Jasper St. Pierre
641d4c4e3d
Fix build
2014-11-28 14:03:57 -08:00
Jakub Steiner
53e07d3c0f
Provide symbolic variants of app icons
...
Install symbolic variants of the app icons for gtk3-demo and
gtk3-widget-factory. These are necessary for the HighContrast theme.
https://bugzilla.gnome.org/show_bug.cgi?id=740447
2014-11-28 16:08:56 -05:00
Matthias Clasen
d50dd1d33c
gtk3-demo: Use better text margins
...
We really want margins around the scrollable content, not around
the viewport. Make it so by using textview-specific properties.
This is unfortunately a little complicated for top/bottom.
2014-11-12 16:05:49 -05:00
Matthias Clasen
e36b57e7f9
gtk-demo: Drop uses of gdk_cursor_new()
...
Use gdk_cursor_new_for_display() instead.
2014-10-28 00:56:46 -04:00
Matthias Clasen
a680631345
gtk3-demo: Add a frame to the sidebar
...
With overlay scrollbars, there's no visible separation between
the sidebar and the content otherwise.
2014-10-27 17:15:31 -04:00
Lars Uebernickel
582adcab1a
Add GDK_DEP_LIBS to demos and tests
...
Some of them depend on libepoxy now.
2014-10-15 16:15:35 +02:00
Alexander Larsson
62a26eb3c8
Add glarea demo to gtk3-demo
2014-10-13 10:43:31 -04:00
Matthias Clasen
d120346992
gtk3-demo: Don't use deprecated API
...
Replace various override calls.
2014-10-07 00:48:30 -04:00
Benjamin Otte
c9d9c9158f
gtk-demo: Replace old code
...
"Hey I know, let's do an easter egg!"
"What kind of easter egg?"
"We can nest lots of textviews!"
"Sounds cool!"
...
"But how does one see a textview inside a textview?"
"What do you mean?"
"Well, it just looks like black text on a white background."
"You mean it's the same as if we just duplicated the text?"
"Yeah!"
"Hrm, maybe we can put a frame around it."
"Sounds good. I'll stuff the textviews in a GtkFrame."
"What? Why? Let's use a GtkEventBox and override its background"
"Why is that a good idea when we have GtkFrame?"
"Because I said so!"
"Okay."
2014-10-03 06:59:14 +02:00
Benjamin Otte
2b6a4ba890
gtk-demo: Remove useless code in colorsel example
...
We have the color stored in a global variable already. There is
absolutely no need to also force it into the CSS machinery.
2014-10-03 06:48:18 +02:00
Benjamin Otte
23a4affb6f
gtk-demo: Improve flowbox demo code
...
Overriding the background color for a color swatch is wrong. The color
is not the background, it's the foreground, so it should be painted in
a draw signal handler.
2014-10-03 06:45:38 +02:00
Benjamin Otte
40e0973709
gtk-demo: Remove unneeded code
...
Overlays are transparent by default, no need to override them to be.
2014-10-03 06:40:13 +02:00
Benjamin Otte
2fbc77fce1
gtk-demo: Properly override font color in combobox example
2014-10-03 06:38:21 +02:00
Matthias Clasen
eb88ce429c
gtk-demo: Make the sidebar demo scroll
2014-10-02 18:06:02 -04:00
Ikey Doherty
cdd2651db0
Add GtkSidebar
...
GtkSidebar behaves internally much like GtkStackSwitcher, providing a vertical
sidebar like widget. It is virtually identical in appearance to the widget
currently used in GNOME Tweak Tool.
This widget is connected to a GtkStack, and builds its own contents as a
GtkListBox subclass, using the "title" child property to provide a consistent
navigatable widget.
Being a subclass of GtkListBox it benefits immediately from strong keyboard
navigation, and minimal changes are required for theming.
https://bugzilla.gnome.org/show_bug.cgi?id=735293
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2014-10-01 00:44:46 -04:00
Matthias Clasen
6ce24d82d6
gtk-demo: Don't create 2 main windows
...
Loading a builder file with a window leaves a ghost behind, since
windows need to be explicitly destroyed. Avoid that by using
gtk_builder_add_objects_from_resource.
2014-09-25 23:57:34 -04:00
Benjamin Otte
4a6ecf33fc
gtk-demo: Don't use mad mime type guessing
...
... for displaying resources. Instead use the proven and way more
reliable method of trial and error.
It's less code and more portable for a start.
But most of all it displays PNM files as text if you fail to compile
the gdk-pixbuf loader for it.
2014-08-27 18:02:48 +02:00
Jehan
4376b4f705
Fix the build of the native gtk-update-icon-cache when cross-compiling.
...
As a noinst_PROGRAMS, the libtool generated for cross-compiling will be
used, which will mess up the linking. Create a all-local target instead.
Also ensure that building uses always a native version of the tool by
specifying a GTK_UPDATE_ICON_CACHE automake variable.
Finally "config.h" has been created to work for the target platform and
causes problem when cross-compiling. So we temporarily generate a basic
config.h which contains only the strict minimum.
2014-08-13 21:06:51 +00:00
Matthias Clasen
5f7485f647
gtk-demo: Drop use of deprecated api
...
There were several uses of gtk_tree_view_set_rules_hint here.
Just drop them, the theme was ignoring them anyway.
2014-08-04 10:09:18 +02:00
Ignacio Casal Quinteiro
1e10bbef26
gtk-demo: include missing file on EXTRA_DIST
2014-07-23 10:43:41 +02:00
Matthias Clasen
eed5efec24
gtk-demo: Improve text scroll example
...
Add numbers, so the lines can be differentiated, even if they
don't move on screen.
2014-07-21 11:18:10 -04:00
Benjamin Otte
e29d0a0a38
gtk-demo: This is not a unique app
...
When running gtk-demo a 2nd time, it's usually to compare its
output with a different version of gtk-demo.
2014-07-12 07:13:28 +02:00
Matthias Clasen
2f12fd5599
gtk-demo: Fix expand button box demo
...
Set the spacing to 0, so the buttons are actually linked.
2014-07-09 13:19:36 -04:00
Matthias Clasen
d800203b88
gtk-demo: Only show non-symbolic icons in toolpalette
...
Otherwise, we get every icon twice. To switch between symbolic
and non-symbolic icons, this css fragment comes in handy:
* { -gtk-icon-style: symbolic; }
2014-06-30 13:28:46 -04:00
Matthias Clasen
e51e8a28dd
gtk3-demo: Use monospace font for source code
2014-06-10 18:47:49 -04:00
Carlos Garnacho
9f8bd7a2bc
gesturezoom: Just return a double in get_scale_delta()
...
Checking whether the gesture is active is a responsibility of the caller.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
8f7d5fb2c0
gesturerotate: Just return a double in get_angle_delta()
...
Whether the gesture is active or recognized should be checked before in
callers, or just not used naively.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
d05a9f9a7b
gesture: Replace gtk_gesture_attach/detach with event controller API
...
Event controllers now auto-attach, and the GtkCapturePhase only determines
when are events dispatched, but all controllers are managed by the widget wrt
grabs.
All callers have been updated.
2014-05-27 17:47:12 +02:00
Matthias Clasen
f52dd9fc04
Fix a start/end mixup
...
The headerbar example in gtk3-demo was showing two start buttons
after the arrow removal.
2014-05-24 00:48:12 -04:00
Matthias Clasen
e74bb3db2a
gtk-demo: Drop use of GtkAlignment
2014-05-23 20:31:38 -04:00
Carlos Garnacho
5369c77029
gesture: Simplify gesture/widget interaction public API
...
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
2014-05-23 19:54:29 +02:00
Matthias Clasen
c63c1caac0
gtk3-demo: Don't leak the color chooser
2014-05-23 19:54:28 +02:00
Carlos Garnacho
51b5fa3bf0
demo: Update to gesture widget-level API changes
2014-05-23 19:54:25 +02:00
Carlos Garnacho
84885c6e26
demo: Update to gesture API change
2014-05-23 19:54:23 +02:00
Carlos Garnacho
71e382cf42
gtk-demo: Add simple gestures demo
2014-05-23 19:54:22 +02:00
Matthias Clasen
49cf5142ba
Deprecate GdkColor
...
It has been replaced by GdkRGBA. Time to make it official.
http://bugzilla.gnome.org/show_bug.cgi?id=636695
2014-05-22 09:09:55 -04:00
Matthias Clasen
bd5414addb
gtk-demo: Don't use GtkArrow
...
It is deprecated now.
2014-05-22 08:32:48 -04:00
Matthias Clasen
758734a8c5
gtk3-demo: Don't leak in the sizegroup example
...
Nobody was cleaning up the size group.
Pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=645966
2014-05-13 15:50:23 -04:00
Matthias Clasen
d292245659
gtk3-demo: Fix up toolpalette demo
...
The demo appears pretty broken, because some icons are not fitting
well in the grid. Just skip the problematic icons.
2014-05-13 06:26:11 -04:00
Matthias Clasen
d67751d0cc
gtk3-demo: Drop unneeded gtk_init() call
...
GtkApplication is doing this for us.
2014-05-12 22:38:37 -04:00
Matthias Clasen
1d099fbfae
gtk-demo: Don't use margin-left/right
...
Instead, use margin-start/end, which are the non-deprecated
replacements.
2014-05-12 22:32:51 -04:00
Jasper St. Pierre
bd60c7b95d
gtk-demo: Make sure to clear the timeout when we stop it
2014-04-22 18:55:06 -04:00
Matthias Clasen
71fdf845a7
gtk-demo: Avoid a compiler warning
2014-04-12 22:13:40 -07:00
Matthias Clasen
8ccdd5b7cf
gtk-demo: Fix images demo
...
The incremental loading was broken by GtkIconHelper - queuing a
redraw is no longer sufficient to cause GtkImage to redraw with
the new pixbuf contents.
Pointed out by Jasper St. Pierre.
2014-04-12 20:40:27 -07:00
Matthias Clasen
9268ef36ab
gtk-demo: Fix the links example
...
The keynav dialog is transient to the example window; since the
example window is now modal, we need to make the keynav dialog
modal as well, so it can receive input.
Problem pointed out by Jasper St. Pierre.
2014-04-12 18:44:40 -07:00
Bastien Nocera
f71f7215ab
all: Name more idles and timeouts
...
Following up from 438cd857c4
,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
2014-03-26 20:09:30 -04:00
Matthias Clasen
329263f091
gtk-demo: Fix underlines
...
The iconview example was showing literal underlines. We don't want
that.
2014-03-24 07:02:44 -04:00
Phillip Wood
5aa00e4f66
gtk3-demo: run button should be able to focus.
...
https://bugzilla.gnome.org/show_bug.cgi?id=725141
2014-03-09 20:26:55 -04:00
Matthias Clasen
1b74e81470
gtk3-demo: set primary-toolbar style class on primary toolbars
...
This makes them draggable, and is the right thing to do.
2014-02-17 23:44:49 -05:00
Matthias Clasen
fa4bd8b042
gtk3-demo: Fix two issues with the builder demo
...
The ui file was generating a warning about AtkAction not
being implemented, and the about dialog had a missing icon.
2014-01-31 15:44:46 -05:00
Matthias Clasen
4caf302498
Remove deprecation warnings from demos and tests
...
There were a few uses of gtk_widget_get_root_window that
need to be removed.
2014-01-24 21:08:59 -05:00
Carlos Garnacho
1d495cbafd
popover: Add a "modal" boolean property to GtkPopover
...
This property is TRUE by default, when a popover is modal, it
will automatically set a GTK+ grab on the popover, and grab
the keyboard focus into the popover.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
7e30b82aee
gtk-demo: Fix crash after running popovers demo
...
The GtkBuilder window containing the complex popover UI was left
dangling, and with a dangling pointer to its former child, causing
crashes on gtk_grab_notify() after the popover was destroyed.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
695b979b10
gtk-demo: Add GtkPopovers demo
...
In this demo several widget create popovers with different complexities,
positions, and grabbing behavior.
2014-01-22 17:10:05 +01:00
Volker Sobek
a4d69e7f14
docs/comments: Fix spelling of 'explicitly'
...
This replaces all occurrences of 'explicitely' with 'explicitly'. Only
code comments and gtk-doc statements are affected.
https://bugzilla.gnome.org/show_bug.cgi?id=722429
2014-01-18 03:47:46 +01:00
William Jon McCann
e2c87f9dcd
demo: Add two buttons to the message dialog
...
This tests the new. prompt-like layout of message dialogs
better.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
William Jon McCann
7ed2958943
demo: Add new button box layouts
...
This adds a test case for the new expand layout.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Matthias Clasen
f940a60fd5
gtk-demo: Use primary-toolbar style in the application example
...
Adwaita correctly restricts window-dragging to primary toolbars,
Mark our toolbar as primary to test this.
2014-01-12 22:25:19 -05:00
Matthias Clasen
902ebaafd5
gtk3-demo: avoid a resizing problem
...
Two changes that sneaked in during the GtkApplication port
made it so that the window would not let you shrink it again
after you've made it larger. This also yielded very surprising
results when unmaximizing the window: it would come back to
have a minimum width slightly larger than the screen, making
maximization fail from then on.
2014-01-11 18:06:06 -05:00
Benjamin Otte
f123fe7fe7
gtk-demo: Make double-click work again
2013-12-13 19:07:42 +01:00
Matthias Clasen
08202cb045
gtk-demo: Use title case consistently
2013-12-12 16:28:07 -05:00
Matthias Clasen
f7d4a2772b
Add a header bar example to gtk-demo
...
This is basically standalone the testtitlebar example, turned
into a demo.
2013-12-12 16:28:07 -05:00
Matthias Clasen
b6a6729ce1
Fix a segfault in the event axes demo
...
Seems that pointer_info can be NULL, after all.
2013-12-10 23:03:12 -05:00
William Jon McCann
7ba0083fc9
demo: only set transient if demo returns a toplevel
2013-12-09 09:55:39 +01:00
William Jon McCann
35a249466f
demo: put run button on the left
...
It is a bit annoying to have to go over to the right side to click it.
2013-12-09 09:26:08 +01:00
Carlos Garnacho
bd2f875141
demo: Add demo for advanced event information management
...
This demo condenses the essentials of advanced management of
input events. Depending on the information available in input events,
this demo will try to represent as much information as possible for
those.
https://bugzilla.gnome.org/show_bug.cgi?id=719987
2013-12-06 20:08:37 +01:00
Matthias Clasen
a66147dc82
gtk-demo: fix colorchooser example
...
A nested dialog on top of a modal dialog must itself be modal,
otherwise it doesn't get any input.
2013-12-03 23:30:52 -05:00
Yosef Or Boczko
d9ce2ba32f
demo: Fix the size of the run button
2013-12-03 18:44:07 +02:00
William Jon McCann
8193c8c770
demo: make demo windows transient to the main window
...
This prevents them getting lost behind.
2013-12-03 10:50:07 -05:00
William Jon McCann
e5726e97f4
demo: Add a GtkHeaderBar
2013-12-03 10:50:07 -05:00
William Jon McCann
b57109adc8
demo: change application name of inner demo
2013-12-03 10:50:07 -05:00
William Jon McCann
f115af11d2
demo: expand notebook tabs
2013-12-03 10:50:07 -05:00
William Jon McCann
70bc941b73
demo: Port to GtkApplication
...
And use GtkBuilder to construct interface.
2013-12-03 10:50:07 -05:00
Yosef Or Boczko
719dd636a9
Replace all margin-left and margin-right with margin-start and margin-end
...
https://bugzilla.gnome.org/show_bug.cgi?id=710238
2013-11-15 02:54:35 +01:00
Matthias Clasen
915d70c561
Update copyright year
2013-11-09 13:39:48 -05:00
Rico Tzschichholz
e2ab11ac6e
demo: Make sure to add gtk3-demo.desktop to tarball
...
In addition to fc71414ada
2013-11-07 18:28:23 +01:00
William Jon McCann
cdc2f07a1e
demo: use the installed named icon
2013-11-05 15:31:11 -05:00
William Jon McCann
fc71414ada
demo: Add desktop file
2013-11-05 14:14:58 -05:00
William Jon McCann
28f49f3a7e
demo: add icon
2013-11-05 14:14:57 -05:00
Jasper St. Pierre
0280ef3413
Make gtk-demo use the newer app icon
2013-10-07 16:30:33 -04:00
Matthias Clasen
9be38e67e3
Cosmetics
...
Make the gtk-demo listbox example follow others in window
title style.
2013-10-07 00:05:47 -04:00
Matthias Clasen
98b39ce911
Add a flow box example to gtk-demo
2013-10-07 00:05:21 -04:00
William Jon McCann
2bb01c6cc8
demo: Show popup menu on tabs
...
https://bugzilla.gnome.org/show_bug.cgi?id=707920
2013-10-02 10:51:15 -04:00
Chun-wei Fan
a3519988f5
demos/gtk-demo/toolpalette.c: Avoid C99ism
...
Avoid declaring variable at the middle of the block
2013-09-23 16:39:25 +08:00
Murray Cumming
3b0f71f5ce
demos: Fix performance in GtkToolPalette demo.
...
gtk_icon_theme_list_icons() now gets so many icons that the demo
was unusable. Limit it to 10 per group (theme context).
2013-09-16 14:10:52 +02:00
Murray Cumming
98ca9a865f
GtkWidget: Improve drag-leave and drag-data-received docs.
...
* gtk/gtkwidget.c: drag-leave signal: Document that it is called before
drag-drop.
drag-data-received signal: Document that it is up to the application
to know why the data was requested (e.g. drag motion or drop).
* demos/gtk-demo/toolpalette.c: interactive_canvas_drag_drop():
Do not transform the drop_item created in the drag-motion handler.
Instead caused drag-data-received to be called, remembering why,
and create a new item there.
interactive_canvas_drag_leave(): Remove the idle-handler hack,
now that we do not need to keep the drag-motion drop_item alive until
the drop.
I noticed that this patch was sitting in bug #605611 from 2009
though it had been approved. I do not remember much about why I
created it.
2013-09-16 14:06:14 +02:00
William Jon McCann
041b0e1861
demo: add a multi-line infobar example
2013-08-03 15:15:12 +02:00
Matthias Clasen
c636b21aec
Avoid a compiler warning
2013-08-01 10:55:49 +02:00
Matthias Clasen
a87648c1b6
gtk3-demo: Improve the infobar demo
...
Add buttons that allow to show and hide each info bar.
2013-07-31 19:04:42 +02:00
Matthias Clasen
d1a91671e4
gtk3-demo: Adapt to GtkSearchEntry api changes
...
Connect to ::search-changed instead of ::changed.
2013-07-28 21:51:45 -04:00
Matthias Clasen
cda60c3c40
Another round of template binding api changes
...
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.
2013-07-26 16:29:12 -04:00
Emmanuele Bassi
89ae3524a3
Rename the widget template API
...
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
2013-07-26 13:52:15 -04:00
Alexander Larsson
a8e84545d1
widget: Use a real offset in gtk_widget_class_automate_child
...
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>
2013-07-26 08:41:09 -04:00
William Jon McCann
fbf0b29813
demo: add a close button to the info bar demo
...
https://bugzilla.gnome.org/show_bug.cgi?id=704274
2013-07-24 17:01:42 -04:00
Emmanuele Bassi
e7461ea67b
gtk-demo/builder: Re-enable deprecated symbols
...
The demo uses GtkAction.
2013-07-20 10:55:27 +01:00
Emmanuele Bassi
76df3ba7d0
gtk-demo: Use the new macros for adding instance private data
...
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Matthias Clasen
38b7159c39
gtk-demo: Properly cleanup the revealer demo
...
We forgot to remove the timeout.
2013-07-04 17:53:40 -04:00
Alexander Larsson
6a4f82a1f4
gtk-demo: Add demo of hidpi css assets via -gtk-scaled()
2013-07-03 14:39:25 +02:00
William Jon McCann
6f83657288
Fix the build
...
Remove references to removed files
2013-06-30 11:30:37 -04:00
William Jon McCann
32ce8fa60a
Remove deprecated UIManager from the demo
2013-06-30 11:19:50 -04:00
Matthias Clasen
c6d7540508
Trivial rewording
...
Make the listbox demo follow the naming convention of the
other demos.
2013-06-28 16:01:44 -04:00
Benjamin Otte
7e69eb8ffd
gtk-demo: Fix compile warnings
2013-06-26 15:51:31 +02:00
Benjamin Otte
a35102aa45
gtk-demo: Remove unused variable
2013-06-26 15:51:31 +02:00
William Jon McCann
708dd8cc52
Remove usage of stock APIs in demo
...
With the exception of GtkAction.
2013-06-24 14:50:01 -04:00
Alexander Larsson
b18c938b14
gtk-demo: Add GtkListBox demo
2013-06-18 16:10:22 +02:00
Bastien Nocera
dbbea8b97e
Add GtkSearchBar widget
...
This widget is a toolbar that will popup automatically when
searches should be started, and dismissed when they are finished.
https://bugzilla.gnome.org/show_bug.cgi?id=700787
2013-05-31 17:09:11 +02:00
Bastien Nocera
51e238653d
GtkSearchEntry: Delay the changed signal by default
...
Emit the "changed" signal after 150 msecs, so that searching
through big lists, or doing online searches feels more responsive.
This is something already done in various applications to make
search-as-you type more responsive (gnome-shell, gnome-documents,
gnome-control-center, etc.). The 150 msecs is the value currently
used by gnome-shell, so keep it (invisibly) consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=700229
2013-05-17 19:45:46 +02:00
Benjamin Otte
ecaf09c918
build: remove --disable-rebuilds
...
It's unused and was only useful when perl wasn't installed. But perl is
a dependency of glib these days, so it's useless.
2013-05-09 19:09:50 +02:00
Matthias Clasen
265e617f0a
gtk-demo: Include config.h first
...
If config.h is included after gdkversionmacros.h, _GDK_EXTERN
gets redefined and cpp doesn't like that.
2013-05-05 15:38:46 -04:00
Matthias Clasen
0b3461ff1b
gtk-demo: Don't include config.h needlessly
...
It is not needed here.
2013-05-05 15:38:46 -04:00
Matthias Clasen
86688c6fde
Add a revealer example to gtk-demo
...
I tried to make a 'revealer ballet'. Judge for yourself if
I succeeded.
2013-04-22 12:42:39 -04:00
Matthias Clasen
49511c7f42
Add a GtkStack example to gtk-demo
2013-04-21 21:51:27 -04:00
Volker Sobek
efaacea1d2
gtk-demo: Fix typo
...
https://bugzilla.gnome.org/show_bug.cgi?id=675649
2013-04-14 09:04:57 -04:00
Benjamin Otte
f2263afb19
gtk-demo: Remove multiscreen support
...
There's only one screen per display, so no need to let users select from
a list of that 1 screen.
2013-04-06 10:47:55 +02:00
Chun-wei Fan
b1aa23f4bd
Bug 695895: Fix gtk3-demo on Windows
...
In commit 4e41577b
, we are using g_content_type_is_a() to determine how
to display the demo resources in the right pane of the gtk3-demo program.
Use g_content_type_get_mime_type(), so that we can obtain the mime
type of the demo resources on all platforms, as g_content_type_guess()
returns a platform-specific string, as
https://developer.gnome.org/gio/2.35/gio-GContentType.html states.
As .ui files and .css files are normally registered with a different mime
type string on Windows, check for those strings as well.
This will ensure the demo resources can be properly displayed on Windows
as well.
2013-03-26 16:59:16 +08:00
Benjamin Otte
46ef9a83bb
gtk-demo: Create new textbuffers for new source/info texts
...
This is so we can prepare these buffers without them being set on the
widgets yet and only gtk_text_view_set_buffer() them afterwards. And
this in turn gets rid of all the a11y events we were needlessly
emitting.
https://bugzilla.gnome.org/show_bug.cgi?id=694406
2013-02-26 15:56:51 +01:00
Owen W. Taylor
983e266fad
Convert pixbuf animation demo (both copies) to GdkFrameClock
...
Use the frame clock instead of a 50ms timeout to animate the
spinning pixbufs.
https://bugzilla.gnome.org/show_bug.cgi?id=694302
2013-02-21 09:59:58 -05:00
Alexander Larsson
e89a2f0bfd
gtk3-demo: Fix up resource handling
...
We're not loading css files via resouce uris, as we want
to support editing, so we need to use absolute references
to any included resources.
2013-02-14 23:01:19 +01:00
Matthias Clasen
154a144cf6
Remove remnants of localization from gtk-demo
...
gtk-demo isn't localized at this point.
https://bugzilla.gnome.org/show_bug.cgi?id=681578
2013-02-11 16:52:37 -05:00
Cosimo Cecchi
ce869921ab
Don't use gtk_scrolled_window_add_with_viewport() in tests
...
https://bugzilla.gnome.org/show_bug.cgi?id=693015
2013-02-01 22:58:55 -05:00
Matthias Clasen
ab71224021
Use consistent capitalization of demo titles
2013-02-01 21:59:09 -05:00
Matthias Clasen
5271ea34d1
Avoid perl warnings
...
Apparently, defined is not cool anymore.
2013-02-01 21:58:34 -05:00
Matthias Clasen
e975f10c7f
Make the text look a bit nicer
...
Add a margin around the text, and some space between the title
and the body of the info tab.
2013-02-01 21:56:25 -05:00
Matthias Clasen
ee6e7d6433
Set the notebook to be scrollable
...
The pixbufs example has just too many files..
2013-02-01 21:46:07 -05:00
Matthias Clasen
d1f9adad08
Revert "Forgotten file"
...
This reverts commit 1d72682332
.
2013-02-01 20:17:53 -05:00
Matthias Clasen
cf1eecca6b
Don't strip whitespace from ui files
...
That turns them into gibberish when we show them in the ui.
2013-02-01 20:17:13 -05:00
Benjamin Otte
5607a2125f
gtk-demo: Fix geniclude.pl.in to not look for extra files
...
This was supposed to be fixed in
0866772819
but I fixed the generated
geninclude.pl. Oops.
2013-02-02 01:42:45 +01:00
Benjamin Otte
bc473257c7
gtk-demo: Replace logo with a transparent one
...
That way, we don't have to make it transparent in all the demos.
2013-02-01 21:57:40 +01:00
Benjamin Otte
b3d1121d78
gtk-demo: Move resources into the tests they belong
...
This also gets rid of the nasty @import("resource:///...") lines in the
css files.
2013-02-01 21:57:40 +01:00
Benjamin Otte
ba24f39d95
gtk-demo: Remove custom CSS demo
...
Custom CSS is something that we don't want to advertise as there are too
many pitfalls for using it correctly. So remove the demo for it.
2013-02-01 21:57:40 +01:00
Benjamin Otte
80fc684dd8
gtk-demo: Remove file lists from demo data
...
We can get it from parsing resources now, so no need to manually add
them.
2013-02-01 21:57:40 +01:00
Benjamin Otte
4e41577b46
gtk-demo: Display all resources on the right side
...
This way, people know what stuff we are loading.
And instead of listing all the files in the top (and forgetting things),
we just take them from the resources list.
2013-02-01 21:57:39 +01:00
Benjamin Otte
f44eec0f6b
gtk-demo: Stop installing files
...
As everything is handled via resources now, there's no need to install
the files anymore.
2013-02-01 17:44:13 +01:00
Benjamin Otte
ad69528bde
gtk-demo: Remove demo_find_file() function
...
It's not used anymore. With it, the demo-common.h header is not needed
anymore and is removed, too (and all the needless includes).
2013-02-01 17:44:13 +01:00
Benjamin Otte
75937d925c
gtk-demo: Load icon from resource
2013-02-01 17:42:45 +01:00
Benjamin Otte
0866772819
gtk-demo: Display extra files from resources
2013-02-01 17:42:45 +01:00
Benjamin Otte
73e203b290
xxx: Add source files
2013-02-01 17:42:45 +01:00
Benjamin Otte
aaab99bb4d
gtk-demo: Don't use subfolders for resources
...
This confuses the notebook that is displaying them.
2013-02-01 17:42:45 +01:00
Benjamin Otte
7acf6296f4
gtk-demo: Don't use aliases for filenames
...
This is necessary so the files displayed in the left notebook match the
files referenced in the source code.
2013-02-01 17:42:45 +01:00
Benjamin Otte
159dabd0a5
gtk-demo: Port pixbufs example to resources
2013-02-01 17:42:45 +01:00
Benjamin Otte
68ee7c6848
gtk-demo: Port textview example to resources
2013-02-01 17:42:45 +01:00
Benjamin Otte
a4749d4f3a
gtk-demo: Port images example to resources
2013-02-01 17:42:44 +01:00
Benjamin Otte
32903fc753
gtk-demo: Port images example to GInputStream
2013-02-01 17:42:44 +01:00
Benjamin Otte
8bdfd35d9c
gtk-demo: Port iconview example to use resources
2013-02-01 17:42:44 +01:00
Benjamin Otte
cf6a40830c
gtk-demo: Port appwindow example to resources
2013-02-01 17:42:44 +01:00
Benjamin Otte
4f93194039
gtk-demo: Port builder example to resources
2013-02-01 17:42:44 +01:00
Benjamin Otte
704fc3724f
gtk-demo: Make printing example use resources
2013-02-01 17:42:44 +01:00
Benjamin Otte
39d198cd5a
gtk-demo: Load sources from resources
2013-02-01 17:42:43 +01:00
Benjamin Otte
a0e68bec52
gtk-demo: Load the demo files using g_file_get_contents()
...
... instead of massaging a FILE* with flockfile() and ungetc().
2013-02-01 17:42:43 +01:00
Benjamin Otte
05abba3acb
gtk-demo: Include the source files as resources
2013-02-01 17:42:43 +01:00
Alexander Larsson
9d659d8a77
Remove accidental commit that broke gtk3-demo
...
A piece of test code accidentally snuck into a commit that
made gtk3-demo not find its data files, this patch just
reverts that change.
2013-01-29 11:55:05 +01:00
Matthias Clasen
b12d7dfcd6
Plug two memory leak
...
g_resources_lookup_data returns a GBytes that must be unreffed.
2013-01-20 23:11:24 -05:00
Alexander Larsson
ada20f475d
broadway: Make /dev/shm names nicer
2013-01-10 23:59:23 +01:00
Benjamin Otte
9a88a47d33
gtk-demo: Beautify a demo
...
Use auto for the background size instead of 100% to avoid uglyfying the
background byt blurring it when the window gets larger.
2012-10-01 16:06:33 +02:00
Benjamin Otte
f1bae7f1ff
gtk-demo: Use explicit resource:// urls in CSS
...
... because we load the data from a GtkTreeView::changed callback, the
relative directory is cwd. And we want the resources...
2012-10-01 15:53:18 +02:00
Benjamin Otte
ec829be39f
gtk-demo: Add missing file to resources
2012-10-01 15:53:17 +02:00
Benjamin Otte
c6a78d76bd
gtk-demo: Add a CSS shadows demo
2012-09-21 18:50:50 +02:00
Matthias Clasen
fc1169279e
gtk-demo: fancier css demo
...
Thanks to Lapo Calamandrei.
2012-09-17 17:41:50 -04:00
Benjamin Otte
677941dc48
gtk-demo: Add animated pixbufs example
2012-09-17 20:39:11 +02:00
Matthias Clasen
5b13b72287
gtk-demo: Plug 2 small memleaks
2012-09-16 00:49:04 -04:00
Matthias Clasen
d9c2f40a5d
gtk-demo: Plug another small memleak
2012-09-15 16:17:02 -04:00
Matthias Clasen
1bf656f25f
gtk-demo: Plug a small memleak
2012-09-13 20:04:38 -04:00
Timothy Arceri
2ab8e75319
Use new printer setting to reduce code required by application
...
Updated demo to use new setting that allows an application to change the
output filename without the need to create the uri itself.
https://bugzilla.gnome.org/show_bug.cgi?id=676787
2012-08-25 17:47:55 -04:00
Matthias Clasen
746b9d7c41
demos: Don't use GDK_THREADS_ENTER/LEAVE macros
...
We don't use threads here, so no need to use them.
2012-07-30 18:01:47 +02:00
Bastien Nocera
d704f2bd2e
gtk: Add GtkSearchEntry
...
Add a search entry widget with the recommended behaviour implemented.
As used in gnome-control-center, Totem, gnome-documents and many others.
https://bugzilla.gnome.org/show_bug.cgi?id=652809
2012-06-11 19:02:55 +01:00
Matthias Clasen
5c76c1b059
Silence compiler warnings
2012-05-30 14:28:16 -04:00
Cosimo Cecchi
21342cbfde
gtk-demo: unify Theming and CSS theming sections
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
887d83b685
gtk-demo: display tabs for CSS files in theming demos
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
46f967dd7a
gtk-demo: don't try to add tabs for empty filenames
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
c5629fd06a
gtk-demo: add a demo for CSS multiple backgrounds
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
561e24b77b
gtk-demo: move styling for the CSS editor to a separate file
...
So it can be shared by multiple demos
2012-05-30 13:17:23 -04:00
Cosimo Cecchi
98fa2a39bc
gtk-demo: add a test for a CSS accordion
2012-05-30 13:17:23 -04:00
Benjamin Otte
6461105429
main: Don't overrun the file that's read
2012-05-30 13:17:23 -04:00
Benjamin Otte
075b259321
gtk-demo: Make CSS a resource
...
Also, improve the CSS to give you that basic feel.
2012-05-30 13:17:22 -04:00
Benjamin Otte
6c7f99d01e
gtk-demo: Include resources in main app
...
This is necessary for future changes
2012-05-30 13:17:22 -04:00
Benjamin Otte
45d0313001
gtk-demo: Rename resources file
...
More tests want to use resources, so make that possible.
2012-05-30 13:17:22 -04:00
Benjamin Otte
04e8a8a5ed
gtk-demo move application demo resources into a namespace
2012-05-30 13:17:22 -04:00
Benjamin Otte
3d98275961
gtk-demo: Add a name property to the demos
2012-05-30 13:17:22 -04:00
Benjamin Otte
8a5f08976d
gtk-demo: Add a simple example for theming
2012-05-30 13:17:22 -04:00
Matthias Clasen
aee7544d99
gtk-demo: Add a help stock menuitem
2012-05-26 12:08:52 -04:00
Matthias Clasen
46cc815829
Add a custom css example
2012-05-25 22:03:47 -04:00
Matthias Clasen
ebe4595cdb
Update window title
2012-05-25 20:50:35 -04:00
Matthias Clasen
5e7f8e4333
gtk-demo: Move Theming to Theming/Style Classes
...
And make the title :: parsing work for nested titles too,
so this works.
2012-05-25 20:40:47 -04:00
Matthias Clasen
1d72682332
Forgotten file
...
This change to geninclude.pl.in is needed to make my commit
91d01434bc
work.
2012-05-25 20:25:43 -04:00
Matthias Clasen
6480f3c685
gtk-demo: Add a theming example
2012-05-18 01:23:45 -04:00
Matthias Clasen
91d01434bc
gtk-demo: Show data files as well
...
Several demos use .ui files and the like. The demos are much
more useful if these files can be inspected in the ui as well.
2012-05-18 00:48:57 -04:00
Matthias Clasen
fc86f2af1d
gtk-demo: Update language in colorsel demo
...
We're no longer demoing GtkColorSelection, it is GtkColorChooser now.
2012-05-17 22:13:00 -04:00
Matthias Clasen
4e18e5f687
gtk-demo: fix the tool palette demo
...
The palette was confined to its minimal size, when in horizontal mode.
2012-04-27 08:30:05 -04:00
Alexander Larsson
516fb89065
gtk-demo: Find gtk-demo-application.exe on win32
...
We need to append the ".exe" extension when looking for the
application file on windows.
2012-04-20 16:00:48 +02:00
Matthias Clasen
b1c28151f6
gtk-demo: fix the colorsel example
...
It is necessary to hide the dialog on "response", else it won't
go away.
2012-03-02 09:57:53 -05:00
Benjamin Otte
05d438ebe2
gtk-demo: Fix gcc warnings
2012-03-01 05:32:09 +01:00
Javier Jardón
f8ca9a86b2
demos/gtk-demo/infobar.c: Do not use gtk_dialog_run()
2012-02-27 17:06:11 +00:00
Javier Jardón
8408819d61
demos/gtk-demo/colorsel.c: Do not use gtk_dialog_run()
2012-02-27 17:06:11 +00:00
Cosimo Cecchi
92322a63f5
gtk-demo: use the new GtkColorChooserDialog in the color demo
2012-02-14 16:37:02 -05:00
Matthias Clasen
41e98b14d3
gtk-demo: Use preprocessing for resources
...
Strip blanks from ui files, and convert pngs into pixdata.
This is useful and serves as a test of these preprocessing
options at the same time.
2012-02-09 08:08:23 -05:00
Matthias Clasen
72ede43928
gtk-demo: Use gdk-pixbuf resource api
...
This is nicer than manual stream manipulation.
2012-02-09 08:08:23 -05:00
Matthias Clasen
585a6652d5
Use G_SOURCE_CONTINUE/REMOVE
...
Now that GLib provides these macros, we should use them
to make the code more readable.
2012-01-30 19:12:27 -05:00
Carlos Garcia Campos
f7c6c97710
gtk-demo: Use symbolic names for button numbers
2012-01-27 09:47:44 +01:00
Ryan Lortie
eed307713b
GtkBuilder: change format of menus
...
Change the format of GtkBuilder <menu> to be more in-line with the style
of the rest of GtkBuilder so that we can do translation in a consistent
way.
The format is now substantially more difficult to hand-write, but tools
should be along soon.
There is an xslt program attached to the bug to help you convert your
existing .ui files from the old format to the new one.
https://bugzilla.gnome.org/show_bug.cgi?id=668696
2012-01-25 19:42:19 -05:00
Matthias Clasen
d818bdc297
gtk3-demo-application: add an example for the new api
...
Turn the menutoolbutton menu into one that is gmenu/gaction backed.
2012-01-24 22:27:28 -05:00
Matthias Clasen
3104e5d2c1
Add an example for settings<>action integration
...
Turn the 'color' action in gtk3-demo-application into an
action that is backed by a setting.
2012-01-24 00:07:03 -05:00
Ryan Lortie
a55ef45515
gtk3-demo-application: fix sections
...
<section> doesn't need to be given in a menubar but it does need to be
given for submenus, so add those ones back.
2012-01-16 17:19:26 -05:00
Matthias Clasen
2a6a354aa8
gtk-demo: Improve the GtkApplication demo
...
Following suggestions in bug 667968
2012-01-16 17:07:12 -05:00
Alexander Larsson
84883ccf7c
Fix build
...
Was getting this error:
main.c:785:13: error: ‘gtk_demos’ undeclared (first use in this function)
main.c:785:13: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function ‘main’:
2012-01-16 13:58:23 +01:00
Matthias Clasen
261abe55c4
Forgotten file
2012-01-15 14:46:31 -05:00
Matthias Clasen
45d9b912d9
Add a GtkApplication example to gtk3-demo
2012-01-14 20:35:18 -05:00
Benjamin Otte
5783d3b68c
gtk-demo: Prove that links work fine now
...
Also, doodling is fun.
2012-01-06 05:23:42 +01:00