Gnome pixmap file




















A pointer to GtkPathPriorityType variable in which to store the result. This function is not useful for applications and should not be used. Looks up a file in pixmap path for the specified GtkSettings. Scanner used to get line number information for the warning message, or NULL. Obtains the path in which to look for IM modules. Obtains the path to the IM modules file. Returns the standard directory in which themes should be installed.

Creates a new GtkRcStyle with no fields set and a reference count of 1. Makes a copy of the specified GtkRcStyle. The GtkRcStyle is used to represent a set of information about the appearance of a widget. GdkColor fg [5];. GdkColor bg [5];. GdkColor text [5];. GdkColor base [5];. GtkRcTokenType has been deprecated since version 3. It is exposed so that theme engines can reuse these tokens when parsing the theme-engine specific portions of a RC file. GtkPathPriorityType has been deprecated since version 3.

Priorities for path lookups. GtkPathType has been deprecated since version 3. Widget path types. Go to page content Go to main menu Go to the search field. About Users Administrators Developers. Top Description Object Hierarchy. Resource Files Resource Files — Deprecated routines for handling resource files.

Pathnames and Patterns A resource file defines a number of styles and key bindings and attaches them to particular widgets. As an example of such a statement: 1 widget "mywindow. GtkEntry" style "my-entry-class". GtkLabel" style "my-style". Optimizing RC Style Matches Everytime a widget is created and added to the layout hierarchy of a GtkWindow "anchored" to be exact , a list of matching RC styles out of all RC styles read in so far is composed.

The following ordered list provides a number of advices prioritized by effectiveness to reduce the performance overhead associated with RC style matches: Move RC styles for specific applications into RC files dedicated to those applications and parse application specific RC files only from applications that are affected by them.

Toplevel Declarations An RC file is a text file which is composed of a sequence of declarations. The following expressions are currently supported: mix factor, color1, color2 Computes a new color by mixing color1 and color2.

Key bindings Key bindings allow the user to specify actions to be taken on particular key presses. Parameters widget a GtkWidget. Returns the resulting style. Returns A style created by matching with the supplied paths, or NULL if nothing matching was specified and the default style should be used. Parameters filename the filename of a file to parse. Returns TRUE if the files were reread. Parameters settings a GtkSettings. Parameters filename the pathname to the file.

Parameters scanner a GScanner color a pointer to a GdkColor in which to store the result. Returns the filename. Returns the directory. Returns a newly-allocated string containing the path in which to look for IM modules. Can I use the "pixmap" engine in GTK3 ". CSS" files? If so, how? I made a theme that I was pretty happy with, but was for a gnome 2 desktop. It used the pixmap engine to call on images saved in a folder to make buttons and text boxes.

These images would be to hard for me to write out into a. CSS file. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Similar to shadow, but used whenever a gap is needed. Similar to box, but used whenever a gap is needed. This may be different than the "real" state in some cases eg. Used for frames, but also for example for the check and radio button indicator state.

This is the side that the gap is on, so for the extension it is where the notebook is, and for the notebook where the tab is. The semi states are in-between states for a basic animation. This is a placeholder until I know more about this. This is a lot of stuff that isn't obvious from looking at the resource file API so here's what I know.

The 'engine "pixmap"' bit says to use the theme engine named "pixmap" to draw widgets of this style. An engine is a kind of module that Gnome can load to do theme drawing.



0コメント

  • 1000 / 1000