Gergely POLONKAI
0d4dca5ecb
Typo fix in GTK+ common questions
...
https://bugzilla.gnome.org/show_bug.cgi?id=732433
2014-06-30 22:23:00 -04:00
Matthias Clasen
e9ac1bb476
Make gtk_icon_theme_add_resource_path public API
...
This makes it possible to look up icons in resources using
the icon theme api, and should be used as a replacement
for installing icons below $pkgdatadir/icons and adding
that location to the search path.
2014-06-30 17:13:04 -04:00
Bastien Nocera
d454d986d9
docs: Sort GDK_DEBUG values alphabetically
...
https://bugzilla.gnome.org/show_bug.cgi?id=732330
2014-06-28 12:17:04 +02:00
Bastien Nocera
7c88f19c74
docs: Sort GDK_DEBUG values alphabetically
...
https://bugzilla.gnome.org/show_bug.cgi?id=732330
2014-06-28 12:17:04 +02:00
Matthias Clasen
e6341a0b63
Add a FLAT style class
...
This will be used for frame-less buttons and frames in the future.
2014-06-26 22:02:08 -04:00
Matthias Clasen
a5f474bc66
Add an icon browser
...
This is meant to help app authors choose the right icons.
2014-06-24 21:58:40 -04:00
Matthias Clasen
ef30b8c051
docs: Drop image references for stock items
...
Most of those images are no longer in our tree, so just
say which ones have icons and rtl variants, instead of
showing it.
2014-06-20 10:55:48 -04:00
Matthias Clasen
4f1ff179bb
Revert "Document gtk_icon_theme_add_resource_path"
...
This reverts commit 988b6b483d
.
2014-06-20 08:46:42 -04:00
Matthias Clasen
988b6b483d
Document gtk_icon_theme_add_resource_path
2014-06-20 01:17:47 -04:00
Matthias Clasen
a666827d3a
gtk-update-icon-cache: Add an --include-image-data option
...
Now that we don't include the image data by default anymore,
lets add an option that does it.
2014-06-14 19:30:17 -04:00
Matthias Clasen
9bc07a2634
Add a message-dialog style class
...
This helps in separating message dialogs from other dialogs,
theming-wise.
2014-06-12 09:22:36 -04:00
Matthias Clasen
e97cf2fd0b
Add GTK_STYLE_CLASS_POPUP to the docs
2014-06-12 09:22:06 -04:00
Dieter Verfaillie
072e215ff3
docs: fix link to language bindings page
...
Reported on irc://irc.gnome.org/gtk+ by Rena.
https://bugzilla.gnome.org/show_bug.cgi?id=731377
2014-06-11 23:03:00 -04:00
Matthias Clasen
5334fb8921
Drop GDK_MULTIHEAD_SAFE
...
We don't support multiple screens anymore, so there is no need
for marking API as multihead safe any longer.
2014-06-11 21:55:15 -04:00
Benjamin Otte
6f2eb1d627
docs: Remove unused variable
2014-06-11 01:18:04 +02:00
Matthias Clasen
b355493d12
docs: Add GtkActionBar to the type list
...
Without this, we don't get object hierarchy, among other things.
2014-06-09 21:41:43 -04:00
Matthias Clasen
5b5cf89a63
Add GtkActionBar and GtkSearchBar to visual index
...
These were missing.
2014-06-09 21:41:43 -04:00
Matthias Clasen
60cd7076cf
Add a csd style class
...
This will be used for client-side decorated windows.
https://bugzilla.gnome.org/show_bug.cgi?id=731187
2014-06-09 14:01:42 -04:00
Matthias Clasen
111b3bca0b
docs: Sort style classes alphabetically
...
Otherwise, it is pretty hard to keep track of what
classes are missing from the list. As a consequence,
several of the existing classes were missing. Add those
at the same time.
2014-06-06 22:07:15 -04:00
Carlos Garnacho
8c21b0bee5
docs: Add some more information in the "input handling model" chapter
...
Grabs/Touch/Gestures are now fairly well covered. Only keyboard handling
is left.
2014-05-28 15:52:14 +02:00
Matthias Clasen
e4680d64a0
Documentation fixes
...
Add a few missing symbols, and match up parameters in headers
and doc comments.
2014-05-27 14:33:32 -04:00
Matthias Clasen
4ce2f3e769
Silence gtk-doc warnings
2014-05-27 13:17:34 -04:00
Carlos Garnacho
d05a9f9a7b
gesture: Replace gtk_gesture_attach/detach with event controller API
...
Event controllers now auto-attach, and the GtkCapturePhase only determines
when are events dispatched, but all controllers are managed by the widget wrt
grabs.
All callers have been updated.
2014-05-27 17:47:12 +02:00
Carlos Garnacho
2e903243c6
eventcontroller: Make the event-mask property and methods private.
...
This will rarely have any use if no subclassing is allowed, so just make it
private for our own.
2014-05-27 17:47:12 +02:00
Matthias Clasen
38daabd838
docs: enum cleanup
...
Move GtkIMPreeditStyle nad GtkIMStatusStyle to the settings where
they are solely used.
2014-05-26 10:37:34 -04:00
Matthias Clasen
0bd0f39576
docs: enum cleanup
...
Move GtkStateType to the GtkWidget apis where it is used, and
mark the enum as deprecated.
2014-05-26 10:37:06 -04:00
Matthias Clasen
4ae95157ae
docs: remove markup
...
The overview chapters don't go through shorthand processing, so
don't use them there.
2014-05-26 10:17:07 -04:00
Matthias Clasen
83f9649c9c
docs: Move GdkColor off into a deprecated section
2014-05-24 23:31:54 -04:00
Benjamin Otte
4f89eb05cf
API: widget: Add gtk_widget_set_clip() API
...
And handle the fact that drawing bounds are now handled by this API and
the corresponding gtk_widget_get_clip().
Also add _gtk_widget_supports_clip() function to check if a widget has
been ported to the new world.
2014-05-24 16:12:20 +02:00
Matthias Clasen
1d897a9bf2
docs: Flesh out the inspector section a bit
2014-05-24 10:07:46 -04:00
Rico Tzschichholz
3f140d5391
docs: Fix make dist
2014-05-24 12:16:56 +02:00
Matthias Clasen
9037f7b64e
docs: more input handling docs
2014-05-24 01:56:44 -04:00
Matthias Clasen
70bccb38c3
Revert "docs: GtkEventController was dropped from public api"
...
This reverts commit eefac03b395a6b885fd61c100b48652200beb996.
2014-05-23 19:54:32 +02:00
Matthias Clasen
9917b15bd3
docs: gtk_gesture_cancel_sequence was made private
2014-05-23 19:54:32 +02:00
Matthias Clasen
6cc9744558
docs: GtkEventController was dropped from public api
2014-05-23 19:54:32 +02:00
Carlos Garnacho
0b3f4d5555
gesturesingle: Add an "exclusive" boolean property
...
All "exclusive" gestures listen for either pointer events, or
"pointer emulating" touch events, so only a single sequence at
a time can make these run.
2014-05-23 19:54:31 +02:00
Carlos Garnacho
44a960199b
gesture: Make gtk_gesture_get_last_update_time() private
2014-05-23 19:54:29 +02:00
Carlos Garnacho
0288fd0a88
gesture: Make gtk_gesture_check() private
2014-05-23 19:54:29 +02:00
Carlos Garnacho
5369c77029
gesture: Simplify gesture/widget interaction public API
...
The propagation phase property/methods in GtkEventController are gone,
This is now set directly on the GtkWidget add/remove controller API,
which has been made private.
The only public bit now are the new functions gtk_gesture_attach() and
gtk_gesture_detach() that will use the private API underneath.
All callers have been updated.
2014-05-23 19:54:29 +02:00
Carlos Garnacho
bf6181a382
docs: Add missing GtkEventController functions
2014-05-23 19:54:28 +02:00
Carlos Garnacho
958efad71d
docs: Add missing controller/gesture docs
2014-05-23 19:54:27 +02:00
Carlos Garnacho
7f787e1d3b
docs: Add GtkGestureSingle to docs
2014-05-23 19:54:22 +02:00
Carlos Garnacho
4ec1fafe2f
docs: Add GtkWidget gesture functions
2014-05-23 19:54:22 +02:00
Carlos Garnacho
73c2964e85
hook GtkGesture* into docs generation
2014-05-23 19:54:21 +02:00
Matthias Clasen
b26da6ed4f
docs: Include input handling overview
...
Now that it is not entirely empty anymore, lets include it.
2014-05-22 15:46:42 -04:00
Matthias Clasen
e491da532a
Some more input handling docs
2014-05-22 15:45:31 -04:00
Matthias Clasen
3d981069ab
Fill in some content in the input handling overview
2014-05-22 15:16:37 -04:00
Matthias Clasen
33207f4597
Add a 3.14 index for the GDK docs
2014-05-21 19:02:52 -04:00
Matthias Clasen
3263b963e6
Add a skeleton for an input handling overview document
...
Not integrated in the docs yet, since there's no content.
2014-05-20 10:10:31 -04:00
Matthias Clasen
edd6c4d487
docs: enum cleanup
...
Move GtkExpanderStyle over to the deprecated GtkStyle.
2014-05-20 09:54:01 -04:00
Matthias Clasen
575d0eabfb
docs: enum cleanup
...
Move GtkResizeMode to the only place it is used.
2014-05-20 09:54:01 -04:00
Matthias Clasen
1c271365ab
docs: Minor fix
2014-05-20 09:54:01 -04:00
Matthias Clasen
d5251141ce
docs: enum cleanup
...
Move GtkWindowPosition and GtkWindowType to the only place
they are used.
2014-05-20 09:54:01 -04:00
Matthias Clasen
59e4be9752
docs: enum cleanup
...
Move GtkJunctionSides, GtkRegionFlags and GtkBorderStyle
to the GtkStyleContext docs.
2014-05-20 09:54:01 -04:00
Matthias Clasen
73d0bcb874
docs: enum cleanup
...
Move GtkDragResult to the DND section
2014-05-20 09:54:01 -04:00
Matthias Clasen
04192d04a2
docs: enum cleanup
...
Move types that are only used in binding parsing to
gtkrc, together with the deprecated api.
2014-05-20 09:54:01 -04:00
Matthias Clasen
e5a1734ce9
docs: enum cleanup
...
scrolledwindow part 2
2014-05-20 09:54:01 -04:00
Matthias Clasen
a846e7f818
docs: enum cleanup
...
Move GtkCornerType to the GtkScrolledWindow docs.
2014-05-20 09:54:01 -04:00
Matthias Clasen
2430762f9b
docs: enum cleanup
...
Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox.
2014-05-20 09:54:01 -04:00
Matthias Clasen
cf1c8c8c69
docs: enum cleanup
...
Move GtkAttachOptions to the only place its used: GtkTable
2014-05-20 09:54:01 -04:00
Matthias Clasen
ee244473d6
doc: enum cleanup
...
Move GtkArrowType to where it is used in undeprecated api:
GtkMenuButton.
2014-05-20 09:54:01 -04:00
Matthias Clasen
edde7aca60
docs: enum cleanup
...
Move GtkArrowPlacement to the GtkMenu docs. This type is
only used for a style property there.
2014-05-20 09:54:01 -04:00
Matthias Clasen
b72f932b9a
docs: enum cleanup
...
Move GtkAccelFlags to the GtkAccelGroup docs.
2014-05-20 09:54:01 -04:00
Rico Tzschichholz
0c4dc3c157
docs: Fix make dist
2014-05-20 08:11:44 +02:00
Matthias Clasen
9af2710d84
Add man pages for gtk3-demo and gtk3-widget-factory
...
We install the applications, so they should also have some docs.
2014-05-19 23:20:56 -04:00
Matthias Clasen
e80df0aed0
Minor doc fix
2014-05-15 08:43:43 -04:00
Matthias Clasen
99f36ffbb4
docs: Add an index for 3.14 additions
2014-05-14 15:56:01 -04:00
Matthias Clasen
a600718846
Deprecate GtkArrow
...
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:13 -04:00
Matthias Clasen
069a2603ef
inspector: Add a setting to disable the keybinding
...
This will be needed for lockdown, e.g. on the login screen.
https://bugzilla.gnome.org/show_bug.cgi?id=730007
2014-05-13 15:20:36 -04:00
Matthias Clasen
b8531087bd
inspector: All to turn it on programmatically
...
Export gtk_window_set_interactive_debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=730008
2014-05-13 15:20:36 -04:00
Matthias Clasen
63288829b0
Add an alternative keybinding for the inspector
...
Control-Shift-I is already used for similar things in many
applications, so provide Control-Shift-D as an alternative.
https://bugzilla.gnome.org/show_bug.cgi?id=730043
2014-05-13 11:04:43 -04:00
Matthias Clasen
ec0a60a248
Deprecate GtkMisc
...
This has been dangling ever since 3.0.
2014-05-13 08:45:00 -04:00
Matthias Clasen
ea33d7a1e1
Move GtkIconFactory to deprecated section in the docs
...
Just catching up with reality.
2014-05-11 22:03:27 -04:00
Matthias Clasen
49733154a6
Deprecate GtkNumerableIcon
...
It was a failed experiment, it is basically unused, and it complicates
code in GtkIconTheme that we want to rework.
2014-05-11 22:02:32 -04:00
Matthias Clasen
53a67d20a2
extract-strings: Support more GtkBuilder markup
...
The inspector templates are using the <item> tag with an
id attribute, which was causing extract-strings to fail.
Fix this.
2014-05-10 22:04:38 -04:00
Matthias Clasen
93177f7bf0
Add all version macros to the docs
2014-04-23 23:25:30 -04:00
Matthias Clasen
2e1d0df1ed
example: Update screenshots
2014-04-17 22:55:41 -04:00
Matthias Clasen
b718b95aab
example: Port to gtk_application_set_accels_for_action
...
Instead of hardcoding an accelerator in the ui file, use
gtk_application_set_accels_for_action.
2014-04-17 22:55:38 -04:00
Matthias Clasen
f521dddaed
example: Don't set a nonexisting property
...
The GtkHeaderBar::show-fallback-app-menu property does not exist,
and isn't needed anyway.
2014-04-17 22:55:36 -04:00
Matthias Clasen
4c03903045
Add new switch api to the docs
2014-04-06 01:52:49 -04:00
Matthias Clasen
4ebd2d3f7e
Add new listbox api to docs
2014-04-06 01:52:47 -04:00
Owen W. Taylor
40b6d907bf
Use GDK's current window tracking when synthesizing events in GTK+
...
Add gdk_device_get_last_event_window(), and use to implement the window
tracking we need for synthesizing crossing events for sensitivity changes
and gtk grabs, rather than keeping the information in qdata and updating
it based when GTK+ gets events.
https://bugzilla.gnome.org/show_bug.cgi?id=726187
2014-03-12 23:03:53 -04:00
Matthias Clasen
15004e5930
Allow selecting a dark variant with GTK_THEME
...
Dark themes need to be debugged, too.
Author: Matthias Clasen <mclasen@redhat.com>
2014-03-06 19:30:33 -05:00
William Jon McCann
abe9ce45f3
docs: fix headerbar screenshot
2014-02-25 20:41:36 -05:00
William Jon McCann
5c856c96f6
docs: update the screenshots
...
From the doc shooter.
2014-02-20 14:04:18 -05:00
Matthias Clasen
2f78ffc3e2
docs: Improve section headings
2014-02-19 19:39:07 -05:00
Matthias Clasen
832d90cc3a
Small documentation fixes
2014-02-19 01:03:38 -05:00
Matthias Clasen
fc19d02b99
Add gtk_popover_bind_model to the docs
2014-02-17 06:52:38 -05:00
Yosef Or Boczko
598123fe25
Fix doc build
2014-02-17 11:43:55 +02:00
Matthias Clasen
8bfa5e4611
Drop GtkCenterBox
...
Its functionality has been subsumed in GtkBox.
2014-02-16 23:05:21 -05:00
Matthias Clasen
06716a6c79
Add center widget support to GtkBox
...
This makes GtkCenterBox unnecessary, and at the same time
adds more features: the center widget can be expanded, and
baseline alignment is supported.
2014-02-16 22:57:24 -05:00
William Jon McCann
83ed0f8d47
docs: shorten the shooter timeout
2014-02-13 20:59:26 -05:00
William Jon McCann
686de28701
docs: fix the display of message dialog
2014-02-13 20:47:26 -05:00
William Jon McCann
d88c074197
docs: don't add a border around info bars
2014-02-13 20:47:26 -05:00
William Jon McCann
1f38477f29
docs: fix the doc shooting for the volume button
2014-02-13 20:47:25 -05:00
William Jon McCann
57c618e887
docs: don't try to get the frame for CSD windows
2014-02-13 20:47:25 -05:00
William Jon McCann
9bb3b2ae3c
docs: get the pixbuf options from the existing instead of hardcoding.
2014-02-13 20:47:25 -05:00
William Jon McCann
7796e7863c
docs: don't use a loop for the docs shooter
2014-02-13 20:47:25 -05:00
William Jon McCann
c86ee0558c
Rename GtkActionBar to GtkCenterBox
...
https://bugzilla.gnome.org/show_bug.cgi?id=723929
2014-02-12 08:08:03 -05:00
Matthias Clasen
cf4a41a856
Add GtkEntry:max-width-chars
...
This property allows specifying a natural width of
the entry that is bigger than the minimum width.
https://bugzilla.gnome.org/show_bug.cgi?id=724094
2014-02-11 17:54:25 -05:00
Matthias Clasen
3459a0a273
Revert "Introduce API to get the preferred visual"
...
This reverts commit 2b95d1a34e
.
Conflicts:
gdk/gdkscreen.c
2014-02-10 22:15:28 -05:00
Matthias Clasen
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
Matthias Clasen
9822d510a6
GtkMenuButton: Support popovers
...
Add api to allow explicitly setting a GtkPopover instead of
a GtkMenu as the popup of a GtkMenuButton. Also, add api to
instruct the menu button to construct a popover when given
a menu model.
We set the style class "menu-button" on the button only when
it pops up a menu, to allow different treatment for the active
state of the button in the two cases.
https://bugzilla.gnome.org/show_bug.cgi?id=723878
2014-02-08 20:42:20 -05:00
Matthias Clasen
2fea2d4dbd
Populate popovers from menu models
...
This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.
https://bugzilla.gnome.org/show_bug.cgi?id=723014
2014-02-07 15:11:51 -05:00
Matthias Clasen
2b95d1a34e
Introduce API to get the preferred visual
...
Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().
https://bugzilla.gnome.org/show_bug.cgi?id=630217
2014-02-04 13:15:46 -05:00
Matthias Clasen
15060a8f24
Revert "gdk: enable rgba visuals by default"
...
This reverts commit a2ccb6601e
.
This turns out to break GtkStatusIcon, and invalidates
the documentation of gdk_screen_get_system_visual().
2014-02-04 13:15:46 -05:00
Matthias Clasen
668c31bf97
Build gtk-doc scanner without deprecation warnings
...
Use of deprecated symbols is expected in this code,
no need to warn about it.
2014-01-23 21:09:24 -05:00
William Jon McCann
a2ccb6601e
gdk: enable rgba visuals by default
...
Unless GDK_RGBA=0 is set.
https://bugzilla.gnome.org/show_bug.cgi?id=630217
2014-01-23 11:51:51 -05:00
Carlos Garnacho
168227165d
window: Make popover window private
2014-01-22 17:10:07 +01:00
Carlos Garnacho
1d495cbafd
popover: Add a "modal" boolean property to GtkPopover
...
This property is TRUE by default, when a popover is modal, it
will automatically set a GTK+ grab on the popover, and grab
the keyboard focus into the popover.
2014-01-22 17:10:06 +01:00
Carlos Garnacho
ace25368b1
window: Add gtk_window_get_popover_position()
...
A getter to complement the setter
2014-01-22 17:10:05 +01:00
Carlos Garnacho
bb7ef098c4
popover: Add documentation
2014-01-22 17:10:05 +01:00
William Jon McCann
9401381e29
docs: don't use property syntax for child properties
2014-01-21 23:20:38 -05:00
William Jon McCann
fa6ace97aa
docs: don't try to link vfunc
2014-01-21 22:40:55 -05:00
William Jon McCann
5a4a99a97f
docs: fix links to docs
2014-01-21 22:40:55 -05:00
William Jon McCann
ddfaa941f9
docs: remove missing link
2014-01-21 18:57:41 -05:00
William Jon McCann
bc01196575
docs: remove reference to removed flags
2014-01-21 18:57:41 -05:00
William Jon McCann
afec0c0eed
docs: fix bindings docs link
2014-01-21 18:57:41 -05:00
William Jon McCann
41749a4cb7
docs: don't try to link to non-API types
2014-01-21 18:57:41 -05:00
William Jon McCann
c5de7c62ff
docs: don't use signal syntax for vfuncs
2014-01-21 18:57:41 -05:00
William Jon McCann
43fa9fef25
docs: don't use property syntax for style property
2014-01-21 18:57:41 -05:00
William Jon McCann
ec3c6484e0
docs: don't link to removed types
2014-01-21 18:57:40 -05:00
William Jon McCann
1d756d561b
docs: separate suffix from type
2014-01-21 18:57:40 -05:00
William Jon McCann
6c4fea1e78
docs: don't use signal syntax for properties
2014-01-21 18:57:40 -05:00
William Jon McCann
a5696fe6d4
docs: don't use signal syntax for child properties
2014-01-21 18:57:40 -05:00
William Jon McCann
29230c3fb9
docs: use function instead of removed macro
2014-01-21 18:57:40 -05:00
William Jon McCann
a17469f83b
docs: GDK_WINDOWING is not a type
2014-01-21 18:57:40 -05:00
William Jon McCann
650d25cdaf
docs: add GTK_TREE_SORTABLE_*_COLUMN_ID to docs
2014-01-21 18:57:38 -05:00
William Jon McCann
2b89136abd
docs: add GtkBaselinePosition to docs
2014-01-21 18:57:37 -05:00
William Jon McCann
43c515bb5b
docs: remove spurious i from vim user
2014-01-21 18:57:37 -05:00
William Jon McCann
d641af49cf
docs: try harder to suppress missing link warnings
2014-01-21 18:57:36 -05:00
William Jon McCann
97ca1e7844
docs: don't try to link to bind_textdomain_codeset() docs
2014-01-21 18:12:50 -05:00
William Jon McCann
2a5f70d3e6
docs: GSettingsAction is not a thing
2014-01-21 18:12:50 -05:00
William Jon McCann
8d99b51863
docs: make function looking thing a literal
2014-01-21 18:12:50 -05:00
William Jon McCann
9f808e9771
docs: fix gtk_widget_class_bind_template_child_private link
2014-01-21 18:12:50 -05:00
William Jon McCann
035005ae1f
docs: make _from_resource() a literal
...
So it doesn't get expanded to a function link.
2014-01-21 18:12:50 -05:00
William Jon McCann
22570c6732
docs: remove link to window-no-window-widgets
2014-01-21 18:12:50 -05:00
William Jon McCann
289d77a2d2
docs: remove duplicate methods from sections
2014-01-21 13:33:45 -05:00
William Jon McCann
50ab5783f6
docs: remove duplicate methods
2014-01-21 12:41:16 -05:00
William Jon McCann
4128d6155a
docs: add GdkFrameClock to types
2014-01-20 18:39:24 -05:00
William Jon McCann
826251466d
docs: add GdkModifierIntent to docs
2014-01-20 18:27:29 -05:00
William Jon McCann
83e8e38bd2
wayland: fix rename of wl_shell to xdg_shell
...
Regression from 9127087e1c
2014-01-20 14:37:33 -05:00
William Jon McCann
921137540c
docs: add missing docs for GDK_DISABLE_DEPRECATION_WARNINGS
2014-01-20 14:28:04 -05:00
William Jon McCann
c6e72c4936
docs: add missing overrides for QUARTZ and WAYLAND
2014-01-20 13:41:40 -05:00
William Jon McCann
998af41bc0
docs: put GtkWindow above subclasses
2014-01-20 12:44:29 -05:00
William Jon McCann
add1ca00f4
docs: add Gtk*Class docs
...
https://bugzilla.gnome.org/show_bug.cgi?id=81006
2014-01-20 12:31:21 -05:00
William Jon McCann
9640eccd14
dialog: Add a headerbar
...
This change makes it possible for GtkDialog to pack
its action widgets into a header bar, instead of the
traditional action area. This change is controlled
by the use-header-bar construct-only property.
https://bugzilla.gnome.org/show_bug.cgi?id=720059
2014-01-17 17:52:07 -05:00
Cosimo Cecchi
197785744b
window: add an is-maximized property to GtkWindow
...
With proper notifications, plus an accessor method for that state. This
allows client to just listen to notify::is-maximized instead of tracking
window-state-event.
https://bugzilla.gnome.org/show_bug.cgi?id=698786
2014-01-13 23:13:37 -05:00
William Hua
fd13713230
GtkIconInfo: add gtk_icon_info_is_symbolic()
...
https://bugzilla.gnome.org/show_bug.cgi?id=710351
2014-01-08 02:10:14 -05:00
William Jon McCann
e72aca055d
Add GtkActionBar
...
A widget intended to offer contextual actions for a given view.
It allows packing children into the start or end as well as offering
a single centered child box.
https://bugzilla.gnome.org/show_bug.cgi?id=721665
2014-01-07 08:46:37 -05:00
Simon Feltman
efa8956718
Add introspection friendly version of gtk_tree_path_new_from_indices
...
Add gtk_tree_path_new_from_indicesv which takes an array of
integers with a length. Use "Rename to" annotation to rename the
method as gtk_tree_path_new_from_indices. This is needed because
the original method takes variadic arguments which is not supported
by introspection.
https://bugzilla.gnome.org/show_bug.cgi?id=706119
2014-01-05 11:23:41 -08:00
Matthias Clasen
7e3f68d950
GtkAccelLabel: Add a setter for manual accels
...
This is needed to keep the a11y keybinding code working.
2014-01-05 11:12:09 -05:00
Matthias Clasen
7e1a4800fa
Redo header bar decorations once more
...
Applications need a way to fix or adapt the decoration layout,
for situations like split header bars. Setting the layout from
the theme with a style property did not offer a good way to do
this, and the ::show-close-button property does not provide
fine-grained control.
To improve the situation, move the layout string to a property of
GtkHeaderBar which is backed by a setting. This allows platforms to
set a default button layout independent of the theme, while applications
can override the default.
The style GtkWindow style property is now deprecated and ignored.
2013-12-21 21:58:24 -05:00
Ryan Lortie
04897e5b09
gdk: add gdk_window_set_shadow_width()
...
And deprecate the X11-specific version of it.
We call this new API _set_shadow_width() and not _set_frame_extents()
because we already have a gdk_window_get_frame_extents() with a
different meaning and different type of value.
https://bugzilla.gnome.org/show_bug.cgi?id=720374
2013-12-12 23:53:47 -05:00
Matthias Clasen
1a6a86a867
GtkHeaderBar: Add a ::has-subtitle property
...
It is a fairly common case to just want a title, and not
reserve extra space for a subtitle. This is much easier
to get right by setting a boolean property than by
constructing a custom title widget.
2013-12-10 23:03:12 -05:00
Matthias Clasen
73bd03c9ed
Add a function to determine the text direction
...
This function can be used in the rare cases where the locale
has to be changed after gtk_init(). Based on a patch
by Jehan <jehan@girinstud.io>.
https://bugzilla.gnome.org/show_bug.cgi?id=720096
2013-12-10 17:34:23 -05:00
Matthias Clasen
c7870385c3
Document GTK_THEME
2013-11-18 05:59:13 -05:00
Yosef Or Boczko
d6c0f5438a
Fix doc build
2013-11-18 02:31:43 +02:00
Matthias Clasen
055e4722f5
Add the new exampleapp to the docs
2013-11-16 17:04:30 -05:00
Matthias Clasen
2863bb287c
GtkHeaderBar: Add a fallback app menu implementation
...
Allow showing the fallback app menu with a menu button
in the header bar. Applications have to explicitly enable
this by calling gtk_header_bar_set_show_fallback_app_menu.
2013-11-16 01:50:39 -05:00
Yosef Or Boczko
9921bec63a
GtkWidget: Add margin-start and margin-end properties
...
Add margin-{start,end} and gtk_widget_{get,set}_margin_{start,end}
and drop margin-{left,right} and gtk_widget_{get,set}_margin_{left,right}.
margin-{start,end} handle right also in RTL.
https://bugzilla.gnome.org/show_bug.cgi?id=710238
2013-11-14 21:55:50 +01:00
Xavier Claessens
9223e3c25a
GtkStack: add transition-running property
...
This is useful to know when the transition is done we can
remove the child from the stack.
https://bugzilla.gnome.org/show_bug.cgi?id=711494
2013-11-12 10:27:45 -05:00
Matthias Clasen
7806684592
Update drawing model docs
...
Include material from Alex' blog post about the modern GTK+
rendering model.
2013-11-10 12:58:32 -05:00
Matthias Clasen
354c93bc70
Add an index for new gdk api
2013-11-09 00:01:11 -05:00
Daniel Sabo
80dd1a851a
Add an event_compression setting to GdkWindow
...
Setting event compression to false will allow inter-frame
mouse motion events to be delivered, which are necessary
for painting applications to produce smooth strokes.
https://bugzilla.gnome.org/show_bug.cgi?id=702392
2013-11-09 00:01:05 -05:00
Sébastien Wilmet
1c00ac0d4c
Doc: add missing GtkPrintSettings symbols
...
The symbols are documented, they were just missing in gtk3-sections.txt.
https://bugzilla.gnome.org/show_bug.cgi?id=711354
2013-11-07 22:41:01 +01:00
Jasper St. Pierre
cc262b2c14
Add missing symbol to docs
2013-10-22 14:56:26 -04:00
Matthias Clasen
4141ce2290
Add new symbols to the docs
2013-10-16 23:45:23 -04:00
Matthias Clasen
0f64551c49
Add an index for symbols added in 3.12
2013-10-16 23:45:23 -04:00
Ryan Lortie
3f0b9a7574
GtkBuilder: add GtkApplication
...
Add a GtkApplication (private) field to GtkBuilder
2013-10-15 09:24:11 -04:00
Matthias Clasen
943d575ec3
Add GtkFlowBox
...
GtkFlowBox is a container that its children in a reflowing
grid, which can be oriented horizontally or vertically.
It is similar to GtkListBox in that the children can
be sorted and filtered, and by requiring a dedicated child
widget type, GtkFlowBoxChild. It is similar to GtkTreeView
in that is supports a full set of selection modes, including
rubberband selection.
This is the culmination of work that has happened in the
egg-list-box module, and earlier in libegg. The origins of
this code are the EggSpreadTable in libegg, which was written
by Tristan van Berkom. It was moved to egg-list-box and
renamed EggFlowBox by Jon McCann, and I gave it some finishing
touched in the flowbox-improvements branch of that module.
2013-10-06 23:31:17 -04:00
Matthias Clasen
e86f979e45
Fix generation of plug/socket docs
...
The docs for GtkPlug/GtkSocket were not generated if any
of the win32, quartz, wayland backends were enabled. What
we really mean though, is that we want the docs to be generated
whenever GtkPlug/GtkSocket are included in the library, which
is when the x11 backend is enabled.
2013-10-06 15:49:00 -04:00
Matthias Clasen
671b3181b0
Revert "shooter: Use the reftests code for taking screenshots"
...
This reverts commit 5c926ca6bb
.
This commit just dropped the nice shadow that we used to have
around these shots, without a justification.
2013-09-29 22:20:20 -04:00
Matthias Clasen
a92859a447
Revert "shooter: Make sure to free the surface"
...
This reverts commit 1a0c5acb26
.
2013-09-29 22:20:20 -04:00
Matthias Clasen
6aa56979dc
More documentation fixes
2013-09-17 01:28:39 -04:00
Matthias Clasen
ca40ad1b1a
Documentation fixes
2013-09-17 01:13:03 -04:00
Matthias Clasen
a06006c22d
Add some functions to the docs
2013-09-17 00:47:54 -04:00
Sébastien Wilmet
a78fc4a9c5
Doc: small fixes in GtkTextView
...
Move GtkWrapMode from GtkTextTag to the GtkTextView section. The wrap
mode property is in the text view.
Links to the "mark-set" and "mark-deleted" signals.
Add a precision about gtk_text_buffer_get_iter_at_line().
Fix typo in gtk_text_tag_set_priority().
https://bugzilla.gnome.org/show_bug.cgi?id=708076
2013-09-14 21:45:00 +02:00
Matthias Clasen
13f6552a7e
x11: Add EWMH workspace handling api
...
Add a few functions that give access to the EWMH workspace
properties.
2013-08-24 00:51:56 -04:00
Matthias Clasen
eab0ff8e4e
Add api to ellipsize labels to multiple lines
...
When setting the lines property, the label will be ellipsized
to that many lines, with the ellipsis only appearing in the
last line. This is different from how ellipsization of multi-line
labels normally works in GTK+.
2013-08-22 20:38:01 -04:00
Matthias Clasen
6afbf3f519
Add new api to the docs
2013-08-20 16:20:06 -04:00
Andrew Walton
19be4edbea
GtkEntry: add a "tabs" property for setting a PangoTabArray in the layout.
...
I'm currently working on porting view::FieldEntry (from libview) to C for use in
upstream GTK+. FieldEntry is a widget which allows users to enter structured
text such as IPv4 addresses or serial numbers. The way that FieldEntry
delineates the fields within the entry is with tabstops, using PangoTabArray
entries to precisely position the fields and delimiters. Because GtkEntry
rebuilds its internal PangoLayout fairly frequently, this requires a property in
the entry that will set the tabs on the layout whenever that happens. This API
looks very similar to one in GtkTextView.
Patch by David Trowbridge <trowbrds@gmail.com>. Updated for Gtk+ 3.10.
https://bugzilla.gnome.org/show_bug.cgi?id=697399
2013-08-19 13:43:32 -04:00
Cosimo Cecchi
3ea0e4a019
stylecontext: add GTK_STYLE_CLASS_TITLEBAR define
...
For consistency with the other stock style classes.
https://bugzilla.gnome.org/show_bug.cgi?id=706045
2013-08-16 23:12:22 -04:00
Yosef Or Boczko
2f77a61e61
Add gtk_button_new_from_icon_name
...
This function is a convenience wrapper around
gtk_button_new() and gtk_button_set_image().
https://bugzilla.gnome.org/show_bug.cgi?id=705918
Signed-off-by: Yosef Or Boczko <yoseforb@gmail.com>
2013-08-14 10:41:42 +03:00
Matthias Clasen
7d48c3b2c7
Add a function to get the event type
...
This is useful for language bindings, who can't easily
access the struct field directly.
https://bugzilla.gnome.org/show_bug.cgi?id=700029
2013-08-13 19:06:48 -04:00
Matthias Clasen
2cdc5d440a
Fix up docs for new cursor apis
...
The docs for gdk_cursor_new_from_surface were talking about
pixbufs. And the new APIs were not appearing in the docs
at all yet.
2013-08-09 20:24:44 -04:00
Kalev Lember
43c68e118f
listbox: Implement gtk_list_box_insert()
...
... to make it possible to insert rows in the middle of the list without having
to fiddle with the sort functions. One of the first users is going to be Glade.
https://bugzilla.gnome.org/show_bug.cgi?id=705558
2013-08-08 11:00:26 +02:00
Paolo Borelli
0b200aaa32
Add gtk_list_box_prepend
...
Add a convenience method for prepending rows to a list box without
having to fiddle with a sort function.
https://bugzilla.gnome.org/show_bug.cgi?id=705558
2013-08-07 10:52:11 +02:00
Matthias Clasen
b38a096aee
GtkHeaderBar: optionally add a close button
...
Add a boolean property that controls whether a window close button
will be shown in the header bar or not. Doing this in the toolkit
will ensure consistency of the visual apperance.
https://bugzilla.gnome.org/show_bug.cgi?id=702971
2013-08-05 01:37:58 +02:00
Matthias Clasen
c6ed4eae2a
Typo fix
2013-08-02 11:59:30 +02:00
Matthias Clasen
134bea9ec2
Trivial rewording
2013-08-02 00:57:56 +02:00
Matthias Clasen
c9c8272028
Make examples use search-changed signal
...
This updates the examples for the new GtkSearchEntry api.
2013-08-02 00:56:00 +02:00
Matthias Clasen
33438a3bea
Update template api in one more place
...
The example fragments that are directly embedded in the docs
were still using the old api.
2013-08-02 00:52:48 +02:00
Matthias Clasen
cda60c3c40
Another round of template binding api changes
...
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.
2013-07-26 16:29:12 -04:00
Emmanuele Bassi
89ae3524a3
Rename the widget template API
...
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
2013-07-26 13:52:15 -04:00
William Jon McCann
88771f7b1b
Add an optional close button to the info bar
...
This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=704274
2013-07-24 17:01:42 -04:00
Matthias Clasen
977c6cf4c7
Getting started: Add docs for property actions
...
Use the just added example to add another section to the docs.
2013-07-24 07:31:05 -04:00
Matthias Clasen
84244d56fc
Getting started: Add information about activate and open
...
The difference between the various GApplication entry points
is a little mysterious to many people, so talk a bit about
this here.
2013-07-24 07:31:05 -04:00
Matthias Clasen
1e93e46b12
Gettting started: Improve some screenshots
...
Use default GNOME background, and have a desktop file and
icon installed for the app menu screenshot.
2013-07-24 07:31:05 -04:00
Matthias Clasen
91f2d10710
Getting started: Add docs about desktop file and icon
2013-07-24 07:31:05 -04:00
Matthias Clasen
99203f09f2
Getting started: Coding style updates
...
Make the new examples use GTK+ coding style.
2013-07-24 07:31:05 -04:00
Matthias Clasen
8488ae6d78
Fix a wrong link in the new example
...
The links point to the online cgit locations, so were hard to check
before the commit...
2013-07-21 17:44:13 -04:00
Matthias Clasen
8087bb7a22
Add a new example app
...
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
2013-07-20 23:04:47 -04:00
Rico Tzschichholz
68025551e1
docs: Drop reference to refcounting.txt to fix make dist
...
In addition to 94d6971ca4
2013-07-20 13:03:59 +02:00
William Jon McCann
67bfa41645
docs: use a separate platform support section
2013-07-17 21:38:13 -04:00
William Jon McCann
837402496a
docs: move core and theming under widgets
...
They aren't that interesting.
2013-07-17 21:32:42 -04:00
William Jon McCann
0da8b2b468
docs: move stock to deprecated
2013-07-17 21:31:44 -04:00
William Jon McCann
3b0782e0bf
docs: update the order of widgets to put recommended ones on top
2013-07-17 21:28:28 -04:00
William Jon McCann
1a9c0c9cae
docs: move imagemenuitem to deprecated
2013-07-17 21:15:37 -04:00
William Jon McCann
a14b810e70
docs: move builder to under applications
2013-07-17 21:11:35 -04:00
William Jon McCann
fcc136b456
docs: move action support into deprecated
2013-07-17 21:11:01 -04:00
William Jon McCann
a366d99890
docs: move application support to the top of the widget list
2013-07-17 21:10:29 -04:00
William Jon McCann
d861be9bd3
docs: Use sections in the widget gallery
2013-07-17 20:48:59 -04:00
William Jon McCann
e550c25eec
docs: remove deprecated font and color selectors from gallery
2013-07-17 20:48:59 -04:00
William Jon McCann
dc3a7ddb6b
docs: update generated images of widgets
2013-07-17 20:48:59 -04:00
William Jon McCann
f5ea5996b4
docs: make the spinner spin for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
580c35937a
docs: use a nicer image for the screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
db3ef57cf5
docs: don't vertically fill statusbar
2013-07-17 20:48:59 -04:00
William Jon McCann
06186b9a88
docs: remove deprecated font selector screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
5264ba2705
docs: remove deprecated color selection screenshot
2013-07-17 20:48:59 -04:00
William Jon McCann
77da3f5cc2
docs: update copyright text
2013-07-17 20:48:59 -04:00
William Jon McCann
31a38a6793
docs: make bar widgets stretch horizontally in shots
2013-07-17 20:48:59 -04:00
William Jon McCann
becc69055f
docs: don't use an icon by default in the combobox shot
2013-07-17 20:48:59 -04:00
Jasper St. Pierre
1a0c5acb26
shooter: Make sure to free the surface
2013-07-17 20:10:05 -04:00
Jasper St. Pierre
5c926ca6bb
shooter: Use the reftests code for taking screenshots
2013-07-17 16:57:55 -04:00
Jasper St. Pierre
52601e936d
doc-shooter: Remove inappropriate menu usage
2013-07-17 15:15:40 -04:00
Jasper St. Pierre
94d6971ca4
docs: Remove old refcounting file
...
This references GTK+2-era objects, and isn't really useful anymore.
2013-07-17 14:48:19 -04:00
William Jon McCann
519930cfc6
docs: use informal figures for screenshots
2013-07-17 13:09:28 -04:00
William Jon McCann
8e3f8d8720
docs: update getting started screenshots
2013-07-17 09:59:12 -04:00
William Jon McCann
c8d4d24425
docs: add filename hints for getting started examples
2013-07-17 09:59:12 -04:00
William Jon McCann
497c7f3df0
docs: fix use of multiplication typography
2013-07-17 09:59:12 -04:00
Matthias Clasen
0b45a5968f
Fix a typo
2013-07-09 13:49:39 -04:00
Matthias Clasen
2c8ffef284
Document new environment variables
...
Explain GDK_SCALE and GDK_DPI_SCALE.
2013-07-09 10:25:40 -04:00
Matthias Clasen
660a1f304e
Add new api to the gtk docs
2013-07-09 10:25:40 -04:00
Matthias Clasen
822f9019fa
Add new gdk api to the docs
2013-07-09 10:25:40 -04:00
Emmanuele Bassi
19bc27c6f1
docs: Update the coding style
...
We should mention that newly written code should not have the private
data pointer in the instance structure, and that private data should be
added using the new GObject macros.
https://bugzilla.gnome.org/show_bug.cgi?id=702996
2013-07-09 09:30:02 +01:00
Benjamin Otte
6449b4a610
tools: Fix casting warnings
2013-07-08 16:17:18 +02:00
Matthias Clasen
2741672cf1
Add GtkListBox to the widget gallery
2013-06-30 01:28:37 -04:00
Matthias Clasen
8b9370d194
Add missing GtkSearchEntry API to the docs
2013-06-30 01:02:46 -04:00
Matthias Clasen
c73b48f28a
Add a gtk_window_close function
...
This is useful when adding close buttons in custom titlebars.
2013-06-28 22:19:15 -04:00
Rico Tzschichholz
b5863f38a0
docs: Don't drop xml/gtkstock.xml
2013-06-27 21:14:07 +02:00
Rico Tzschichholz
b39ce832ce
build: Fix make dist
2013-06-27 19:43:47 +02:00
Emanuele Aina
4eddc00911
docs: Add GtkListBox functions to their section and fix links
...
https://bugzilla.gnome.org/show_bug.cgi?id=702981
2013-06-27 16:28:40 +02:00
William Jon McCann
8e69f87a46
Fixup some of the example widgets used in the docs
2013-06-26 21:35:40 -04:00
William Jon McCann
2b571f41e2
Remove more discontinued ChangeLogs
...
They are all in git.
2013-06-24 19:53:08 -04:00
Jonh Wendell
84b4910b39
filechooser: Add gtk_file_chooser_get_current_name()
...
Currently you can only set the current filename, but not
get it. It's useful to be able to get it in save
dialogs, where the user has typed the desired filename
and you are not in a real directory (recent used, for
example).
https://bugzilla.gnome.org/show_bug.cgi?id=702497
2013-06-19 13:37:35 -05:00
Ryan Lortie
7554c15e7b
GtkBuilder: add new constructor APIs
...
Add new APIs gtk_builder_new_from_{file,resource,string}() and encourage
their use over the older _add_from_...() APIs.
https://bugzilla.gnome.org/show_bug.cgi?id=679930
2013-06-18 10:21:27 -04:00
Matthias Clasen
3e70c283e2
GtkListBox: fix docs
...
New types need to be added to gtk3.types.in to have introspected
data (type hierarchy, properties, signals) show up in the docs.
2013-06-15 13:56:34 -04:00
Alexander Larsson
0451d2c9b8
docs: Add GtkListBox to docs
2013-06-13 17:55:35 +02:00
Bastien Nocera
dbbea8b97e
Add GtkSearchBar widget
...
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
2013-05-31 17:09:11 +02:00