Awf: a widget factory, theme viewer for gtk2 and gtk3

Hi all,
I've started to play with gtk themes and I was trying to have a consistent theme between gtk2 & gtk3.
I currently own blue themes: https://aur.archlinux.org/packages.php?ID=50952 and https://aur.archlinux.org/packages.php?ID=47730 but they are incomplete and sometimes incorrect.
To be able to rework them I needed a theme viewer that share the same code between gtk2 and gtk3. I've found some upgrades of 'The widget factory' but I've not been able to find complete/correct tools so I decided to rewrite 'the widget factory'. I've named it 'A widget factory' simply because it really looks like 'The widget factory'.
Improvements compared to 'The widget factory':
- same code for both gtk2 and gtk3 (except for the obvious different widgets i.e. 'option menu' in gtk2 only and 'gtk switch' in gtk3 only)
- allow to choose system theme or user theme
- allow to refresh the current theme
- allow to start the equivalent theme viewer in the other gtk version
- some widgets have been added.
Here is the pkgbuild: https://aur.archlinux.org/packages.php?ID=54550
Any problems, please report.
Enjoy!
Last edited by dobedo (2011-12-04 21:10:37)

Thanks so much! I'm in the process of learning to theme GTK so this is very helpful. Exactly what I was looking for.

Similar Messages

  • GTK wiki - A way to set themes for GTK2 and GTK3 in XFCE

    Hi,
    I think I have something to add to the GTK page of the Arch wiki but I wanted to confirm if this works for others or if I just found an exception to the rule.  Anways, I was trying to figure out why some of my apps on XFCE were looking different than others and I came too the GTK page to find the section explaining that XFCE tries to use the same theme for both GTK 2 & 3 which causes errors if the theme you use isn't for both.
    Since I could not find a theme that I liked a lot that worked for both, I tried to manually fix the issue.  The way I did so was by simply making a new directory in the themes folder and copying all the files from the GTK 3 theme I liked and then replacing the gtk-2.0 folder with the folder of the theme for GTK2 that I liked.  This seems to be working flawlessly so I was wondering if I should add it to the wiki in the section that mentions the few themes that work for both GTK 2 & 3.
    I wasn't sure if the GTK wiki should have more XFCE specific information added or if this would be more appropriate in the XFCE wiki but I was thinking that since there is already mention of the problem and a potential solution on the GTK page, it might make sense to add it there.
    Can anyone confirm that this works for them as well or does anyone have objections to the addition to the GTK wiki?
    Last edited by boswbr25 (2012-05-28 21:47:14)

    I am not that familiar with this bug because I do not use xfce. But I would say adding it as a tip or similar on the xfce page would be the better place to put it as opposed to the gtk wiki.

  • How to get Coverflow view for pages and keynote?

    How do I  get Coverflow view for pages and keynote? Thanks.

    Coverflow works by clicking the  Coverflow view and then selecting the file. I've checked with Pages and Keynote both work perfectly. Perhaps you would post more info.

  • [Solved] GTK2 and GTK3 with different themes under XFCE4

    Is possible use different themes under XFCE4 ?
    when I wasn't using XFCE4 I set under ~/.gtkrc-2.0 and ~/.config/gtk-3.0/settings.ini but XFCE doesn't follow this.
    for example, GTK2 'GrayDay' and GTK3 'Uncomplicated-Orange'
    Last edited by hotvic (2013-08-03 11:08:09)

    Yes, it is possible.
    Use a symlink like this:
    /usr/share/themes/Uncomplicated-Orange/gtk-2.0 -> /usr/share/themes/GrayDay/gtk-2.0
    Then choose the GTK3 theme in the theme settings window.
    Using gtkrc-2.0 and gtk-3.0/settings.ini is no more needed with this solution.

  • HT201412 I cannot open the month of March 2013 in my iPad3 calendar. I can however see it in the year view for 2013 and I can view the daily and weekly calendars for March 2013. Any ideas what has gone wrong ? Thanks

    I have a new iPad3 and have found I cannot open the month of March 2013 when I tap on it. All other months open OK ! I can see March 2013 in the yearly view and I can open the individual days, and weeks, of March 2013 but I cannot see the whole month in the monthly view. When I try to open the monthly view for March 2013 it returns me to the start screen which shows all the apps etc and closes the Calendar app. Any guidance of what is going wrong and how it can be corrected. Thanks !

    Don't worry we have to start somewhere. Feel free to post your questions here, we learn from each other.

  • How do I use google street view for ipad and iPhone on ios 6 to 6.1.3?

    I don't think there are any other ways to find google street view of roads and places even If I surf on the Internet. Please help.

    To get StreetView on your iPhone, download the Google Maps app.

  • View for files and links

    Can we have a view to display all the files posted and all the links pasted on the chat window (Quick access). This would be specific to each group / individual. 

    You are not going to find an 'exact' match in our existing classes. The rednering HOWTO(http://otn.oracle.com/products/jdev/howtos/jsp/renderers.html) provides enough information for implementing your readonly lookup field. If you look at the first renderer in this document, it uses a static lookup list. You can easily use a secondary view object for your lookup values. Here is the code from that document:
    package myrenderers;
    import oracle.jdeveloper.html.ReadOnlyField;
    import oracle.jbo.Row;
    import oracle.jbo.AttributeDef;
    import java.util.StringTokenizer;
    public class ListFieldRenderer extends ReadOnlyField
    public ListFieldRenderer()
    public String renderToString(Row row)
    setValueFromRow(row);
    AttributeDef aDef = getAttributeDef();
    String sAttrValue = getValue();
    String sList = (String)aDef.getProperty("DISPLAY_LIST");
    if(sAttrValue != null && sList != null)
    StringTokenizer tokens = new StringTokenizer(sList, ",", false);
    while(tokens.hasMoreTokens())
    String sEntry = tokens.nextToken();
    String sValue = sEntry.substring(sEntry.indexOf('=') + 1);
    String sKey = sEntry.substring(0, sEntry.indexOf('='));
    if(sKey.equals(sAttrValue))
    return sValue;
    return super.renderToString(row);

  • Full Page view for PDF and TIF attachments

    Hello Can any one help please, I upgraded my software for my device and no longer have the options for "full page view" to see detailed PDF and TIF attachments. This is a big problem for me please help. Thanks in advance.
    Message Edited by pltcare on 07-24-2009 02:11 PM
    Message Edited by pltcare on 07-24-2009 02:12 PM

    BTW I just checked the new Tour for sprint has the same problem.

  • Exporting Newsletter (PDF) and viewing for Mac and PC Users?

    Hi,
    I am trying to create a monthly newsletter for my business that can be sent on mass to various clients. Using pages, I save it as a PDF and when sent to MAC mail users, it appears in their inbox as a full 'page newsletter'.
    PC users just get a pdf attatchment and no full page/email newsletter.
    Being new to this and guessing its a cross platform issue, is there a way to make the newsletter appear in full in either 'inbox' or do I hav to go down the htm route?
    Thanks:)
    Mike

    I second Sagesse.
    As far as I know, there is no problem with the PDF you are creating. Rather, the email client that a person uses to view your email.
    Mail.app on the Mac, for instance, shows images, PDFs, and other media inline with the rest of the message. Other clients, particularly web-based ones, often show media separate from the message as an attachment.
    Most companies and groups that send out newsletters via email do so with HTML and CSS, the same language as a normal web page. Pages no longer has the capability to export to HTML, but even if it did, the resulting files/code would likely look *a lot* different than you intended, due to the nature of a print document versus that of a web page.

  • Duplicate records in database view for ANLA and ANLC tables

    HI all,
    Can any one please suggest me how to remove duplicate records from ANLA and ANLC tables when creating a database view.
    thanks in advance,
    ben.

    Hi,
    Suppose we have two tables one with one field and another with two fields:
    TAB1 - Key field KEY1
    TAB2 - Key fields KEY1 & Key 2.
    No if we create a Database view of these two tables we can do by joining these two tables on Key field KEY1.
    Now if in View tab we have inculded TAB1- Key1.
    Now lets suppose following four entries are in table TAB1: (AAA), (BBB), (CCC).
    and following entries are in table TAB2: (AAA, 1), (AAA, 2),  (BBB, 3), (BBB, 5), (DDD, 3).
    The data base view will show following entries:
    AAA,
    AAA,
    BBB,
    BBB,
    Now these entris are duplicate in the output.
    This is because TAB2 has multilple entries for same key value of TAB1.
    Now if we want to remove multiple entries from ouput - we need to include an entry in selection conditions like TAB2-KEY2 = '1'.
    Regards,
    Pranav.

  • Merits and Demerits  in MM  Point of view for single and multiple CoCo

    Hello Gurus
    Please  let me know  , if what are all the merits & Demerits if we are going for Single company code in case of MM point of View and also what are all the merits and Demerits if we are going for multiple company code ....
    Rgds
    SAP!23

    Hi
    The number of company codes to be created is solely dependent on the business & legal entity's existing.
    There are no merits & demerits whcih decide the number of compny codes to be created....
    Thanks & Regards
    Kishore

  • Split view for before and after changes?

    One feature I used to use a lot on Lightroom as where it would show a split view showing the image before and after changes (adjustments). I cannot find how to do this in Aperture - is it possible, what is this feature called?
    (and before any smart person tells me to look in help, I'm tired of responses like that. I've looked and didn't find, and that's why I'm asking here. I've tried Compare, and Before and After Changes etc.)

    Unfortunately, no, there is no ability to do the split view like Lightroom has. It's a nice feature.
    The closest you can do is to flip back and forth between two versions. Because when you view the master in aperture it shows the original file without crops and straightening, I suggest that once you crop and straighten, you then create a new version and work on that (this is as close as you can get to LR's "snapshot" functionality). You can then flip back and forth between the two versions to see the changes... but you can't see them side by side with a split.

  • My ipod touch 4th generation will not turn on and i dont know why. It just wont turn on at all. I try to press all of the buttons and hold them down for awhile and it still wont turn on. This all happened after i sent a video that was 1 minute long. HELP!

    Im having issues! Its terrible. I press and hold the buttons.....it wont turn on. i need help because i dont want it to crash and lose all of my information on this ipod. I NEED HELP! WHATEVER ADVICE YOU HAVE WILL BE HELPFUL!

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • ArchWiki Viewer for Android

    This is something I mentioned a while back and I finally put it together.
    The application is very simple. Basically it grabs pages from the wiki online, then replaces the css with my own, which is used to hide parts of the page that are not essential to the content. The result is a clutter free viewer for reading and searching the contents of our beloved ArchWiki. It is a dedicated reader as the full function of the wiki (editing, viewing changes, etc) can still be accessed through the standard Android browser. For the time being, it's (mostly) English only. However, I haven't figured out how to filter other languages out of the search results.
    This is my first Android application and I intend to update it based on feedback, so expect frequent updates for the time being. If you have any input, please leave it in this thread or email me at the address listed in the Play store.
    The source is available on my github.
    Link to Google Play.

    ZekeSulastin wrote:
    A couple things:
    1) The title bar is HUGE on a Galaxy Nexus (as is the font, comparatively - you can zoom in but not out)
    2) Dark CSS theme please
    Very nice app otherwise.  (I'll test it on my old LG Ally if I can find the thing ...)
    I'll look into the title bar. It should scale to the screen size, but I can see how it might be too big on smaller screens. (Most of my testing is done on Nexus 7.)
    Not allowing it to zoom out further was intentional. I don't think it would be readable if the text was any smaller. Please tell me if you feel differently.
    Dark css might be something that I look into down the road, but for now I want to focus on making the core functions work before I add any "unnecessary" complexity.
    prazzb wrote:Why isn't page formatted to the screen...... much of the page on the right side is blank...why is it so
    99% of the page content will be formatted to the screen size. Most pages don't have the white space on the side. The ones that do, for example the Beginner's Guide, have a portion of text formatted as "code" which never wraps the text by design. I'll play with the css to see if I can force it to wrap in a way that makes it clear that it's a continuation of the previous line. I'm not sure if it's possible though.
    EDIT: Dumb. Of course this is possible.
    Thanks for the compliments guys. If you like the app, please don't be afraid to leave a rating in the Play store
    Last edited by ioos (2012-10-30 19:33:09)

  • Zero view for adj

    hi everybody....
    What is the exact use of "zero view for nonadj" and "Zero view for Adj" attributes in scenario dimension. When we should select periodic or ytd options for these attributes. Actually my data is in "YTD" values and period dimension is apr - mar
    as per admin guide these attributes interprete missing zero values. So could you plz explain regarding these attributes..
    Thanks & regards
    Nivas...

    First of all, the attribute applies only to flow accounts (revenue, expense, and flow). The setting tells HFM how to interpret missing values. For the vast majority of HFM applications, Actual data is loaded YTD. For performance reasons we do not want to load zeros, and so we suppress them in the data load process. If a cell had a value last month, and there is no value in the current month, a setting of "YTD" tells HFM that the missing value should be interpreted as YTD zero. In order to accomplish this, HFM will derive a negative value on a Periodic basis, in order to arrive at a YTD zero.
    The same holds true for data coming from journals. If you post a journal to an intersection in one period, and do not post any journals to the same intersection in the next period, the ZeroViewForAdjs setting "YTD" tells HFM to derive a negative number in the adjustment node to arrive at a YTD zero for the intersection. This is the main reason why most HFM users don't need reversing entries -- HFM will reverse the vast majority of adjustments based on this setting.
    When either is set to Periodic, the situation is very different. HFM will intepret the missing data as a Periodic zero, and on a YTD basis it will simply carry forward the previous period's YTD amount. This is most common for Periodic scenarios such as Budget or Forecast.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Problem with transfer and ordering of tracks on new Zen Nano P

    I recieved my Gb Zen Nano Plus player on wednesday and transferred quite a few tracks to the player that night. They transferred fine, I was able to customize the playing order and all the songs play fine. But since then, I have been unable to transf

  • F1 help in webdynpro for java

    Hello Exports, I wish to implement F1 help for fields on webdynpro page. Is this possible in webdynpro for Java? Any kind of reference in this regard will be useful. Best regards, Nakul

  • Crystal Report export to PDF cause high Heap usage ?

    Hi all, As part of our reporting integrated with our JSF/JSP application, Crystal report is converted to PDF then sent to browser for user to display. mean while during peak load our Heap usage could reach 3.5GB - 4GB. So I am suspecting the unclosed

  • Jsp tags  dragdrop and activemenus in the portal

    what does these tags do? I could not find any documentation for these tags?

  • Can I use iPhone 3G in Armenia?

    Hello I have a question related with standards (GSM 900, GSM 1800), what standard is supported by iPhone 3G? Can I buy it via internet (if yes please give an address) and can Apple send it to Armenia? Also does I need to do something to get work in A