GtkTreeView title bar and scrolling

2008-05-23 Thread AlannY
Hi there, my name is Alan. I have confronted with one problem, but it's really hard to explain ;-( So, first of all, I recorded a video of my issue ;-) It's on youtube: http://ru.youtube.com/watch?v=kRalffawAa0 As you can see: I have two application (mine (first one on movie) and not mine). Bot

Re: Progressbar

2008-05-19 Thread AlannY
Sandra Derbring wrote: > I have a problem with a progressbar. I want, for every file I look into, > for the bar to show some progress, so that while you wait for the > program to finish, the whole time can see the bar moving. When I > implement it, all that happens is that the bar gets filled fi

Movement of columns in GtkTreeView

2008-05-19 Thread AlannY
Hi there, my name is Alan. Recently, I found that one of my favorite application (Banshee, media player, u no) has a weird functionality of GtkTreeView. I think that is that application *feature*, but I want to implement similar feature in my app. So, that is the feature? In my app, I have a G

Re: Popup Scrollbar Demo

2008-05-09 Thread AlannY
[EMAIL PROTECTED] wrote: > Hi! > > I slightly improved my Python-GTK script and now there's also a > moderated video. > > Feature request: > http://bugzilla.gnome.org/show_bug.cgi?id=530413 > > Python script: > http://bugzilla.gnome.org/attachment.cgi?id=110623&action=view > > Youtube: > http:/

Re: gtk_widget_size_allocate problem

2008-05-02 Thread AlannY
AlannY wrote: > Hi there, my name is Alan; The problem is solved ;-) Problem was in _realize() function ;-) ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

gtk_widget_size_allocate problem

2008-05-02 Thread AlannY
Hi there, my name is Alan; I'm writing a custom widget from GtkContainer class. It's a dummy widget, which simply holds any other widget ;-) Sources attached. In my _size_allocate() function I'm allocating size for some of widget with gtk_widget_size_allocate function. But nothing happens. So

Re: Creating new GObject

2008-04-30 Thread AlannY
Peter Clifton wrote: > The error message is giving you the hint you need.. > > The g_type system needs to be initialised before you can use it, add a > call to: > > g_type_init (); > > Before your point_new () call, and it should be a lot happier. > Thanks a lot ;-) It works ;-) __

Creating new GObject

2008-04-30 Thread AlannY
Hello. I'm writing an Object from GObject. But when running my dummy app prints errors and nothing happens ;-) Can someone look at my sources (they are dummy) and fix this problem (sources attached). It's a dummy Point (dot) class, nothing more ;-) Error messages: (process:8753): GLib-GObj

Re: How to put widget in CUSTOM GtkContainer

2008-04-29 Thread AlannY
Milosz Derezynski wrote: > I don't believe that using set_parent() will actually place the widget > inside the container; try gtk_container_add(GTK_CONTAINER(grid), > widget); instead I don't believe in it too ;-) So I decide to ask what to do ;-) gtk_container_add not works ;-)

Re: How to put widget in CUSTOM GtkContainer

2008-04-29 Thread AlannY
Tomas Carnecky wrote: > AlannY wrote: > That still isn't the whole code! What does grid_class_init() do? Attach > both the whole grid header and source file to the email. /* ** */ static void grid_class_init (GridClass *class) {

How to put widget in CUSTOM GtkContainer

2008-04-29 Thread AlannY
Hi there, my name is Alan and I have some troubles with GtkContainer. It's about 2 days, I already have spent trying to solve it, but I (i guess) can't. I'm writing a program, which looks like: +-+ | Main Window (GtkWindow) | | +-+ | | | My

GTK menu shortcuts

2007-09-23 Thread AlannY
How to use shortcuts in menus? (non ItemFactory). I hear, that it needs *gtk_menu_item_set_accel_group*, but there are no any documentation how to use that. Can someone give me a source example!? Please, or send me to the tutorial. Thank You. ___ gtk-l