summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-12/+12
| | | | Instead of Return value:
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-1/+1
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-3/+3
| | | | https://wiki.gnome.org/Design/OS/Typography
* Add GTK_STYLE_CLASS_SUGGESTED_ACTIONWilliam Jon McCann2014-02-071-1/+1
|
* docs: Use markup for linksWilliam Jon McCann2014-02-071-3/+3
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-1/+1
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-1/+1
|
* docs: Convert to markdownMatthias Clasen2014-02-021-19/+17
| | | | Specifically, switch to using markdown syntax for sections.
* assistant: set window title with page titleWilliam Jon McCann2014-01-291-0/+2
| | | | | | This will set the headerbar title when necessary https://bugzilla.gnome.org/show_bug.cgi?id=723212
* assistant: add ability to use header barWilliam Jon McCann2014-01-291-1/+201
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723212
* resources: move resources into a subdirectoryWilliam Jon McCann2014-01-231-1/+1
|
* Fix anonymous assistantsMatthias Clasen2013-08-271-1/+3
| | | | | | | GtkAssistant supports not showing the sidebar with the page titles (if the page have no titles). Unfortunately, we were hiding the sidebar in this case, but still rendering the frame behind it, leading to a broken appearance.
* Another round of template binding api changesMatthias Clasen2013-07-261-11/+11
| | | | | | | | | | | 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.
* Rename the widget template APIEmmanuele Bassi2013-07-261-20/+20
| | | | | | | | | | | | | | | | | | | | 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
* widget: Use a real offset in gtk_widget_class_automate_childAlexander Larsson2013-07-261-11/+11
| | | | | | | | | | Using an offset from the struct means you can have children in both the public and private (via G_PRIVATE_OFFSET) parts of the instance. It also matches the new private macros nicer. https://bugzilla.gnome.org/show_bug.cgi?id=702563 Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Start migrating internals away from GtkStockWilliam Jon McCann2013-06-241-1/+0
|
* GtkAssistant: Define children with a GtkBuilder templateTristan Van Berkom2013-04-081-145/+72
|
* GtkAssistant: bgo#658694 - Unable to change current page in prepare handlerSébastien Granjoux2012-09-161-0/+4
|
* assistant: Set the proper stock images on the proper buttonsJasper St. Pierre2012-06-131-2/+2
| | | | Copy/paste typo.
* types: Clean up gtkwidget.h includesBenjamin Otte2012-03-031-0/+1
| | | | | | | In particular gtksettings.h and gtkstylecontext.h needed to be included in lots of places now. Also, I order the includes alphabetically in a bunch of headers.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* assistant: Work around deprecation warningsBenjamin Otte2011-11-081-15/+39
|
* GtkAssistant: Fix problems with gtk_widget_show_all()Bastien Nocera2011-09-231-0/+9
| | | | | | | gtk_widget_show_all() would have shown every single item inside the GtkAssistant sidebar, as well as all the navigation buttons. https://bugzilla.gnome.org/show_bug.cgi?id=659826
* gtk_assistant_remove_page() docs: Fix typo.Murray Cumming2011-09-131-1/+1
|
* GtkAssistant: Fix label alignmentMatthias Clasen2011-09-041-4/+7
| | | | | | | | | Make page titles left-aligned again. Changing from misc alignment to GtkWidget::halign here was a mistake. We can't do that for labels in a size group, as long as labels still pay attention to misc alignment. https://bugzilla.gnome.org/show_bug.cgi?id=658008
* assistant: Use gtk_container_remove() when removing pagesBenjamin Otte2011-07-181-1/+1
| | | | Ensures that we properly emit the "remove" signal.
* Make destroying assistants work againMatthias Clasen2011-07-171-4/+7
| | | | | During destruction, we need to be careful to not ask the content notebook to remove itself from itself.
* Drop unneeded includesMatthias Clasen2011-07-141-1/+0
| | | | We no longer use the private GtkAccessible api here.
* Add gtk_assistant_remove_pageMatthias Clasen2011-07-111-0/+24
| | | | | This was suspiciously missing, considering we have the usual append/prepend/insert_page methods.
* GtkAssistant doesn't notice destroyed pagesMatthew Barnes2011-07-091-85/+98
| | | | | | Listen for GtkContainer::remove signals from the internal notebook. https://bugzilla.gnome.org/show_bug.cgi?id=653705
* assistant: Use gtk_widget_class_set_accessible_type()Benjamin Otte2011-07-061-14/+4
| | | | Less code and no leaks!
* Drop the factory from GtkAssistantAccessibleMatthias Clasen2011-07-051-52/+10
|
* GtkAssistant: improve button labelsMatthias Clasen2011-06-131-3/+9
| | | | | | Forward/Back/Last has been declared strange; so go with something a little more friendly: Continue/Go Back/Finish. https://bugzilla.gnome.org/show_bug.cgi?id=652506
* gtk/gtkassistant: gtk_misc_set_alignment replacingDiego Celix2011-06-101-2/+4
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkassistant.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-1/+1
|
* assistant: pack the sidebar in a frame instead of an event boxCosimo Cecchi2011-05-191-8/+30
| | | | | | | | | | | | | | This has mostly two advantages: - the most obvious one is the theme can render a border around the sidebar if it wants to. - we also can avoid hardcoding a container border width for the sidebar, and just use a padding from the theme. This also allows different themes to define a different padding, etc. The drawback is we must draw the background ourselves, but it's easy enough. https://bugzilla.gnome.org/show_bug.cgi?id=650530
* assistant: remove an useless gtk_widget_reset_style() callCosimo Cecchi2011-05-191-1/+0
| | | | | | | It's not needed to call _reset_style() here, as we did not add the widget to the parent container yet. https://bugzilla.gnome.org/show_bug.cgi?id=650530
* GtkAssistant: make the content expandMatthias Clasen2011-05-101-1/+1
| | | | | Its all about the content, so make sure the content fills the available space.
* GtkAssistant: an new style for assistantsMatthias Clasen2011-05-061-677/+359
| | | | | | | | | | GtkAssistant is widely recognized as a butt-ugly widget. This commit changes its style to look more modern. We deprecate the sidebar and header image properties and don't show them anymore. Instead, page titles are arranged in a sidebar, with the title of the current page shown in highlighted style.
* Fix includes in gtkassistant.cMatthias Clasen2011-02-171-2/+2
| | | | Also fix a bad case in gtk_assistant_accessible_get_n_children.
* GtkAssistant: Use _gtk_accessible_set_factory_typeMatthias Clasen2011-02-171-18/+2
|
* Always chain up in ::style-updatedMatthias Clasen2011-02-071-0/+2
| | | | | This was not handled consistently, but the default handler does useful things, so we should always chain up.
* Protect against giant title fontsMatthias Clasen2011-01-271-1/+3
| | | | | | | We don't want repeated calls to set_title_font to blow up the font size ever more, so reset the font each time. https://bugzilla.gnome.org/show_bug.cgi?id=640712
* Silence new gcc warningsMatthias Clasen2011-01-231-347/+367
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* assistant: Fix mapped invariantsBenjamin Otte2011-01-211-1/+9
| | | | gtk_widget_verify_invariants() was complaining, now it's silent.
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-1/+1
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Update GtkAssistant to GtkStyleContextCarlos Garnacho2011-01-041-27/+33
|
* Fix abi check after recent mergesMatthias Clasen2010-12-051-5/+5
|
* a11y: Use ATK macros and clean up/1 - GtkAssistantEmmanuele Bassi2010-11-301-103/+63
| | | | | | | | | | | ATK provides macros to the same effect as G_DEFINE_TYPE; using these macros has the advantage of removing tons of duplicated code and reducing the maintainership burden. The widgets with inline accessibility implementation should switch to these macros, and clean up the code. https://bugzilla.gnome.org/show_bug.cgi?id=636060