Search:

Type: Posts; User: steeleyuk; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    537

    Re: GTK# Table alignment question?

    Your table size is set to 1x1 so essentially you can only have one widget in the table.


    Table t = new Table(1,1, true);

    If you change the numbers to 2, 2, you have a 2x2 table. 3, 2 creates a...
  2. [SOLVED] Re: [pygtk] Need help with pixbuf's in treeview

    Quick example (change image file names as appropriate):


    #!/usr/bin/env python

    import gtk

    window = gtk.Window()

    liststore = gtk.ListStore(gtk.gdk.Pixbuf)
  3. Replies
    2
    Views
    381

    Re: python-gobject-doc missing?

    From what I can tell, the docs are installed along with the python-gobject package.
  4. Re: Privacy-Protecting Search Engine Challenges Google

    It does if you specify https://
  5. Re: Pygtk change the default button when a Message Dialog is called

    You just need to add...


    dialog.set_default_response(gtk.RESPONSE_YES)

    ...before dialog.run() is called.
  6. Replies
    11
    Views
    1,384

    Re: Python - My first GUI App, feedback please

    2.16 doesn't have the .set_visible method, though I don't think you need it anyway.
  7. Replies
    12
    Views
    2,493

    [SOLVED] Re: Pythons cluttergst module

    I think I've cracked it. I downloaded the version from the git repository with the command (sudo apt-get install git-core if you don't have git installed):


    git clone...
  8. Replies
    12
    Views
    2,493

    [SOLVED] Re: Pythons cluttergst module

    I've had a good look around, and you're right, there is a cluttergst module. However it doesn't look like there is a deb for the latest version anywhere. Its not in the Karmic or Lucid repo's either...
  9. Replies
    12
    Views
    2,493

    [SOLVED] Re: Pythons cluttergst module

    This is a small sample of code to get the box to display, with some slight modifications to make it work better.


    #!/usr/bin/env python

    # Import clutter module
    import clutter
    ...
  10. Replies
    5
    Views
    1,738

    [SOLVED] Re: make gtk.Notebook behave like Firefox

    OK, here's a probably really rough version of Ctrl+Tabbing through Notebook tabs. I stole/borrowed the event code from Marco Islas.

    It seems to work fine. This most likely isn't the best way to do...
  11. Replies
    5
    Views
    1,738

    [SOLVED] Re: make gtk.Notebook behave like Firefox

    You'll need to write your own method to increment the page number when CTRL+Tab is detected.

    It shouldn't be very difficult. You could use an Eventbox to catch the CTRL+Tab key combination, and...
  12. [SOLVED] Re: [pygame.mixer] Not playing sound apart from in IDLE

    I got it to work by adding a while loop.


    #!usr/bin/python

    import pygame.mixer

    pygame.mixer.pre_init(44100, 16, 2, 4096)
    pygame.mixer.init()
  13. Replies
    8
    Views
    4,234

    Re: Python: how to best play sound files

    I'd just use gstreamer and its Python bindings, as it supports Windows.

    It'll also play almost anything you throw at it, assuming you have the correct codecs installed.
  14. Replies
    3
    Views
    682

    Re: GTK list widget

    gtk.IconView is the one used to select images in the GNOME appearance properties dialog.
  15. Replies
    4
    Views
    1,211

    Re: Cascading menus in GTK

    You just use a normal MenuItem widget, and then use set_submenu() to attach another Menu widget to the MenuItem.

    Note: I don't know the exact code in Vala, coming from a PyGTK perspective.
    ...
  16. Replies
    15
    Views
    683

    Re: PCLinuxos.com Website Help

    The PCLOS website isn't working for me as well. My ISP is Be. Possibly a connection issue for Be/o2 customers since they're essentially the same company.
  17. Re: Dynamically add widgets to glade interfaces

    You can easily use a combination of both. Create the containers and such in the Glade file, then add the dynamic elements in using code.
  18. Replies
    30
    Views
    1,832

    Re: Use Open Source? Then You're a Pirate!

    The organisation making up this rubbish is an umbrella group covering...



    So I wouldn't be surprised if some of the "unfriendly" tech companies are involved with this.
  19. Re: [Gtkmm] How to add blank space of fixed width

    You could use a GTK Alignment widget. That allows individual padding values for top, left, right, bottom.
  20. Replies
    4
    Views
    320

    Re: I am extremely anit-social networking!

    For anybody that doesn't know...

    http://imgur.com/2JdxL.png

    It should be more visible though, I only found out today about where to turn it off.
  21. Replies
    7
    Views
    1,053

    Poll: Re: Totem volume control bar

    Not one of those examples you posted are native GTK+ applications. Quite a few GTK+ programs use a Volume Button (Rhythmbox, Banshee, Listen, etc.). Therefore it stays consistent.

    I've never...
  22. Replies
    4
    Views
    810

    Re: interfacing pygame with glade

    This page gives reasons why you really don't want to attempt using PyGame and GTK.
  23. Replies
    2
    Views
    6,047

    Re: Create a button in python

    #!/usr/bin/python
    import gtk
    import pygtk

    window = gtk.Window()
    window.set_title("My Program")
    button = gtk.Button("Button text here")
    window.add(button)
    window.show_all()
  24. [SOLVED] Re: [ Python ] Need help with print - invalid syntax.

    Python 3 Print() Function

    You can also use the brackets in 2.x without any problems, which is good for forward-compatibility in that respect.
  25. Thread: Abandonware

    by steeleyuk
    Replies
    22
    Views
    2,636

    Re: Abandonware

    Rockstar Games are good for this. You can download GTA 1 and 2 for Windows, free of charge from their website after filling in a few details.

    I vaguely remember a story of someone contacting SEGA...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4