gnome-uidefs

gnome-uidefs — Standard defines used throughout libgnomeui.

Synopsis

#include <libgnomeui/libgnomeui.h>

#define             GNOME_PAD
#define             GNOME_PAD_SMALL
#define             GNOME_PAD_BIG
#define             GNOME_YES
#define             GNOME_NO
#define             GNOME_OK
#define             GNOME_CANCEL
#define             GNOME_KEY_NAME_QUIT
#define             GNOME_KEY_MOD_QUIT
#define             GNOME_KEY_NAME_EXIT
#define             GNOME_KEY_MOD_EXIT
#define             GNOME_KEY_NAME_CLOSE
#define             GNOME_KEY_MOD_CLOSE
#define             GNOME_KEY_NAME_CUT
#define             GNOME_KEY_MOD_CUT
#define             GNOME_KEY_NAME_COPY
#define             GNOME_KEY_MOD_COPY
#define             GNOME_KEY_NAME_PASTE
#define             GNOME_KEY_MOD_PASTE
#define             GNOME_KEY_NAME_SELECT_ALL
#define             GNOME_KEY_MOD_SELECT_ALL
#define             GNOME_KEY_NAME_CLEAR
#define             GNOME_KEY_MOD_CLEAR
#define             GNOME_KEY_NAME_UNDO
#define             GNOME_KEY_MOD_UNDO
#define             GNOME_KEY_NAME_REDO
#define             GNOME_KEY_MOD_REDO
#define             GNOME_KEY_NAME_SAVE
#define             GNOME_KEY_MOD_SAVE
#define             GNOME_KEY_NAME_OPEN
#define             GNOME_KEY_MOD_OPEN
#define             GNOME_KEY_NAME_SAVE_AS
#define             GNOME_KEY_MOD_SAVE_AS
#define             GNOME_KEY_NAME_NEW
#define             GNOME_KEY_MOD_NEW
#define             GNOME_KEY_NAME_PRINT
#define             GNOME_KEY_MOD_PRINT
#define             GNOME_KEY_NAME_PRINT_SETUP
#define             GNOME_KEY_MOD_PRINT_SETUP
#define             GNOME_KEY_NAME_FIND
#define             GNOME_KEY_MOD_FIND
#define             GNOME_KEY_NAME_FIND_AGAIN
#define             GNOME_KEY_MOD_FIND_AGAIN
#define             GNOME_KEY_NAME_REPLACE
#define             GNOME_KEY_MOD_REPLACE
#define             GNOME_KEY_NAME_NEW_WINDOW
#define             GNOME_KEY_MOD_NEW_WINDOW
#define             GNOME_KEY_NAME_CLOSE_WINDOW
#define             GNOME_KEY_MOD_CLOSE_WINDOW
#define             GNOME_KEY_NAME_REDO_MOVE
#define             GNOME_KEY_MOD_REDO_MOVE
#define             GNOME_KEY_NAME_UNDO_MOVE
#define             GNOME_KEY_MOD_UNDO_MOVE
#define             GNOME_KEY_NAME_PAUSE_GAME
#define             GNOME_KEY_MOD_PAUSE_GAME
#define             GNOME_KEY_NAME_NEW_GAME
#define             GNOME_KEY_MOD_NEW_GAME

Description

Details

GNOME_PAD

#define GNOME_PAD          8

A sensible amount of padding (in pixels) to put around objects.


GNOME_PAD_SMALL

#define GNOME_PAD_SMALL    4

A smaller amount of padding than GNOME_PAD.


GNOME_PAD_BIG

#define GNOME_PAD_BIG      12

A larger amount of padding then GNOME_PAD.


GNOME_YES

#define GNOME_YES 0 

Warning

GNOME_YES is deprecated and should not be used in newly-written code.

Old way to specify the "yes" button in a yes-no dialog box. New code should use the constants in GTK+ to do this now.


GNOME_NO

#define GNOME_NO 1 

Warning

GNOME_NO is deprecated and should not be used in newly-written code.

Old way to specify the "no" button in a yes-no dialog box. New code should use the constants in GTK+ to do this now.


GNOME_OK

#define GNOME_OK 0

Warning

GNOME_OK is deprecated and should not be used in newly-written code.

Old way to specify the "ok" button in a ok-cancel dialog box. New code should use the constants in GTK+ to do this now.


GNOME_CANCEL

#define GNOME_CANCEL 1

Warning

GNOME_CANCEL is deprecated and should not be used in newly-written code.

Old way to specify the "cancel" button in a ok-cancel dialog box. New code should use the constants in GTK+ to do this now.


GNOME_KEY_NAME_QUIT

#define GNOME_KEY_NAME_QUIT 	        'q'

The default key used to select the quit menu item.


GNOME_KEY_MOD_QUIT

#define GNOME_KEY_MOD_QUIT	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_QUIT to select the quit menu item.


GNOME_KEY_NAME_EXIT

#define GNOME_KEY_NAME_EXIT GNOME_KEY_NAME_QUIT

Warning

GNOME_KEY_NAME_EXIT is deprecated and should not be used in newly-written code.

The default key used to select the exit menu item.


GNOME_KEY_MOD_EXIT

#define GNOME_KEY_MOD_EXIT GNOME_KEY_MOD_QUIT

Warning

GNOME_KEY_MOD_EXIT is deprecated and should not be used in newly-written code.

The default modifier used in conjunction with GNOME_KEY_NAME_EXIT to select the exit menu item.


GNOME_KEY_NAME_CLOSE

#define GNOME_KEY_NAME_CLOSE 	        'w'

The default key used to select the close menu item.


GNOME_KEY_MOD_CLOSE

#define GNOME_KEY_MOD_CLOSE	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_CLOSE to select the close menu item.


GNOME_KEY_NAME_CUT

#define GNOME_KEY_NAME_CUT 	        'x'

The default key used to select the cut menu item.


GNOME_KEY_MOD_CUT

#define GNOME_KEY_MOD_CUT 	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_CUT to select the cut menu item.


GNOME_KEY_NAME_COPY

#define GNOME_KEY_NAME_COPY	        'c'

The default key used to select the copy menu item.


GNOME_KEY_MOD_COPY

#define GNOME_KEY_MOD_COPY	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_COPY to select the copy menu item.


GNOME_KEY_NAME_PASTE

#define GNOME_KEY_NAME_PASTE 	        'v'

The default key used to select the paste menu item.


GNOME_KEY_MOD_PASTE

#define GNOME_KEY_MOD_PASTE 	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_PASTE to select the paste menu item.


GNOME_KEY_NAME_SELECT_ALL

#define GNOME_KEY_NAME_SELECT_ALL       'a'

The default key used to select the select all menu item.


GNOME_KEY_MOD_SELECT_ALL

#define GNOME_KEY_MOD_SELECT_ALL        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_SELECT_ALL to select the select all menu item.


GNOME_KEY_NAME_CLEAR

#define GNOME_KEY_NAME_CLEAR 	        0

The default key used to select the clear menu item.


GNOME_KEY_MOD_CLEAR

#define GNOME_KEY_MOD_CLEAR 	        (0)

The default modifier used in conjunction with GNOME_KEY_NAME_CLEAR to select the clear menu item.


GNOME_KEY_NAME_UNDO

#define GNOME_KEY_NAME_UNDO  	        'z'

The default key used to select the undo menu item.


GNOME_KEY_MOD_UNDO

#define GNOME_KEY_MOD_UNDO  	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_UNDO to select the undo menu item.


GNOME_KEY_NAME_REDO

#define GNOME_KEY_NAME_REDO	        'z'

The default key used to select the redo menu item.


GNOME_KEY_MOD_REDO

#define GNOME_KEY_MOD_REDO	        (GDK_CONTROL_MASK | GDK_SHIFT_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_REDO to select the redo menu item.


GNOME_KEY_NAME_SAVE

#define GNOME_KEY_NAME_SAVE	        's'

The default key used to select the save menu item.


GNOME_KEY_MOD_SAVE

#define GNOME_KEY_MOD_SAVE	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_SAVE to select the save menu item.


GNOME_KEY_NAME_OPEN

#define GNOME_KEY_NAME_OPEN	        'o'

The default key used to select the open menu item.


GNOME_KEY_MOD_OPEN

#define GNOME_KEY_MOD_OPEN	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_OPEN to select the open menu item.


GNOME_KEY_NAME_SAVE_AS

#define GNOME_KEY_NAME_SAVE_AS	        's'

The default key used to select the save as menu item.


GNOME_KEY_MOD_SAVE_AS

#define GNOME_KEY_MOD_SAVE_AS           (GDK_CONTROL_MASK | GDK_SHIFT_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_SAVE_AS to select the save as menu item.


GNOME_KEY_NAME_NEW

#define GNOME_KEY_NAME_NEW	        'n'

The default key used to select the new menu item.


GNOME_KEY_MOD_NEW

#define GNOME_KEY_MOD_NEW	        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_NEW to select the new menu item.


GNOME_KEY_NAME_PRINT

#define GNOME_KEY_NAME_PRINT            'p'

The default key used to select the print menu item.


GNOME_KEY_MOD_PRINT

#define GNOME_KEY_MOD_PRINT             (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_PRINT to select the print menu item.


GNOME_KEY_NAME_PRINT_SETUP

#define GNOME_KEY_NAME_PRINT_SETUP      0

The default key used to select the print setup menu item.


GNOME_KEY_MOD_PRINT_SETUP

#define GNOME_KEY_MOD_PRINT_SETUP       (0)

The default modifier used in conjunction with GNOME_KEY_NAME_PRINT_SETUP to select the print setup menu item.


GNOME_KEY_NAME_FIND

#define GNOME_KEY_NAME_FIND             'f'

The default key used to select the find menu item.


GNOME_KEY_MOD_FIND

#define GNOME_KEY_MOD_FIND              (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_FIND to select the find menu item.


GNOME_KEY_NAME_FIND_AGAIN

#define GNOME_KEY_NAME_FIND_AGAIN       'g'

The default key used to select the find again menu item.


GNOME_KEY_MOD_FIND_AGAIN

#define GNOME_KEY_MOD_FIND_AGAIN        (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_FIND_AGAIN to select the find again menu item.


GNOME_KEY_NAME_REPLACE

#define GNOME_KEY_NAME_REPLACE          'r'

The default key used to select the replace menu item.


GNOME_KEY_MOD_REPLACE

#define GNOME_KEY_MOD_REPLACE           (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_REPLACE to select the replace menu item.


GNOME_KEY_NAME_NEW_WINDOW

#define GNOME_KEY_NAME_NEW_WINDOW       0

The default key used to select the new window menu item.


GNOME_KEY_MOD_NEW_WINDOW

#define GNOME_KEY_MOD_NEW_WINDOW        (0)

The default modifier used in conjunction with GNOME_KEY_NAME_NEW_WINDOW to select the new window menu item.


GNOME_KEY_NAME_CLOSE_WINDOW

#define GNOME_KEY_NAME_CLOSE_WINDOW     0

The default key used to select the close window menu item.


GNOME_KEY_MOD_CLOSE_WINDOW

#define GNOME_KEY_MOD_CLOSE_WINDOW      (0)

The default modifier used in conjunction with GNOME_KEY_NAME_CLOSE_WINDOW to select the close window menu item.


GNOME_KEY_NAME_REDO_MOVE

#define GNOME_KEY_NAME_REDO_MOVE        'z'

The default key used to select the redo move menu item.


GNOME_KEY_MOD_REDO_MOVE

#define GNOME_KEY_MOD_REDO_MOVE         (GDK_CONTROL_MASK | GDK_SHIFT_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_REDO_MOVE to select the redo move menu item.


GNOME_KEY_NAME_UNDO_MOVE

#define GNOME_KEY_NAME_UNDO_MOVE        'z'

The default key used to select the undo move menu item.


GNOME_KEY_MOD_UNDO_MOVE

#define GNOME_KEY_MOD_UNDO_MOVE         (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_UNDO_MOVE to select the undo move menu item.


GNOME_KEY_NAME_PAUSE_GAME

#define GNOME_KEY_NAME_PAUSE_GAME       GDK_Pause

The default key used to select the pause game menu item.


GNOME_KEY_MOD_PAUSE_GAME

#define GNOME_KEY_MOD_PAUSE_GAME        (0)

The default modifier used in conjunction with GNOME_KEY_NAME_PAUSE_GAME to select the pause game menu item.


GNOME_KEY_NAME_NEW_GAME

#define GNOME_KEY_NAME_NEW_GAME         'n'

The default key used to select the new game menu item.


GNOME_KEY_MOD_NEW_GAME

#define GNOME_KEY_MOD_NEW_GAME          (GDK_CONTROL_MASK)

The default modifier used in conjunction with GNOME_KEY_NAME_NEW_GAME to select the new game menu item.