Carlos Garnacho
36abb4b829
gtkmain: Let windows handle WM-related events before delivering to the grab_widget
...
This makes it possible to move/resize client-side decorated windows that are
otherwise obscured by a GTK+ grab somewhere else, either a popover within the
window itself or a modal dialog above the window.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
bfc87a315d
entry: Show a GtkMagnifier popover on touch selection
2014-01-22 17:10:05 +01:00
Carlos Garnacho
4a8a2286e1
texthandle: Remove relative_to API
...
It's unused now, GtkTextHandle uses widget coordinates.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
844c6b8951
texthandles: Use GtkWindow popovers API
...
This offers the same behavior, but GDK_WINDOW_TEMP windows aren't used
anymore, involving less translations from/to root coordinates, plus no
glitches in having handles snap to content as windows move.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
db9e1d36d0
window: Keep track of popover children mapped status
...
In order to maintain visibility of the GdkWindow that's the parent window
of the popover widget.
2014-01-22 17:10:05 +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
7b9e060994
entry: Set use-underline in popover GtkToolButtons
2014-01-22 17:10:05 +01:00
Carlos Garnacho
d7acd29421
textview: Set use-underline in popover GtkToolButtons
2014-01-22 17:10:05 +01:00
Carlos Garnacho
3e6462c71b
textview: Use GtkMagnifier on touch selection
...
The magnifier renders the area covered by the finger, making it easier to follow
the text being selected.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
61ab302c75
Add GtkMagnifier
...
This is a private widget that takes another widget on construction, and is able
to render parts of it, possibly at a different magnification level.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
15d7d5b31f
pixelcache: check whether cached surface and cairo_t scales match
2014-01-22 17:10:05 +01:00
Carlos Garnacho
bb7ef098c4
popover: Add documentation
2014-01-22 17:10:05 +01:00
Carlos Garnacho
4d12d85919
popover: Honor GtkContainer::border-width
...
The border width is now set around the contained widget.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
7c10fc5580
popover: remove GTK+ grab (if any) on unmap
...
If there is a GTK+ grab on the popover, ensure that it's removed when it's
unmapped. If no GTK+ grab was performed on the popover, this function will
do nothing.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
b4805f7076
popover: listen harder on the widget being pointed to
...
Hierarchy, size allocation and widget visibility are now listened
to in order to update the popover state accordingly.
2014-01-22 17:10:05 +01:00
Carlos Garnacho
caeb896096
Introduce GtkPopover
...
Now that the GtkBubbleWindow object has been cleaned up and made
more generic, rename it as GtkPopover and make it public.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
8a661b8786
bubblewindow: Remove popup/popdown() APIs
...
Those functions aren't as useful anymore, hiding/showing can be
controlled by setting the widget visibility, and grabbing can be
achieved by performing a GTK+ grab.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
8384ef961e
entry: Avoid bubblewindow popup/popdown API
...
Besides setting all positioning properties at once, popup() would just
show the widget, so do that directly after just updating the position.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
1813c8391c
textview: Avoid bubblewindow popup/popdown API
...
Besides setting all positioning properties at once, popup() would just
show the widget, so do that directly after just updating the position.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
49277953d3
bubblewindow: Point to the entire widget area by default
...
This way pointing_to is not fully needed, unless you're pointing
to an specific rectangle within the widget, passing NULL would unset
the region too.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
617f23b7eb
bubblewindow: check the border-radius when rendering the bubble tail.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
d55f39d26d
bubblewindow: Improve overflow cases
...
If the bubble window doesn't fit into one direction, it must
lay at the other side of the pointed_to rectangle.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
923da6a8b8
bubblewindow: Make it relative to GtkWidget coordinates
...
GdkWindows are gone now from the API, the pointed_to rectangle
is from now on relative to the widget allocation. GtkTextView
and GtkEntry were updated to adapt to this change.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
e506f67c9b
bubblewindow: Remove grab API
...
This is not as necessary now that bubble windows are popovers, if
a modal behavior is wanted on popover contents, a GTK+ grab on the
popover widget will suffice.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
12b0033266
bubblewindow: Turn into a GtkWindow popover
...
This way GtkBubbleWindows are rendered on top of all window content, without
the need of a GDK_WINDOW_TEMP window.
2014-01-22 17:10:04 +01:00
Carlos Garnacho
85a19c894f
window: Add lowlevel popovers API
...
Popovers are transient floating widgets that are confined to the
window space. These have their own GdkWindow that is set on top
of the regular window contents, so they can be used for popup menu
alike UIs with custom popup/popdown/grabs behavior.
2014-01-22 17:10:04 +01:00
William Jon McCann
89a51bd15d
docs: fix improper description of GtkTreeModel "rows-reordered" iter
...
https://bugzilla.gnome.org/show_bug.cgi?id=698398
2014-01-22 01:21:27 -05:00
William Jon McCann
798d53c7fd
docs: use correct syntax for signals
2014-01-21 23:20:38 -05:00
William Jon McCann
61a59bd390
docs: don't use property syntax for style properties
2014-01-21 23:20:38 -05:00
William Jon McCann
e24d1626a5
docs: mark gtkdoc blocks as private for internal only API
2014-01-21 23:20:38 -05:00
William Jon McCann
93138e96c1
docs: don't reference nonexisting type in docs
2014-01-21 23:20:38 -05:00
William Jon McCann
5a4a99a97f
docs: fix links to docs
2014-01-21 22:40:55 -05:00
William Jon McCann
ce2c3eb4c4
docs: fix docs link
2014-01-21 22:40:55 -05:00
William Jon McCann
6644b60999
docs: don't reference api that doesn't exist
2014-01-21 22:40:55 -05:00
William Jon McCann
889ba7abf8
docs: don't refer to NO_WINDOW as type
2014-01-21 22:40:55 -05:00
William Jon McCann
a8a080fc06
docs: fix dnd docs links
2014-01-21 22:40:55 -05:00
William Jon McCann
529dafdf0b
docs: don't use signal syntax for properties
2014-01-21 22:40:55 -05:00
William Jon McCann
00f15b863e
docs: don't use property syntax for child properties
2014-01-21 22:40:55 -05:00
William Jon McCann
c6e1b2513e
docs: fix links in builder docs
2014-01-21 22:40:55 -05:00
William Jon McCann
7c1b573209
docs: fix signal link syntax
2014-01-21 22:40:55 -05:00
Nikita Churaev
de4959ca47
Use symbolic icon for file chooser
...
https://bugzilla.gnome.org/show_bug.cgi?id=722642
2014-01-21 21:10:07 -05:00
Nikita Churaev
2082e0e399
Remove the use of stock icons from widget templates
...
https://bugzilla.gnome.org/show_bug.cgi?id=722642
2014-01-21 21:10:07 -05:00
Matthias Clasen
11f0813e40
GtkActionBar: Fix center widget visibility handling
...
This is the same fix that was applied to GtkHeaderBar
recently. Adding a child widget should not make it
visible as a side-effect.
2014-01-21 20:22:14 -05:00
William Jon McCann
72be6c494a
Make GTK_TREE_SORTABLE_*_SORT_COLUMN_ID defines instead of enum
...
This allows it to be more easily documented.
2014-01-21 19:48:41 -05:00
William Jon McCann
a7a9c14677
docs: remove duplicate member
2014-01-21 18:57:41 -05:00
William Jon McCann
0b23877ca6
docs: fix duplicate symbols in docs
2014-01-21 18:57:41 -05:00
William Jon McCann
8068766270
docs: don't use property syntax to link to vfuncs
2014-01-21 18:57:40 -05:00
William Jon McCann
c6ef6e6e5c
docs: remove broken link to docs
2014-01-21 18:57:40 -05:00
William Jon McCann
6bf71d13c3
docs: fix function link
2014-01-21 18:57:40 -05:00
William Jon McCann
5cdfd15522
docs: remove obsolete references
2014-01-21 18:57:40 -05:00
William Jon McCann
9cfa3ba1f6
docs: fix typo in argument list
2014-01-21 18:57:40 -05:00
William Jon McCann
9fdc185813
docs: fix link to gdk docs
2014-01-21 18:57:40 -05:00
William Jon McCann
ae3fbdb15a
docs: don't use type syntax on things that aren't
2014-01-21 18:57:40 -05:00
William Jon McCann
4c54810730
docs: don't refer to types that don't exist
2014-01-21 18:57:40 -05:00
William Jon McCann
7eb8577e3e
docs: fix selections documentation link
2014-01-21 18:57:40 -05:00
William Jon McCann
6b29ab55a1
docs: fix see also link
2014-01-21 18:57:40 -05:00
William Jon McCann
e87bfcf76d
docs: fix function name link
2014-01-21 18:57:39 -05:00
William Jon McCann
3dce57780e
docs: don't try to link to funcs
2014-01-21 18:57:39 -05:00
William Jon McCann
5db8aac181
docs: fix property links
2014-01-21 18:57:39 -05:00
William Jon McCann
950df32ee3
docs: fix function name link
2014-01-21 18:57:39 -05:00
William Jon McCann
517198d7de
docs: fix type link
2014-01-21 18:57:39 -05:00
William Jon McCann
984d377f3e
docs: fix typo in function name
2014-01-21 18:57:39 -05:00
William Jon McCann
a8fd1f671c
docs: don't refer to removed properties
2014-01-21 18:57:39 -05:00
William Jon McCann
f8a78e6f59
docs: fix typo in argument type
2014-01-21 18:57:39 -05:00
William Jon McCann
d8c91fd706
docs: remove links that don't exist
2014-01-21 18:57:39 -05:00
William Jon McCann
4292f2f958
docs: fix typo in function name
2014-01-21 18:57:39 -05:00
William Jon McCann
84dca6cc86
docs: don't try to link vfuncs
2014-01-21 18:57:39 -05:00
William Jon McCann
1f1a02b91f
docs: don't use property syntax for style properties
2014-01-21 18:57:39 -05:00
William Jon McCann
e629a6b739
docs: fix name of function
2014-01-21 18:57:39 -05:00
William Jon McCann
13ace3ef33
docs: fix name of function to use for baseline alignment
2014-01-21 18:57:38 -05:00
William Jon McCann
8fb1335d69
docs: don't refer to NO_WINDOW flag
2014-01-21 18:57:38 -05:00
William Jon McCann
6a2190809e
docs: don't use properties syntax for style properties
2014-01-21 18:57:38 -05:00
William Jon McCann
b1c31af18f
docs: don't refer to TOPLEVEL flag
2014-01-21 18:57:38 -05:00
William Jon McCann
0d93930749
docs: refer to :has-focus property instead of HAS_FOCUS flag
2014-01-21 18:57:38 -05:00
William Jon McCann
255d6b9cd8
docs: fix typo in function name
2014-01-21 18:57:38 -05:00
William Jon McCann
c402c3343b
docs: fix link to resource files overview
2014-01-21 18:57:38 -05:00
William Jon McCann
0a16518bcf
docs: fix links to print api
2014-01-21 18:57:38 -05:00
William Jon McCann
ce941736da
docs: use correct signal name in docs
2014-01-21 18:57:38 -05:00
William Jon McCann
4a767e86e8
docs: don't link to child properties like properties
2014-01-21 18:57:38 -05:00
William Jon McCann
609a58dcf0
docs: don't try to link to vfuncs
2014-01-21 18:57:38 -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
1d7d6997e8
docs: fix typo
2014-01-21 18:57:37 -05:00
William Jon McCann
98a5d3234d
docs: fix link to DND info
2014-01-21 18:57:37 -05:00
William Jon McCann
48a11f99a2
docs: fix typo in function name
2014-01-21 18:57:37 -05:00
William Jon McCann
e4d87c86b4
docs: fix typo in argument type
2014-01-21 18:57:37 -05:00
William Jon McCann
fe40ed436f
docs: fix typo in argument syntax
2014-01-21 18:57:37 -05:00
William Jon McCann
f27d820aef
docs: fix typo in property name
2014-01-21 18:57:37 -05:00
William Jon McCann
8e421623e6
docs: don't use properties syntax for child props
2014-01-21 18:57:37 -05:00
William Jon McCann
701651a0a5
docs: don't use properties syntax for child properties
2014-01-21 18:57:37 -05:00
William Jon McCann
9717e75ffe
docs: there is no homogeneous property on bbox
2014-01-21 18:57:37 -05:00
William Jon McCann
c788b72768
docs: fix typo in property syntax
2014-01-21 18:57:37 -05:00
William Jon McCann
0b4ea6ea1b
docs: fix typo in property name
2014-01-21 18:57:37 -05:00
William Jon McCann
01018e019b
docs: don't use property syntax for child properties
2014-01-21 18:57:37 -05:00
William Jon McCann
dbcd452062
docs: fix use-header-bar property link
2014-01-21 18:57:37 -05:00
William Jon McCann
bc03314a06
docs: fix GtkBuilder typename
2014-01-21 18:57:37 -05:00
Volker Sobek
60c8277afb
docs: fix typo
...
Correct the last occurrence of 'explicitely'.
2014-01-21 22:19:27 +01:00
William Jon McCann
5f37b081cf
docs: fix docs for GtkIconLookupFlags
2014-01-21 13:33:47 -05:00
William Jon McCann
ed284234c9
docs: add docs for GtkTextAppearance
2014-01-21 13:33:47 -05:00
William Jon McCann
0192bb386c
docs: fix docs for ActionBar
2014-01-21 13:33:47 -05:00
William Jon McCann
059f6d8a1f
docs: add docs for GtkPageRange
2014-01-21 13:33:46 -05:00
William Jon McCann
0db5d93884
docs: add docs for some printing enums
2014-01-21 13:33:46 -05:00
William Jon McCann
212f6cef5e
docs: add docs for GtkIconSize
2014-01-21 13:33:46 -05:00
William Jon McCann
1c5120eeec
docs: add docs for GtkStockItem
2014-01-21 13:33:46 -05:00
William Jon McCann
06a619e642
docs: add docs for GtkScrollType and GtkScrollStep
2014-01-21 13:33:46 -05:00
William Jon McCann
59d35e3e51
docs: add docs for GtkPathPriorityType and GtkPathType
2014-01-21 13:33:46 -05:00
William Jon McCann
5366a21334
docs: add docs for GtkPrintPages and GtkPageSet
2014-01-21 13:33:46 -05:00
William Jon McCann
c2bd435203
docs: add docs for GtkIM*Style
2014-01-21 13:33:46 -05:00
William Jon McCann
ab41ef518a
docs: add docs for GtkDirectionType and GtkDeleteType
2014-01-21 13:33:46 -05:00
William Jon McCann
75e3433d7b
docs: add docs for GtkAccelFlags
2014-01-21 13:33:46 -05:00
William Jon McCann
1af6bd05dc
docs: add docs for GtkRcFlags
2014-01-21 13:33:46 -05:00
William Jon McCann
b447ca7884
docs: add docs for GtkRcProperty
2014-01-21 13:33:46 -05:00
William Jon McCann
77f3f726e7
docs: add docs for GtkStyle
2014-01-21 13:33:45 -05:00
William Jon McCann
b28f04d6e9
docs: add docs for GtkCssProviderError
2014-01-21 13:33:45 -05:00
William Jon McCann
7b14899f4d
docs: fix docs for GtkStyleProperties
2014-01-21 13:33:45 -05:00
William Jon McCann
f49e077c27
docs: add keys_changed signal to GtkWindowClass
2014-01-21 13:33:45 -05:00
William Jon McCann
2375148b04
docs: add docs for GtkTextDirection
2014-01-21 13:33:45 -05:00
William Jon McCann
2986456be1
docs: add docs for GtkWidgetHelpType
2014-01-21 13:33:45 -05:00
William Jon McCann
a2ba1789e1
docs: add docs for GtkWidgetAuxInfo
2014-01-21 13:33:45 -05:00
William Jon McCann
1763b94fb2
docs: add docs for GtkWidgetClass
2014-01-21 13:33:45 -05:00
William Jon McCann
badba59aac
docs: add docs for GtkCellRendererAccelMode
2014-01-21 13:33:45 -05:00
William Jon McCann
224a8e1763
docs: add docs for GtkCellEditableIface
2014-01-21 13:33:45 -05:00
William Jon McCann
9f815edbf9
docs: add docs for GtkCellLayoutIface
2014-01-21 13:33:45 -05:00
William Jon McCann
4f8ae44594
docs: add docs for GtkTreeDragDestIface
2014-01-21 13:33:45 -05:00
William Jon McCann
094350df26
docs: add docs for GtkTreeDragSourceIface
2014-01-21 13:33:45 -05:00
William Jon McCann
a64ffa2958
docs: add docs for GtkTreeSortableIface
2014-01-21 13:33:45 -05:00
William Jon McCann
123fa640d2
docs: add docs for GtkTreeModelIface
2014-01-21 13:33:45 -05:00
William Jon McCann
39caa5cbb2
docs: fix docs for GtkIconTheme
2014-01-21 13:33:19 -05:00
William Jon McCann
0b5ee774e0
docs: add docs for GtkToolbarSpaceStyle
2014-01-21 13:33:19 -05:00
William Jon McCann
fad2031cea
docs: add documentation for values of GtkTextWindowType
2014-01-21 13:33:19 -05:00
William Jon McCann
1ec4b0cff2
docs: add field descriptions for GtkTextAttributes
2014-01-21 13:33:19 -05:00
William Jon McCann
885d8df39c
docs: add docs GtkTextBufferTargetInfo
2014-01-21 13:33:19 -05:00
William Jon McCann
339524ba0d
docs: add field descriptions for GtkSettingsValue
2014-01-21 13:33:11 -05:00
William Jon McCann
34ea1919cf
docs: document fields of GtkRecentFilterInfo
2014-01-21 12:41:16 -05:00
William Jon McCann
4fd6ce6a91
docs: add docs for GtkRecentChooserIface
2014-01-21 12:41:16 -05:00
William Jon McCann
cc7b5d0a57
docs: add missing flag
2014-01-21 12:41:16 -05:00
William Jon McCann
62b47774ea
docs: add missing method
2014-01-21 12:41:16 -05:00
William Jon McCann
e8ba83825c
docs: mark base interface as private
2014-01-21 12:41:16 -05:00
William Jon McCann
62d8baa215
docs: add missing docs for GtkAccelKey
2014-01-21 12:41:16 -05:00
William Jon McCann
33fc160cd2
docs: fill in some missing field descriptions
2014-01-21 12:41:16 -05:00
William Jon McCann
f1475c0852
docs: mark some enums values as deprecated
2014-01-21 12:41:16 -05:00
William Jon McCann
0a416c7559
docs: avoid ambiguous return tags
2014-01-21 12:41:16 -05:00
William Jon McCann
498345ffe1
docs: fix docs for out params
2014-01-21 12:41:16 -05:00
William Jon McCann
2054166c34
docs: don't use gtkdoc style for regular comments
2014-01-21 12:41:16 -05:00
Steve Frécinaux
49bf3cdba8
GtkStack: add gtk_stack_get_child_by_name()
...
This new method allows getting a widget from a GtkStack when we know its
name, and will also return NULL if there is no widget going by that
name.
Usage example would be to check if a child with a given name exists
before calling gtk_stack_set_visible_child_name().
https://bugzilla.gnome.org/show_bug.cgi?id=722588
2014-01-21 09:35:22 +01:00
William Jon McCann
29f2578cca
docs: add docs for GtkTargetPair
2014-01-20 15:18:21 -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
f3f7c385d9
Remove references to removed gtk_item_select api
2014-01-20 12:31:21 -05:00
Matthias Clasen
679883e098
Make sure title_bar_with is initialized
...
With a hidden custom title, we failed to initialize
the title_bar_width variables.
2014-01-18 17:58:44 -05:00
Matthias Clasen
7c08896384
path bar: Request enough natural width to fit all buttons
...
Otherwise, we are at the mercy of the container giving us
more space than we request, which does not always work.
2014-01-18 17:58:44 -05:00
Ryan Lortie
fdc66af5ce
quartz: add a default application menu
...
When running on quartz, it is no longer expected for applications to
provide their own application menu. Instead, they should simply ensure
that they provide "app.about", "app.preferences" and "app.quit" actions
(which many apps are already doing).
A default menu will be shown that looks like the one presented by all
other Mac OS applications, containing menu items for the above actions,
as well as the typical "Hide app", "Hide Others and "Show All" items and
the "Services" submenu.
If an application does explicitly set an application menu (via
gtk_application_set_app_menu()) then it will be respected, as before.
https://bugzilla.gnome.org/show_bug.cgi?id=720552
2014-01-17 23:14:20 -05:00