Gtk+ file dialog on Ben NanoNote

I have tried to use the gtk_widget_set_size_request function to make the dialog more compact. Fortunatelly, it works quite well, as you can see. At the moment I only have tried the old (probably deprecated) file dialog (I think that this one is better and more usefull than the new one).

Gtk+ file dialog on Ben NanoNote

The actual code is (as you may expect):


gtk_widget_set_size_request (dialog, 320, 240);

And that’s all.

Advertisements
Gtk+ file dialog on Ben NanoNote

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s