Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Example of STYLE_CLASS_* constants #305

Open
kornelski opened this issue Apr 19, 2020 · 0 comments
Open

Example of STYLE_CLASS_* constants #305

kornelski opened this issue Apr 19, 2020 · 0 comments

Comments

@kornelski
Copy link

gtk has constants for STYLE_CLASS_*, e.g.

https://gtk-rs.org/docs/gtk/struct.STYLE_CLASS_TITLE.html

but:

  • There's no documentation for them at all in rustdoc docs
  • I don't see a way to see how they look
  • There's no example code for them

For example, I need to different styles of labels for keys and values in my UI, but I don't know how to achieve that.

GTK says:

https://developer.gnome.org/gtk3/stable/GtkLabel.html

A wide variety of style classes may be applied to labels, such as .title, .subtitle, .dim-label, etc.

but that doesn't mean anything to me, because I don't know where I'm supposed to put .dim-label from Rust.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant