Changeset 480 for trunk/src/gdk/Keymap.d
- Timestamp:
- 03/25/08 18:16:02 (8 months ago)
- Files:
-
- trunk/src/gdk/Keymap.d (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gdk/Keymap.d
r466 r480 50 50 * module aliases: 51 51 * local aliases: 52 * overrides: 52 53 */ 53 54 … … 136 137 137 138 /** the main Gtk struct as a void* */ 138 protected void* getStruct()139 protected override void* getStruct() 139 140 { 140 141 return cast(void*)gdkKeymap; … … 397 398 * Returns:a string containing the name of the key, or NULL if keyval is nota valid key. The string should not be modified. 398 399 */ 399 public static char[]gdkKeyvalName(uint keyval)400 public static string gdkKeyvalName(uint keyval) 400 401 { 401 402 // gchar* gdk_keyval_name (guint keyval); 402 return Str.toString(gdk_keyval_name(keyval)) .dup;403 return Str.toString(gdk_keyval_name(keyval)); 403 404 } 404 405 … … 409 410 * Returns:the corresponding key value, or GDK_VoidSymbol if the key name isnot a valid key. 410 411 */ 411 public static uint gdkKeyvalFromName( char[]keyvalName)412 public static uint gdkKeyvalFromName(string keyvalName) 412 413 { 413 414 // guint gdk_keyval_from_name (const gchar *keyval_name);
