[wxPython-users] Adding user styles to a widget
Oswaldo Hernández
listas at soft-com.es
Mon Jun 12 06:20:33 PDT 2006
Robin Dunn escribió:
> Oswaldo Hernández wrote:
>
>> For a custom widget i would like add my own style flags in the control
>> init 'style' keyword.
>>
>
> The 32 bits of the style flag are divided in half. The first half are
> for styles common across all windows, like border styles, and the second
> half (the lower 16 bits of the value) are for styles specific to each
> window type. So you should be able to safely use values 0x0001 through
> 0x8000 for your custom control's styles.
>
I will use those values.
Thanks.
--
*****************************************
Oswaldo Hernández
oswaldo at soft-com.es
*****************************************
More information about the wxpython-users
mailing list