1 patch for repository andystew...@code.haskell.org:/srv/code/gtk2hs: Wed Jun 2 00:58:57 CST 2010 Andy Stewart <lazycat.mana...@gmail.com> * Add MenuToolButton support functions for Tooltip.chs
New patches:
[Add MenuToolButton support functions for Tooltip.chs Andy Stewart <lazycat.mana...@gmail.com>**20100601165857 Ignore-this: 9e153056f052f09f3bf7bd5569ce347c ] { hunk ./gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuToolButton.chs 69 menuToolButtonSetMenu, menuToolButtonGetMenu, menuToolButtonSetArrowTooltip, +#if GTK_CHECK_VERSION(2,12,0) + menuToolButtonSetArrowTooltipText, + menuToolButtonSetArrowTooltipMarkup, +#endif -- * Attributes menuToolButtonMenu, hunk ./gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuToolButton.chs 92 {#import Graphics.UI.Gtk.Types#} {#import Graphics.UI.Gtk.Signals#} import Graphics.UI.Gtk.General.StockItems +import Graphics.Rendering.Pango.Markup {# context lib="gtk" prefix="gtk" #} hunk ./gtk/Graphics/UI/Gtk/MenuComboToolbar/MenuToolButton.chs 171 tipTextPtr tipPrivatePtr +#if GTK_CHECK_VERSION(2,12,0) +-- | Sets the tooltip text to be used as tooltip for the arrow button which +-- pops up the menu. See 'toolItemSetTooltip' for setting a tooltip on the +-- whole 'MenuToolButton'. +-- +-- * Available since Gtk+ version 2.12 +-- +menuToolButtonSetArrowTooltipText :: MenuToolButtonClass self => self + -> String -- ^ @text@ - text to be used as tooltip text for button's arrow + -- button + -> IO () +menuToolButtonSetArrowTooltipText self text = + withUTFString text $ \textPtr -> + {# call gtk_menu_tool_button_set_arrow_tooltip_text #} + (toMenuToolButton self) + textPtr + +-- | Sets the tooltip markup text to be used as tooltip for the arrow button +-- which pops up the menu. See 'toolItemSetTooltip' for setting a tooltip on +-- the whole 'MenuToolButton'. +-- +-- * Available since Gtk+ version 2.12 +-- +menuToolButtonSetArrowTooltipMarkup :: MenuToolButtonClass self => self + -> Markup -- ^ @markup@ - markup text to be used as tooltip text for button's + -- arrow button + -> IO () +menuToolButtonSetArrowTooltipMarkup self markup = + withUTFString markup $ \markupPtr -> + {# call gtk_menu_tool_button_set_arrow_tooltip_markup #} + (toMenuToolButton self) + markupPtr +#endif + -------------------- -- Attributes } Context: [Fix `widgetTooltipMarkup` and docs. Andy Stewart <lazycat.mana...@gmail.com>**20100601144701 Ignore-this: 3fc33fd561f18f221d8b7b0215c71826 ] [Fix function `tooltipSetMarkup` Andy Stewart <lazycat.mana...@gmail.com>**20100601143948 Ignore-this: b4af7ecca1bc74b22e20727f33729a8b ] [Add Widget support functions for Tooltip.chs Andy Stewart <lazycat.mana...@gmail.com>**20100601140304 Ignore-this: 6b10098119f7a416d763c834bd892cae ] [Add Tooltip.chs (The new module to replace Tooltips.chs) Andy Stewart <lazycat.mana...@gmail.com>**20100601131828 Ignore-this: ca64d1d45d3c526494a41fb537d16c6c ] [Clean bootstrap.sh Andy Stewart <lazycat.mana...@gmail.com>**20100601122113 Ignore-this: f59b5f9bf21945c39258a39432621a03 ] [Note that Cabal 1.8 is required for ghci support under Windows. axel.si...@in.tum.de**20100527181310 Ignore-this: 1c5fc3bb7ad83f5d1094e0083ddd9913 ] [Do not query g_object_get_type as it only exists in newer Gtk+ versions. axel.si...@in.tum.de**20100527163435 Ignore-this: 70d62f66a2eb159c7fd3e23079c5debf ] [Remove gnomevfs sourceview mozembed since those packages has deprecated. Andy Stewart <lazycat.mana...@gmail.com>**20100527124728 Ignore-this: a1dfda3669b7417a7b09c3b4acfaa2d Below are backup repositories for those deprecated packages: * gnomevfs : http://www2.in.tum.de/~simona/gnomevfs/ * sourceview : http://www2.in.tum.de/~simona/sourceview/ * mozembed : http://www2.in.tum.de/~simona/mozembed/ ] [Fix IconTheme.chs docs. Andy Stewart <lazycat.mana...@gmail.com>**20100527102140 Ignore-this: 2f2b7ab508c688cc73f1b59012966d13 ] [Fix Gtk2HsSetup.hs bug. Andy Stewart <lazycat.mana...@gmail.com>**20100527095530 Ignore-this: 1b65945da174e05d0ad2a1f01e2ee651 ] [Add gnomevfs demo directory. Andy Stewart <lazycat.mana...@gmail.com>**20100527061234 Ignore-this: 40c6dd74b460d7546937212dacf1f9e1 ] [Add gtk demo directory. Andy Stewart <lazycat.mana...@gmail.com>**20100527061041 Ignore-this: 876a827c6f1bac1a8b26a99cd68c6005 ] [Add cairo demo directory. Andy Stewart <lazycat.mana...@gmail.com>**20100527051924 Ignore-this: b1a70c2a24812fb84c899e4e8ce3ca6c ] [Add pango demo directory. Andy Stewart <lazycat.mana...@gmail.com>**20100527051205 Ignore-this: af1ff611ab459ee2b6c5bc09a3f63c11 ] [Fix the license of gnomevfs Andy Stewart <lazycat.mana...@gmail.com>**20100527035350 Ignore-this: 9ac7c768af168d6f0c7af8c8790e8643 ] [Fix the license of gio. axel.si...@in.tum.de**20100526152125 Ignore-this: 42fe27de2030e0395227f889ba5345d8 ] [Fix Trac #1164. toGSList was reversing lists. m.ni...@gmail.com**20090514122933 Ignore-this: c466eadbc5ae61ba71721fe15b44735a ] [Remove gconf glade gstreamer gtkglext gtksourceview2 soegtk svgcairo vte webkit since these all now have their own repos. axel.si...@in.tum.de**20100525211947] [Documentation fix for EventM. axel.si...@in.tum.de**20100525131428 Ignore-this: 25c3bf3513ec6467cbd0febe397ab53e ] [Put upper bounds on base version. axel.si...@in.tum.de**20100525082101 Ignore-this: f92b2d9970c436c9fcbcf141fc988e8 ] [Make documentation parsable. axel.si...@in.tum.de**20100525080209 Ignore-this: 60f44b8251a9f3e933c874f72d8e8801 ] [Make the version test in pango less complex as Cabal 1.6 doesn't parse it otherwise. axel.si...@in.tum.de**20100525075706 Ignore-this: f3446237cf66abf49e81bd4ba8ef9744 ] [Fix an incorrect pattern in windowSetIcon. axel.si...@in.tum.de**20100525075639 Ignore-this: eb596c778897b4ae4fd7f9a8dde59726 ] [Get rid of stock images under ./docs/reference/images Andy Stewart <lazycat.mana...@gmail.com>**20100524235315 Ignore-this: 1094aaf32c73ba189937e1beee24ee49 ] [Redirect image link to library.gnome.org and update image items to GTK+ 2.20 Andy Stewart <lazycat.mana...@gmail.com>**20100524233947 Ignore-this: f33362d57605d16365e4dfac59c01122 ] [Add an upper version to the requirement on base. axel.si...@in.tum.de**20100524211158] [Be more specific as to the prerequisites of packages. axel.si...@in.tum.de**20100524210210] [Fix docu. axel.si...@in.tum.de**20100524210157] [Make soegtk compile by fixing dependency on old-time and by not relying on Gtk 2.18. axel.si...@in.tum.de**20100524210032] [don't mention tools in the docs for unregistering. axel.si...@in.tum.de**20100524201401] [TAG 0.11.0 axel.si...@in.tum.de**20100524200857] Patch bundle hash: 0cccc5a8610c417d927e695fe05bd4d9f881a64c
------------------------------------------------------------------------------
_______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel