Clutter discussion (2): clutter and GTK +

Source: Internet
Author: User
Tags gtk

Embedding:

You cannot embed GTK + widgets in it. It is a toolkit of low level, so it cannot be embedded with widgets of height level, such as GTK +. However, the clutter widget can be embedded in GTK +.

 

Usage:

Clutter can provide text (editable), but cannot provide buttons, list, combox, scroll, etc. If needed, you can embed GTK +. These components are less likely to be used in small-screen handheld devices. clutter provides the mouse push and buttons in the stage or actor (the left and right keys are not distinguished, And the touch screen does not distinguish between the left and right keys), release, enter, and exit. In terms of functions, the button and list functions can be implemented.

The input text box is not supported and can be replaced by the Editable cluttertext, but the use of cluttertext is limited. For example, we need to patch the scim-bridge file to support Chinese input, there is a problem with the copy function (Clipboard.

 

Others:

Clutter cannot provide gray, shadow, or gradient color changes (for example, for an image, the above part is darker and the following part is brighter ). Shadow can be provided using cluttershader, but it looks a little complicated and has not been tested.

 

Link: My clutter blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.