summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()Benjamin Otte2010-09-262-6/+6
| | | | | The Colormap argument needed to be removed, so the renaming is just a side effect.
* gtk-demo: Remove colormaps from window attributesBenjamin Otte2010-09-262-4/+2
|
* demos: No need to set the background, it gets overridden anywayBenjamin Otte2010-09-261-3/+0
|
* API: Change offscreen windows to use a cairo_surface_tBenjamin Otte2010-09-262-9/+9
| | | | | This requires changes to all the offscreen surface getters that used to return a GdkPixmap before.
* Remove url hooks from GtkAboutDialog and GtkLinkButtonMatthias Clasen2010-09-221-21/+0
| | | | | | | | With gtk_show_uri, global configurability of link activation has moved to GIO/gvfs. For local overrides, GtkLinkButton has the ::clicked signal, and GtkAboutDialog gets an ::activate-link signal. Bug 339745
* Change GtkEditable typedef from GtkEditableClass to GtkEditabeInterfaceJavier Jardón2010-09-172-3/+3
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=323904
* demos: Use gtk_size_request_get_size() instead gtk_widget_size_request()Javier Jardón2010-09-151-1/+2
|