summaryrefslogtreecommitdiff
path: root/demos/gtk-demo
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Make double-click work againBenjamin Otte2013-12-131-13/+40
|
* gtk-demo: Use title case consistentlyMatthias Clasen2013-12-127-9/+9
|
* Add a header bar example to gtk-demoMatthias Clasen2013-12-123-0/+73
| | | | | This is basically standalone the testtitlebar example, turned into a demo.
* Fix a segfault in the event axes demoMatthias Clasen2013-12-101-1/+2
| | | | Seems that pointer_info can be NULL, after all.
* demo: only set transient if demo returns a toplevelWilliam Jon McCann2013-12-091-2/+5
|
* demo: put run button on the leftWilliam Jon McCann2013-12-091-1/+1
| | | | It is a bit annoying to have to go over to the right side to click it.
* demo: Add demo for advanced event information managementCarlos Garnacho2013-12-063-0/+421
| | | | | | | | | 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
* gtk-demo: fix colorchooser exampleMatthias Clasen2013-12-031-0/+1
| | | | | A nested dialog on top of a modal dialog must itself be modal, otherwise it doesn't get any input.
* demo: Fix the size of the run buttonYosef Or Boczko2013-12-031-1/+1
|
* demo: make demo windows transient to the main windowWilliam Jon McCann2013-12-031-0/+3
| | | | This prevents them getting lost behind.
* demo: Add a GtkHeaderBarWilliam Jon McCann2013-12-032-51/+85
|
* demo: change application name of inner demoWilliam Jon McCann2013-12-031-4/+4
|
* demo: expand notebook tabsWilliam Jon McCann2013-12-032-0/+9
|
* demo: Port to GtkApplicationWilliam Jon McCann2013-12-034-77/+304
| | | | And use GtkBuilder to construct interface.
* Replace all margin-left and margin-right with margin-start and margin-endYosef Or Boczko2013-11-152-18/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710238
* Update copyright yearMatthias Clasen2013-11-091-1/+1
|
* demo: Make sure to add gtk3-demo.desktop to tarballRico Tzschichholz2013-11-071-1/+1
| | | | In addition to fc71414ada5b270a4c6c9775225f5cdc5d303f63
* demo: use the installed named iconWilliam Jon McCann2013-11-0511-45/+13
|
* demo: Add desktop fileWilliam Jon McCann2013-11-052-0/+13
|
* demo: add iconWilliam Jon McCann2013-11-059-0/+2915
|
* Make gtk-demo use the newer app iconJasper St. Pierre2013-10-072-4/+1
|
* CosmeticsMatthias Clasen2013-10-071-1/+1
| | | | | Make the gtk-demo listbox example follow others in window title style.
* Add a flow box example to gtk-demoMatthias Clasen2013-10-073-0/+745
|
* demo: Show popup menu on tabsWilliam Jon McCann2013-10-021-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707920
* demos/gtk-demo/toolpalette.c: Avoid C99ismChun-wei Fan2013-09-231-1/+2
| | | | Avoid declaring variable at the middle of the block
* demos: Fix performance in GtkToolPalette demo.Murray Cumming2013-09-161-0/+7
| | | | | gtk_icon_theme_list_icons() now gets so many icons that the demo was unusable. Limit it to 10 per group (theme context).
* GtkWidget: Improve drag-leave and drag-data-received docs.Murray Cumming2013-09-161-35/+36
| | | | | | | | | | | | | | | | | | * 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.
* demo: add a multi-line infobar exampleWilliam Jon McCann2013-08-031-1/+1
|
* Avoid a compiler warningMatthias Clasen2013-08-011-1/+1
|
* gtk3-demo: Improve the infobar demoMatthias Clasen2013-07-311-0/+33
| | | | Add buttons that allow to show and hide each info bar.
* gtk3-demo: Adapt to GtkSearchEntry api changesMatthias Clasen2013-07-281-1/+11
| | | | Connect to ::search-changed instead of ::changed.
* Another round of template binding api changesMatthias Clasen2013-07-261-13/+13
| | | | | | | | | | | 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-261-16/+16
| | | | | | | | | | | | | | | | | | | | 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-261-13/+13
| | | | | | | | | | 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>
* demo: add a close button to the info bar demoWilliam Jon McCann2013-07-241-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=704274
* gtk-demo/builder: Re-enable deprecated symbolsEmmanuele Bassi2013-07-201-1/+1
| | | | The demo uses GtkAction.
* gtk-demo: Use the new macros for adding instance private dataEmmanuele Bassi2013-07-091-7/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* gtk-demo: Properly cleanup the revealer demoMatthias Clasen2013-07-041-1/+8
| | | | We forgot to remove the timeout.
* gtk-demo: Add demo of hidpi css assets via -gtk-scaled()Alexander Larsson2013-07-036-2/+5
|
* Fix the buildWilliam Jon McCann2013-06-302-7/+0
| | | | Remove references to removed files
* Remove deprecated UIManager from the demoWilliam Jon McCann2013-06-303-718/+1
|
* Trivial rewordingMatthias Clasen2013-06-281-1/+1
| | | | | Make the listbox demo follow the naming convention of the other demos.
* gtk-demo: Fix compile warningsBenjamin Otte2013-06-261-2/+2
|
* gtk-demo: Remove unused variableBenjamin Otte2013-06-261-1/+0
|
* Remove usage of stock APIs in demoWilliam Jon McCann2013-06-2428-813/+156
| | | | With the exception of GtkAction.
* gtk-demo: Add GtkListBox demoAlexander Larsson2013-06-185-0/+819
|
* Add GtkSearchBar widgetBastien Nocera2013-05-311-26/+42
| | | | | | | 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
* GtkSearchEntry: Delay the changed signal by defaultBastien Nocera2013-05-173-0/+98
| | | | | | | | | | | | 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
* build: remove --disable-rebuildsBenjamin Otte2013-05-091-1/+1
| | | | | 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.
* gtk-demo: Include config.h firstMatthias Clasen2013-05-051-1/+2
| | | | | If config.h is included after gdkversionmacros.h, _GDK_EXTERN gets redefined and cpp doesn't like that.