GtkShortcutsWindow how to



Hi there,

i try to create ShortcutsWindow for my application but,
in documentation is:

The recommended way to construct a GtkShortcutsWindow is with
GtkBuilder, by populating a GtkShortcutsWindow with one or more
GtkShortcutsSection objects, which contain GtkShortcutsGroups that in
turn contain objects of class GtkShortcutsShortcut.

At first, is very sad, that it not possible to create ShortcutsWindow
without user interface file. May be, it is possible, but documentation
conceals about that. The last way is study source code, which is wrong!

Why I try to create GtkShortcutsWindow without ui data file? Because my
application don't have any data files now.

Ok, let's create data file with my favorite editor (no other is not
exists what I know) glade. But, glade does not support any Shortcuts
widget.

So that is really means seriously, that application authors must create
this data files by hand in theirs text/xml editors?

-- 
Ondřej Tůma <mcbig zeropage cz>
www: http://ipv6.mcbig.cz   jabber: mcbig jabber cz   twitter: mcbig_cz


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]