Re: Step One. Eeks what to do next
Tor Lillqvist <[email protected]> Wed, 22 Jan 2003 23:37:23 +0000
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <[email protected]> |
Dark Elf writes:
> i don't know if it is windows specific or not
Most probably not.
> button = gtk_button_new_with_label ("Hello World");
>
> ok this should make a button with hello world written on it. Why doesn't
> it. I mean it makes the button but does not display the text.
> how can i fix it
Hard to say with just that one line. There might be lots of things
wrong in your program. Did you have a look at the example programs,
and start by modifying those?
> glade produces code which has the _("hello world") what does this
> mean.
The _ preprocessor macro is commonly used in Unixish software sources
to indicate strings that could be translated into other
languages. Typically it is defined in a application-specific header
file called "something-intl.h" like this:
#ifdef ENABLE_NLS
#define _(string) gettext(string)
#else
#define _(string) (string)
#endif
If you don't want to think of internationalisation at this point, just
use the second definition above.
> in windows it shows an error.
Is the _ macro defined?
--tml