Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 722659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:00:57+00:00 2026-05-14T06:00:57+00:00

I trying to set separate style for particular widgets, like for one button with

  • 0

I trying to set separate style for particular widgets, like for one button with different style and another one with other style. this style will be specified in gtkrc file. I tried following stuff but it did not work.

In gtkrc file:
    style "my-style" 
    {
         engine "pixmap"
         {
              ...
         }
         ...
    }
    class "my_widget" style "my-style"

And while creating widget i have given the widget name specified in gtkrc file.

In code:

       button = gtk_button_new();
       gtk_widget_set_name( button, "my_widget");
       gtk_widget_show( button );

but this stuff is not working out i am not able to see given style to that particular widget. Is this a right way of doing this? what is worn in it?

Thanks,
PP.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:00:57+00:00Added an answer on May 14, 2026 at 6:00 am

    No, it is not right: you must read the documentation, particulary the Pathnames and patterns section.

    It is not an option if you plan to use resource files seriously…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to set it so if a certain condition is met then one of
I'm trying to set a gem repository on one of our local servers. Here
When sending an html email, i'm trying to set a double border to separate
This is sort of two coding style questions in one. I have a tab-dl'd
My roommate and I each have a separate webserver we are trying to set
When trying to set Context attributes like so: void init() { String testing =
I'm trying to set the div height of the separate parent columns (and their
I'm trying to use Javascript in an OO style, and one method needs to
We are trying to read information from a separate XML document. This is the
Im trying set the single table inheritance model type in a form. So i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.