Gtk.Entry.set_placeholder_text

### Method

# Gtk Entryset_placeholder_text

#### Declaration [src]

    void
    gtk_entry_set_placeholder_text (
      GtkEntry* entry,
      const char* text
    )

#### Description [src]

Sets text to be displayed in `entry` when it is empty.

This can be used to give a visual hint of the expected contents of the `GtkEntry`.

Sets property | `Gtk.Entry:placeholder-text`

#### Parameters

`text` | `const char*`
| A string to be displayed when `entry` is empty and unfocused.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.