summaryrefslogtreecommitdiff
path: root/docs/reference
Commit message (Collapse)AuthorAgeFilesLines
* docs: gtk/running: Document the GTK_CSD env varDaniel Boles2017-08-061-0/+15
| | | | | | It was not documented before. https://bugzilla.gnome.org/show_bug.cgi?id=778791#c1
* migrating-StyleContext: CSS does support bindingsDaniel Boles2017-06-221-1/+1
| | | | so remove the bit in the migration guide that says it doesn’t.
* css-overview: Fix typo “{with=>which} is disabled”Daniel Boles2017-06-221-1/+1
|
* Fix the buildMatthias Clasen2017-05-091-2/+0
| | | | | It seems that new gtk-doc doesn't like this variable, so drop it.
* docs: Use https for more linksJeremy Bicha2017-04-039-204/+204
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=780878
* css-overview: Fix inconsistent British English useDaniel Boles2017-03-181-1/+1
|
* css-overview: Fix+Explain color expr number rangesDaniel Boles2017-03-181-4/+8
| | | | | Last try, promise. They don’t all use 0 to 1. We should probably explain the effects too. Hopefully this manages that while not being too verbose
* css-overview: Elaborate how color expressions workDaniel Boles2017-03-171-3/+8
|
* docs/css-overview: Fix color functions’ arg ordersDaniel Boles2017-03-171-1/+1
| | | | | | | shade/alpha/mix() take colour(s) and a number that is the ratio by which to transform them. It was written here that these shall be passed in the order (number, colour). That was wrong: they must be passed in the order (colour[s], number) to work, and for the Inspector not to flag an error.
* docs/css-properties: Fix info on 3value propertiesDaniel Boles2017-02-171-1/+1
| | | | https://developer.mozilla.org/en/docs/Web/CSS/margin#Values
* docs: Advise to use gtk_show_uri_on_window()Bastien Nocera2017-02-161-2/+3
| | | | | | | Instead of gtk_show_uri() which is now deprecated, and mention an additional benefit of doing so. https://bugzilla.gnome.org/show_bug.cgi?id=778726
* docs: Fix reference to non-existent gtk_show_uri_on_parent()Bastien Nocera2017-02-161-1/+1
| | | | | | It's called gtk_show_uri_on_window(). https://bugzilla.gnome.org/show_bug.cgi?id=778726
* getting-started: typo tie->theChris Martin2017-02-051-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=775864
* docs: Add gtk_print_job_set_source_fd()David King2017-01-191-0/+1
|
* flowbox: Export gtk_flow_box_get_child_at_pos as public APIDebarshi Ray2016-12-201-0/+1
| | | | | | Bump the gtk+ version so that others can depend on this new API. https://bugzilla.gnome.org/show_bug.cgi?id=776187
* docs: Add gtk_menu_place_on_monitorMatthias Clasen2016-11-191-0/+1
|
* docs: Fix print-related includesMatthias Clasen2016-11-171-3/+3
| | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774614.
* docs: Update an exampleMatthias Clasen2016-11-171-15/+19
| | | | Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=774490
* Allow replacing input file in gtk-builder-tool simplifyMatthias Clasen2016-11-151-1/+12
|
* docs: consistent get/set function order for GtkScrolledWindowSébastien Wilmet2016-10-271-3/+3
| | | | | | | Trivial commit. For all the other GtkScrolledWindow functions, the order was get -> set. Except for 3 functions, so fix that.
* docs: update section file for GtkScrolledWindowSébastien Wilmet2016-10-261-11/+15
| | | | | | | Trivial commit. - More logical ordering (re-group related things). - Add missing functions: max_content_width/height.
* Fix css documentation typo for color definitionRobert Roth2016-10-211-1/+1
| | | | | | 'ligher' should be 'lighter', of course. https://bugzilla.gnome.org/show_bug.cgi?id=773246
* docs: Expand icon-palette exampleMatthias Clasen2016-10-211-1/+1
| | | | Add a warning color, and show that hex colors work here.
* Fix another type in the css docsMatthias Clasen2016-09-221-2/+2
|
* Fix a typo in the css docsMatthias Clasen2016-09-221-1/+1
|
* Revert "Add a release note for scrolled windows"Tristan Van Berkom2016-09-061-9/+0
| | | | | | | | This reverts commit 76af90767634f5caea622c2abc13d21adb41550c. The behavioral change described in the migration guide has now been made optional with new scrolled window API, so no need to mention this in the migration guide.
* GtkScrolledWindow: Bug 766569 - Make propagation of natural child sizes optionalTristan Van Berkom2016-08-311-0/+4
| | | | | | | | | | | Making propagation of child natural sizes mandatory (or default, even) was evidently a mistake as this causes dynamic content in a scrolled window to resize it's parent when the scrolled window is competing for space with an adjacent widget. This patch instead adds API to control whether natural width and height of the child should be propagated through the scrolled windows size requests.
* Document handle-related Wayland apiMatthias Clasen2016-08-291-0/+4
| | | | | In particular, note that this API depends on an unstable Wayland protocol and thus may have to change.
* gtk: Add GtkPadControllerCarlos Garnacho2016-08-233-1/+25
| | | | | | | | | | | | | | This GdkEventController is a helper object to handle pad events, it allows setting a mapping to action names, to be triggered in the given action group. In order to help on places where advanced mapping/configurability of pad features is not desirable, this controller also allows passing a NULL pad device, meaning it will listen on all pads, and/or passing -1 on mode/index, so an action applies to all modes/features (eg. strips/rings). https://bugzilla.gnome.org/show_bug.cgi?id=770026
* gdk: Add GdkDevicePadCarlos Garnacho2016-08-233-0/+21
| | | | | | | | | | | | This is an interface meant to be implemented by the "pad" devices. This device-specific interface exposes the mapping of all pad features, it allows retrieving: - The number of buttons/rings/strips - The number of groups - The number of modes a group has - Whether a given button/ring/strip belongs to a given group https://bugzilla.gnome.org/show_bug.cgi?id=770026
* gdk: Add pad event structs, enum values, and event mask bitCarlos Garnacho2016-08-231-0/+3
| | | | | | | | | | | | | | GDK_PAD_BUTTON*,RING and STRIP will be emitted respectively when pad buttons, rings or strips are interacted with. Each of those pad components belong to a group (a pad can contain several of those), which may be in a given mode. All this information is contained in the event. GDK_PAD_GROUP_MODE is emitted when a group in the pad switches mode, which will generally result in a different set of actions being triggered from the same buttons/rings/strips in the group. https://bugzilla.gnome.org/show_bug.cgi?id=770026
* GtkPopover: Deprecate transitions-enabledTimm Bäder2016-08-161-1/+10
| | | | | | | | | The effect of transitions-enabled=true can now be achieved using gtk_popover_popup/popdown and the effect of transitions-enabled=false can be achieved using gtk_widget_show/hide. https://bugzilla.gnome.org/show_bug.cgi?id=769706
* GtkPopover: Add gtk_popover_popdown/popupTimm Bäder2016-08-161-0/+2
| | | | | | | | | | | Since not chaining up in gtk_widget_show/gtk_widget_hide is not allowed, we can't just implicitly delay the hiding in GtkPopover's hide implementation. Fix this by introducing gtk_popover_popup() and gtk_popover_popdown() to show or hide a popover with transition and revert GtkPopover's show/hide implementation to apply their effect without the transition. https://bugzilla.gnome.org/show_bug.cgi?id=769706
* docs: Fix a dangling linkMatthias Clasen2016-08-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=769601
* Add a release not about GtkTable expand flagsMatthias Clasen2016-08-011-0/+6
|
* docs: trivial build fixSébastien Wilmet2016-07-281-1/+1
| | | | | | | | | The error was: gtk3-scan.c:193: undefined reference to `gtk_shortcuts_label_get_type' collect2: error: ld returned 1 exit status It's since commit 7543cd8ce419a4d660f0ff7614f0c6e1cac81804, which made the GtkShortcutLabel class public.
* shortcut-label: make it publicGeorges Basile Stavracas Neto2016-07-271-0/+1
| | | | | | | | | | | | | | | | GtkShortcutLabel is a widget that displays a single shortcut accelerator or gesture in the user interface, and is currently used by the shortcuts window. This widget, however, has public value as other applications also may want to expose their own shortcuts. For instance, it'll be useful for the Keyboard panel on Control Center and the new shortcut editor in Pitivi, among others. This patch exposes GtkShortcutLabel as a public widget, and adds the necessary documentation. https://bugzilla.gnome.org/show_bug.cgi?id=769205
* gtkmenu: add gtk_menu_popup_at_* ()William Hua2016-07-196-0/+751
| | | | | | | | | | Adds the following functions: gtk_menu_popup_at_rect () gtk_menu_popup_at_widget () gtk_menu_popup_at_pointer () https://bugzilla.gnome.org/show_bug.cgi?id=756579
* gdkwindow: add gdk_window_move_to_rect ()William Hua2016-07-191-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756579
* page setup: Add api to serialize to a GVariantMatthias Clasen2016-07-081-0/+3
| | | | | | This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* Add api to serialize a GtkPaperSize to a GVariantMatthias Clasen2016-07-081-0/+2
| | | | | | This will be useful in portalized printing. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* print settings: Add api to serialize to a GVariantMatthias Clasen2016-07-081-0/+2
| | | | | | This will be useful for portalized print support. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* Add api to serialize GtkFileFilter to a variantMatthias Clasen2016-07-081-0/+5
| | | | | | This will be used to send filters over D-Bus in future commits. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* Add gtk_show_uri_on_windowMatthias Clasen2016-07-081-0/+1
| | | | | | | | The gtk_show_uri API doesn't let us specify a parent window. With portals, there may be an intermediate dialog, for which it is nice to have parent window information, to place it properly. https://bugzilla.gnome.org/show_bug.cgi?id=768499
* css: add documentation for background-blend-modeGeorges Basile Stavracas Neto2016-07-031-0/+14
| | | | | | | | After introducing the new CSS property, it is natural to add some documentation explaining the behavior of it and our support coverage. https://bugzilla.gnome.org/show_bug.cgi?id=768305
* headerbar: support expand property for childrenRay Strode2016-06-241-0/+7
| | | | | | | | | | | | | | | | | The header bar currently ignores the expand property on its children. This commit changes the code to honor that property. It divvies up any free space and distributes it equally to packed children (with any left over space given out a pixel at a time on a first come, first serve basis). This commit also adds support for the title widget to be made expandable. It accomplishes this by using up the padding the title widget is centered with. https://bugzilla.gnome.org/show_bug.cgi?id=724332
* Add a release note for scrolled windowsMatthias Clasen2016-06-191-0/+9
| | | | Mention the changed sizing behavior and how to address it.
* docs: Fix a typo in GDK sections fileKrzesimir Nowak2016-06-161-1/+1
|
* Mention single-stop gradients in the release notesMatthias Clasen2016-06-151-0/+6
| | | | This is something people stumble over in their custom CSS.
* Associate the drawing context to the Cairo contextEmmanuele Bassi2016-06-091-1/+1
| | | | | | | | | | | Instead of associating the GdkWindow that created the GdkDrawingContext we can directly bind the Cairo context to the GDK drawing context. Cairo contexts created via gdk_cairo_create() go back to not having a GdkWindow associated to them, like they did before we introduced the gdk_window_begin_draw_frame() API. https://bugzilla.gnome.org/show_bug.cgi?id=766675