summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* gtk-demo: Don't right-justify menu itemsBenjamin Otte2011-05-021-1/+0
| | | | We don't want to demo things that are a bad idea (quoted from the docs).
* gtk-demo: Add placeholder text to search entry demoCarlos Garcia Campos2011-03-221-0/+8
|
* gtk-demo: plug a memleak in the editable cells demoMatthias Clasen2011-02-171-5/+5
|
* gtk-demo: Make the menu example work againMatthias Clasen2011-02-171-37/+7
|
* Don't leak the GDir in the iconview exampleMatthias Clasen2011-02-171-0/+1
|
* Bump the version to 3.0.0Matthias Clasen2011-02-102-6/+6
| | | | | | | At the same time, change the library sonames for -3.0 to just -3. This is necessary since the 2.99 releases installed libraries like libgtk-3.0.so.0.9903.0, and we want to prevent the library version number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
* gtk-demo: Use symbolic icon that existsBastien Nocera2011-02-051-1/+1
| | | | For the Images test.
* Don't use deprecated style apiMatthias Clasen2011-01-102-2/+0
|
* gtk-demo: Undef GDK_DISABLE_DEPRECATED to make test compileBenjamin Otte2011-01-051-0/+3
|
* demos: Update testpixbuf-scale demo for adjustment sealingBenjamin Otte2011-01-051-2/+2
|
* Fix DSO link issuesRobert Ancell2010-12-222-0/+2
|
* gtk-demo: Use g_object_unref instead of gdk_cursor_unrefBenjamin Otte2010-12-211-1/+1
|
* Merge libgdk and libgtkMatthias Clasen2010-12-212-13/+9
| | | | | | | | | | | This commit does a number of things: - remove some dead wchar configury from configure.ac and gdkconfig.h - repurpose gdkconfig.h as header that contains GDK_WINDOWING_foo macros for each included backend, include it in gdk.h and install it in $includedir instead of below $libdir - drop the backend from the library names - build libgdk-3.0.la as a convenience lib and include it in libgtk-3.0.la It does not yet enable building multiple backends at the same time.
* demos/gtk-demo/clipboard.c: Use accessor functions to access GtkSelectionDataJavier Jardón2010-12-151-1/+1
|
* gtk-demo: gtk_widget_render_icon() => gtk_widget_render_icon_pixbuf()Benjamin Otte2010-12-155-11/+11
|
* Port gtk3-demo to GtkStyleContextMatthias Clasen2010-12-047-87/+86
|
* Bug 619148 - "active ID" properties (GtkComboBox)Ryan Lortie2010-11-301-1/+20
| | | | | | | Based on a patch by Matthias, add an "active-id" property for GtkComboBox and add some convenience API for GtkComboBoxText. Also, add a test case to gtk-demo.
* demos: Replace size_request by get_preferred_width/heightJavier Jardón2010-11-172-6/+64
|
* Rewrap text in gtk-demoMatthias Clasen2010-11-091-169/+238
|
* Update msvc buildHans Breuer2010-11-071-4/+5
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-10-3133-62/+65
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-3034-62/+62
|
* Use gtk_scale_new() instead gtk_[v|h]scale_new()Javier Jardón2010-10-302-2/+2
|
* Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()Javier Jardón2010-10-301-1/+2
|
* Use gtk_paned_new() instead gtk_[v|h]paned_new()Javier Jardón2010-10-302-3/+3
|
* Use gtk_separator_new() instead gtk_[v|h]separator_new()Javier Jardón2010-10-302-2/+3
|
* Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()Javier Jardón2010-10-301-2/+2
|
* Use new GtkComboBoxEntry in all testsChristian Dywan2010-10-181-13/+6
|
* Use cairo_surface_destroy instead of g_object_unrefKristian Rietveld2010-10-171-1/+1
|
* Use the new GtkComboBoxText APIJavier Jardón2010-10-153-11/+11
| | | | | Also remove mentions of the old text convenience API from the docs, and point to GtkComboBoxText instead.
* Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBoxTristan Van Berkom2010-10-131-1/+8
| | | | | | | | | | | | | GtkComboBox now sports a construct-only "has-entry" property which decides if it uses a GtkEntry to allow additional user input. Also it has a new "entry-text-column" to fetch strings for the entry from the model. This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+ to use the new semantics on GtkComboBox instead. GtkComboBoxEntry will be removed altogether before GTK+ 3, in a later commit.
* Remove uses of gtk_statusbar_set_has_resize_grip()Cody Russell2010-10-081-23/+0
| | | | This function is going away.
* gdk: Make gdk_pixbuf_get_from_*() bindableBenjamin Otte2010-10-022-6/+6
| | | | | | | | | | The ownership of the return value for gdk_pixbuf_get_from_window() and gdk_pixbuf_get_from_surface() was determined by the first argument. Because that is an ugly design and the functions are new to GTK3, we decided to adapt them. And that adaptation was quite easy since almost no one passses anything but NULL as the first argument.
* gtk-demo: remove GtkObject typeJavier Jardón2010-09-291-1/+0
|
* Remove unneded castsJavier Jardón2010-09-291-1/+1
| | | | | | As gtk_adjustment_new() returns a GtkAdjustment* now https://bugzilla.gnome.org/show_bug.cgi?id=630731
* gtk-demo: Clean up toolpalette drawing codeBenjamin Otte2010-09-271-6/+1
| | | | | Fix compile warning and use cairo_paint() instead of querying the widget size and cairo_fill()ing it.
* Fixing demos/ directory to build for removal of GtkObject type.Tristan Van Berkom2010-09-274-4/+4
|
* gtk-demo: Use draw signal in toolpalette demoJavier Jardón2010-09-271-14/+8
|
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-263-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* gtk-demo: Get rid of gdk_drawable_get_size() usageBenjamin Otte2010-09-262-11/+12
|
* API: Rename gtk_cairo_paint_*() to gtk_paint_*()Benjamin Otte2010-09-262-2/+2
| | | | | | Large patch, but just renaming. Indentation should still mostly be correct because I took care of keeping the indentation for this function name.
* gtk-demo: Port offscreen example to draw vfuncBenjamin Otte2010-09-261-60/+45
|
* gtk-demo: Port offscreen example to draw vfuncBenjamin Otte2010-09-261-52/+46
|
* testpixbuf-save: Use the draw signalBenjamin Otte2010-09-261-10/+5
|
* testpixbuf-scale: Connect to draw signalBenjamin Otte2010-09-261-17/+14
|
* pixbuf-demo: Use draw signalBenjamin Otte2010-09-261-11/+5
|
* gtk-demo: Use draw signal in color selection demoBenjamin Otte2010-09-261-21/+9
|
* gtk-demo: Connect to draw signal in rotated-textBenjamin Otte2010-09-261-16/+8
|
* gtk-demo: Connect to draw signal in pixbufs exampleBenjamin Otte2010-09-261-13/+6
|
* gtk-demo: Connet to draw signal in drawingarea exampleBenjamin Otte2010-09-261-35/+19
|