• PySide 模块
  • PySide.QtGui
  • 内容表

    上一话题

    QCleanlooksStyle

    下一话题

    QMotifStyle

    QGtkStyle

    概要

    静态函数

    详细描述

    PySide.QtGui.QGtkStyle class provides a widget style rendered by GTK+

    PySide.QtGui.QGtkStyle style provides a look and feel that integrates well into GTK-based desktop environments such as the XFCe and GNOME.

    It does this by making use of the GTK+ theme engine, ensuring that Qt applications look and feel native on these platforms.

    Note: The style requires GTK+ version 2.10 or later. The Qt3-based “Qt” GTK+ theme engine will not work with PySide.QtGui.QGtkStyle .

    class PySide.QtGui. QGtkStyle

    构造 PySide.QtGui.QGtkStyle 对象。

    static PySide.QtGui.QGtkStyle. getGConfBool ( key [ , fallback=0 ] )
    参数:
    • key – unicode
    • fallback PySide.QtCore.bool
    返回类型:

    PySide.QtCore.bool

    Returns the configuration boolean for key 。返回 fallback if key 找不到。

    static PySide.QtGui.QGtkStyle. getGConfString ( key [ , fallback="" ] )
    参数:
    • key – unicode
    • fallback – unicode
    返回类型:

    unicode

    Returns the configuration string for value 。返回 fallback if value 找不到。