Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How does one use gnome native elements? For example empathy can:

  • Create pop-ups with text-boxes and pictures.
  • Right clicking on the top-left icon produces a menu.
  • The system tray
    • The system tray icon also has a "gnome-type?" pop-up when left clicked which looks and acts better then other apps with system tray icons.

Is there a tool kit or something? I am particularity interested in python bindings but any info is helpful. It may without saying but this is Gnome 3.

EDIT: These features can be found in most gnome apps, not just empathy.

Here's a decent example.

Thanks in advance.

share|improve this question
    
I never used Empathy, but since it's a Gnome app, it'll use GTK as toolkit. You examples sound really specific, so they will create very specific, custom widgets. Check out their sourcecode for more information. –  Timo Apr 25 '13 at 18:49
    
@Timo sorry to make the examples so specific, there are only a few things that do this fully. Pithos is a good example of notifications since it expands, shows pictures, does stuff on left click, ect. Network errors in the system tray have nice left-click pop-ups. –  Aaron Schif Apr 25 '13 at 19:21
add comment

1 Answer 1

up vote 0 down vote accepted

In particular, Gnome3 is written with GTK+3. You can find a general tutorial on using GTK+ 3 with Python. Also take a look specifically on GNOME Developer Center. In particular you may be interested in the Python Bindings.

For further, more specific programming questions, I recommend using Stack Overflow as a resource for asking questions, a sister site to AskUbuntu.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.