gtk/tests
Matthias Clasen cbf5b49cb8 Add an example for accelerators with manual image menuitems
This is somewhat tricky to work out, so put some example
code here for future reference. The tricky part is that
GtkAccelLabel tries to be smart about hiding the accel
if there's not enough space, so we have to make sure to
pack the label with expand=TRUE and set align=GTK_ALIGN_FILL,
or things won't work.
2015-03-06 20:36:11 -05:00
..
dummy-headers quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals tests: Connect signals in visuals test 2014-02-20 02:10:07 +01:00
3DRings.xpm
animated-resizing.c animated-resizing, video-timer: Add missing return value from ::draw 2013-04-25 13:44:58 -04:00
animated-revealing.c tests: Exit test when main window is closed 2014-10-10 00:27:45 +02:00
apple-red.png
autotestkeywords.cc Don't include gdkwin32.h when testing Objective-C++ 2009-10-09 14:35:49 +03:00
check-n.xpm
check-y.xpm
dialog.ui Set initial focus in some dialog tests 2014-08-02 11:59:05 +02:00
FilesQueue.xpm
flicker.c Don't use gtk_set_locale 2010-12-21 12:07:02 -05:00
frame-stats.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c Add tests/gdkgears 2014-10-13 10:43:31 -04:00
gnome-textfile.png
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkgears.c test/gtkgears.c: Fix on C89 Compilers 2015-03-06 23:47:35 +08:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
gtkoffscreenbox.c Remove deprecation warnings from demos and tests 2014-01-24 21:08:59 -05:00
gtkoffscreenbox.h Add offscreen testcase 2009-04-02 10:14:04 +02:00
Makefile.am Adapt the testpopover example 2014-10-29 06:49:58 -04:00
makefile.msc Deprecate the unused gtk-file-chooser-backend setting 2013-06-30 13:44:24 -04:00
marble.xpm
merge-1.ui
merge-2.ui Add UI manager attribute to always show image in menu items 2009-11-27 19:14:43 +01:00
merge-3.ui
Modeller.xpm
motion-compression.c Drop most uses of GtkMisc in tests 2014-05-13 07:43:21 -04:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
mydialog.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
overlayscroll.c Port the overlayscroll example 2014-10-20 23:07:45 -04:00
popover2.ui Add a scale to the popover menu example 2014-10-29 06:49:59 -04:00
popover.ui GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
print-editor.c Port print-editor test to GtkBuilder from UIManager 2013-06-30 11:19:50 -04:00
scrolling-performance.c tests/scrolling-performance: Add a new test for GtkViewport performance 2013-04-23 14:04:40 -04:00
selectionmode.ui Reconstruct a missing file 2014-08-11 16:25:21 -04:00
simple.c Change FSF Address 2012-02-27 17:06:11 +00:00
stresstest-toolbar.c Change FSF Address 2012-02-27 17:06:11 +00:00
styleexamples.c gtkwindow: Remove resize grips 2014-07-03 12:58:41 -04:00
subsurface.c Make subsurface test use a stack 2014-09-17 12:42:32 -04:00
syncscroll.c Add an example for synchronized scrolling 2014-10-09 20:18:51 -04:00
test.xpm
testaccel.c testaccel: Add another focus location 2014-09-06 19:03:00 -04:00
testactionbar.c tests: add a visibility toggle to the action bar test 2014-02-12 08:08:03 -05:00
testactions.c Deprecate GtkAction and GtkUIManager 2013-06-30 11:19:50 -04:00
testadjustsize.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testanimation.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testappchooser.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testappchooserbutton.c tests: Include config.h 2012-11-06 21:29:58 +01:00
testapplication.desktop Add GtkApplication 2010-06-07 16:46:30 -04:00
testassistant.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testbaseline.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testbbox.c Add an expand button box type 2014-01-17 17:52:07 -05:00
testbox.c Add a testcase for box sizing 2014-02-16 23:24:13 -05:00
testboxcss.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testbuttons.c tests: Ignore deprecation warnings 2013-06-26 15:51:32 +02:00
testcairo.c Change FSF Address 2012-02-27 17:06:11 +00:00
testcalendar.c Avoid a crash in testcalendar 2014-12-23 21:47:50 -05:00
testcellarea.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testcellrenderertext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testclipboard.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testcolorchooser.c API: colorchooser: Use GtkOrientation for orientation 2012-03-07 03:11:05 +01:00
testcombo.c Drop an unnecessary include 2014-04-02 12:41:24 -04:00
testcombochange.c Drop most uses of GtkMisc in tests 2014-05-13 07:43:21 -04:00
testdialog.c Add another dialog to test 2014-07-17 12:17:32 -04:00
testdnd.c Change FSF Address 2012-02-27 17:06:11 +00:00
testellipsise.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testemblems.c Add a testcase for icons with emblems 2014-03-24 20:17:21 -04:00
testentrycompletion.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testentryicons.c tests: Remove unused args 2014-05-22 11:17:32 -04:00
testerrors.c Change FSF Address 2012-02-27 17:06:11 +00:00
testexpand.c tests: Update testexpand example for deprecations 2014-10-12 05:27:27 +02:00
testexpander.c Add an expander-in-dialog example 2010-06-24 00:35:24 -04:00
testfilechooser.c testfilechooser: Test the preview again 2014-10-19 20:03:58 -04:00
testfilechooserbutton.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testflowbox.c Changed obsolete FSF portal addresses to web address 2014-01-12 19:56:49 +07:00
testfontchooser.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testfontchooserdialog.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testfontselection.c Change FSF Address 2012-02-27 17:06:11 +00:00
testfontselectiondialog.c Change FSF Address 2012-02-27 17:06:11 +00:00
testframe.c tests: Don't call gtk_style_context_invalidate() 2013-10-05 13:57:51 +02:00
testfullscreen.c tests: add a test for fullscreen mode 2013-01-25 13:16:57 +01:00
testgeometry.c tests: return 0; from main() 2013-01-08 12:23:52 +01:00
testgiconpixbuf.c Change FSF Address 2012-02-27 17:06:11 +00:00
testglarea.c tests: Update testglarea 2015-02-09 19:10:30 +00:00
testglblending.c Add tests/testglblending 2014-10-13 10:43:31 -04:00
testgmenu.c Drop most uses of GtkMisc in tests 2014-05-13 07:43:21 -04:00
testgrid.c More removal of deprecated API 2014-10-07 22:35:02 -04:00
testgrouping.c
testgtk2.css Make testgtk load CSS for custom styling. 2010-12-04 15:39:07 +01:00
testgtk.1
testgtk.c testgtk: Don't trigger deprecation warnings 2014-10-12 04:54:40 +02:00
testgtk.css Revert "WIP: make GtkNotebook window-draggable" 2012-04-28 02:06:37 -04:00
testheaderbar.c tests: use actionbar in headerbar test 2014-01-07 08:46:37 -05:00
testheightforwidth.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testicontheme.c testicontheme: Use rtl/ltr lookup flags 2014-09-21 14:09:16 -04:00
testiconview-keynav.c Change FSF Address 2012-02-27 17:06:11 +00:00
testiconview.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testimage.c Test size constraints 2014-03-14 13:46:31 -04:00
testinput.c tests: Make testinput example not compress events 2013-11-16 01:50:53 +01:00
testkineticscrolling.c Don't use gtk_scrolled_window_add_with_viewport() in tests 2013-02-01 22:58:55 -05:00
testlevelbar.c testlevelbar: fix CSS to be aligned with documentation 2014-10-27 06:56:19 -04:00
testlist2.c tests: Adapt to gtk_widget_reparent deprecations 2014-05-22 08:50:18 -04:00
testlist3.c Improve list selection example 2014-04-06 01:44:38 -04:00
testlist.c testlist: Test double click mode 2013-06-17 15:15:07 +02:00
testlockbutton.c tests: Make testlockbutton not use deprecated API 2014-04-10 17:00:44 +02:00
testlogout.c GtkApplication: remove end session API 2012-02-21 01:23:01 +01:00
testmenubutton.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testmerge.c Use gdk_event_triggers_context_menu() instead of checking for event->button == 3 2012-03-13 13:10:30 +00:00
testmountoperation.c Change FSF Address 2012-02-27 17:06:11 +00:00
testmultidisplay.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testnoscreen.c Change FSF Address 2012-02-27 17:06:11 +00:00
testnotebookdnd.c testnotebookdnd: Defer deletion to an idle 2015-01-30 10:13:28 -05:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testnumerableicon.c tests: Remove unused args 2014-05-22 11:17:32 -04:00
testoffscreen.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testoffscreenwindow.c tests: Connect to draw signal in testoffscreenwindow 2010-09-26 15:11:40 +02:00
testorientable.c Change FSF Address 2012-02-27 17:06:11 +00:00
testoverlay.c tests: Add deprecation guards 2014-11-05 13:06:32 +01:00
testoverlaystyleclass.c tests: Update testoverlaystyleclass test 2014-10-12 05:11:13 +02:00
testpixbuf-color.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-save.c Move demos around 2011-05-26 00:32:31 -04:00
testpixbuf-scale.c tests: Stop using GtkAlignment 2014-05-23 21:32:51 -04:00
testpopover.c Adapt the testpopover example 2014-10-29 06:49:58 -04:00
testprint.c Change FSF Address 2012-02-27 17:06:11 +00:00
testprintfileoperation.c
testprintfileoperation.h
testrc.c Change FSF Address 2012-02-27 17:06:11 +00:00
testrecentchooser.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testrecentchoosermenu.c Deprecate GtkImageMenuItem 2013-06-27 18:48:46 -04:00
testrevealer.c Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
testrichtext.c Change FSF Address 2012-02-27 17:06:11 +00:00
testscale.c testscale: add a test for up/leftwards scales 2012-06-12 09:54:33 -04:00
testscrolledge.c scrolledwindow: add a new edge-reached signal 2015-01-31 23:08:17 +00:00
testscrolledwindow.c tests: Add checkbox to enable kinetic scrolling in scrolled window test 2012-03-01 16:25:22 -05:00
testselection.c tests: Don't use deprecated functions in testselection 2014-04-10 17:06:27 +02:00
testselectionmode.c Add a selection mode testcase 2014-08-08 13:30:54 +02:00
testsensitive.c testsensitive: Remove deprecated part 2013-04-02 11:45:44 +02:00
testsocket_child.c Change FSF Address 2012-02-27 17:06:11 +00:00
testsocket_common.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testsocket.c Change FSF Address 2012-02-27 17:06:11 +00:00
testspinbutton.c Make spinbutton orientable 2012-09-03 11:45:51 -04:00
testsplitheaders.c Make testsplitheaders more robust 2014-01-07 13:45:55 -05:00
testsplitheaders.ui Add an example for split headers 2014-01-06 10:32:19 -05:00
teststack.c Rename GtkSidebar to GtkStackSidebar 2015-02-13 18:01:56 +01:00
teststatusicon.c Deprecate GtkStatusIcon 2014-08-15 13:02:31 -04:00
teststockbuttonmenu.c Add an example for accelerators with manual image menuitems 2015-03-06 20:36:11 -05:00
testswitch.c Add a delayed state test case 2014-04-06 01:52:48 -04:00
testtextview.c tests: Sanitize 2014-08-15 00:13:06 +02:00
testthreads.c Change FSF Address 2012-02-27 17:06:11 +00:00
testtitlebar.c Make testtitlebar more versatile 2014-01-06 23:37:05 -05:00
testtoolbar2.c Add an example for a hig-style toolbar 2014-08-15 23:22:00 -04:00
testtoolbar.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testtooltips.c tests: Update testtooltips for deprecations 2014-10-12 05:21:01 +02:00
testtoplevelembed.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreechanging.c tests: Drop manual property editor 2014-05-22 08:32:48 -04:00
testtreecolumns.c tests: fix testtreecolumns not to segfault at startup 2012-09-27 16:54:40 -04:00
testtreecolumnsizing.c gtk: remove "gboolean homogeneous" from gtk_box_new() 2010-11-02 12:04:35 +09:00
testtreeedit.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreeflow.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreefocus.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreemenu.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreemodel.c testtreemodel: fix unused variable on windows 2014-07-24 08:34:02 +02:00
testtreepos.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testtreesort.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testtreeview-plan.txt
testtreeview.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
testverticalcells.c Remove most of the stock API usage from the tests 2013-06-24 19:53:08 -04:00
testvolumebutton.c tests: fix volume button 2014-02-13 20:47:24 -05:00
testwindows.c tests: Don't force black background in testwindows 2014-10-12 05:15:23 +02:00
testwindowsize.c tests: Add max-width-chars to testwindowsize test 2013-11-25 03:56:21 +01:00
testxinerama.c Change FSF Address 2012-02-27 17:06:11 +00:00
treestoretest.c tests: Drop use of deprecated api 2014-08-04 12:27:56 +02:00
variable.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c animated-resizing, video-timer: Add missing return value from ::draw 2013-04-25 13:44:58 -04:00