Skip to content
This repository has been archived by the owner on Dec 5, 2018. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevicenzi committed Jul 4, 2014
1 parent 0bcd046 commit b0b7835
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ GladeBuilder [![Build Status](https://travis-ci.org/alexandrevicenzi/GladeBuilde
GladeBuilder is a simple Gtk Builder for Glade files.


Why is it cool?
-----------
## Why is it cool?


Well, all windows have a property called `w`, which allows you to access all widgets from your window easily.
Expand All @@ -19,9 +18,23 @@ But this isn't everything. There's a magic method called `show`, which allow you
A method called `get` to get all widgets content.

print(MyWindow.w.get())

>>> {'label1': 'Some Text', 'checkbutton1': True}

And also has a method called `clear` to reset the widget content.

MyWindow.w.clear()

## Why this?

Sometimes is painfull to use Gtk. So I added some cool functions to work with widgets. Doens't support all widgets yet.

## Want some examples?

Take a look at */examples*.

## Want to contribute?

Feel free to fork this repo and send me pull requests.

What I want to do is add more helper functions to use Gtk more easier. For example, create more functions to work with TreeView, Dialogs, Calendar or others in a good way.

0 comments on commit b0b7835

Please sign in to comment.