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
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
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
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
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
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
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
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
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
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
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
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
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