---
name: "Gtk2::Rc"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Rc"
---

# Gtk2::Rc(3pm)

## NAME

Gtk2::Rc

## METHODS

### Gtk2::Rc-\>add\_default\_file ($filename)

- •

  `$filename` (localized file name)

### list = Gtk2::Rc-\>get\_default\_files

Returns the list of files that GTK+ will read at the end of Gtk2-\>init.

### Gtk2::Rc-\>set\_default\_files (file1, ...)

- •

  ... (list) of strings, the rc files to be parsed

- •

  `$file1` (localized file name)

Sets the list of files that GTK+ will read at the end of Gtk2-\>init.

### string = Gtk2::Rc-\>get\_im\_module\_file

### string = Gtk2::Rc-\>get\_im\_module\_path

### string = Gtk2::Rc-\>get\_module\_dir

### Gtk2::Rc-\>parse ($filename)

- •

  `$filename` (localized file name)

### Gtk2::Rc-\>parse\_string ($rc\_string)

- •

  `$rc_string` (string)

### boolean = Gtk2::Rc-\>reparse\_all

### boolean = Gtk2::Rc-\>reparse\_all\_for\_settings ($settings, $force\_load)

- •

  `$settings` (Gtk2::Settings)

- •

  `$force_load` (boolean)

### Gtk2::Rc-\>reset\_styles ($settings)

- •

  `$settings` (Gtk2::Settings)

Since: gtk+ 2.4

### style = Gtk2::Rc-\>get\_style\_by\_paths ($settings, $widget\_path, $class\_path, $package)

- •

  `$settings` (Gtk2::Settings)

- •

  `$widget_path` (string)

- •

  `$class_path` (string)

- •

  `$package` (string)

### style = Gtk2::Rc-\>get\_style ($widget)

- •

  `$widget` (Gtk2::Widget)

### string = Gtk2::Rc-\>get\_theme\_dir

## SEE ALSO

Gtk2

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gtk2 for a full notice.
