enum Gtk::IconSize


Built-in icon sizes.

Icon sizes default to being inherited. Where they cannot be inherited, text size is the default.

All widgets which use Gtk::IconSize set the normal-icons or large-icons style classes correspondingly, and let themes determine the actual size to be used with the -gtk-icon-size CSS property.

Defined in:


Enum Members

Inherit = 0_u32

Keep the size of the parent element

Normal = 1_u32

Size similar to text size

Large = 2_u32

Large size, for example in an icon view

Class Method Summary

Instance Method Summary

Class methods inherited from struct Enum

g_type : UInt64 g_type

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.

[View source]

Instance Method Detail

def inherit? #

[View source]
def large? #

[View source]
def normal? #

[View source]