summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* widget-factory: add actionbarWilliam Jon McCann2014-01-071-3/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=721665
* 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-153-20/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=710238
* widget-factory: Make the activity mode more completeMatthias Clasen2013-11-111-14/+24
| | | | | Test the 'no more pulse' situation. When the slider goes all the way to the right towards slow, we remove the pulse timeout.
* Make the progress bar speed variableMatthias Clasen2013-11-101-1/+21
| | | | | | Arrange for the scales to control the speed of the activity mode progress bar in gtk3-widget-factory. This will be useful in demonstrating smoother progress bar animation in the future.
* Update copyright yearMatthias Clasen2013-11-091-1/+1
|
* widget-factory: polish the layoutWilliam Jon McCann2013-11-081-86/+70
| | | | Add a bit more breathing room and put similar widgets together.
* demo: Make sure to add gtk3-widget-factory.desktop to tarballRico Tzschichholz2013-11-071-1/+1
| | | | In addition to 721cdfd966c41b8fb57f77e9c0e409c6a7a98b03
* demo: Make sure to add gtk3-demo.desktop to tarballRico Tzschichholz2013-11-071-1/+1
| | | | In addition to fc71414ada5b270a4c6c9775225f5cdc5d303f63
* widget-factory: Update copyright in about dialogJasper St. Pierre2013-11-061-1/+1
|
* widget-factory: Make the About dialog actually transientJasper St. Pierre2013-11-061-2/+2
| | | | It's an app action, not a window action.
* Use a big icon in the stack exampleMatthias Clasen2013-11-051-0/+1
| | | | We used a 256x256 before. Keep doing that.
* widget-factory: use new icon instead of gtk logoWilliam Jon McCann2013-11-055-12/+3
|
* widget-factory: add iconWilliam Jon McCann2013-11-0510-1/+4885
|
* 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
|
* widget-factory: add desktop file for widget factoryWilliam Jon McCann2013-11-052-0/+13
|
* widget-factory: port to GtkApplication and GtkHeaderBarWilliam Jon McCann2013-11-052-512/+148
|
* widget-factory: Add a pulsing progress barWilliam Jon McCann2013-11-042-0/+23
|
* 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
|
* widget-factory: Remove accel-groupsBenjamin Otte2013-10-061-8/+0
| | | | GtkMenuItem doesn't have accel groups anymore.
* 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.