Hi,
yeajchao <[EMAIL PROTECTED]> writes:
> In general,the RGB color mode ,the red or green or blue's value
> is from 0 to 255 But ,the GdkColor ,the value is from 0 to 65535
>
>My question is ,how to map (0--255) to (0--65535)
r = ((r << 8) | r);
g = ((g << 8) | g);
b = ((b << 8) | b);
Hi,
Douglas Vechinski <[EMAIL PROTECTED]> writes:
> First, is it possible to make a GtkFileChooserDialog when in
> GTK_FILE_CHOOSER_ACTION_SAVE action to "activate" when the user presses
> Enter or Return in the name entry box so that one does not have to move
> the mouse to the Save button?
It